比较2个不同的excel文件 [英] Comparing 2 different excel files

查看:92
本文介绍了比较2个不同的excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何比较具有不同结构的2个excel文件?哪个更好地解决了这个问题,使用C#或SQL Server 2008 R2。谢谢。

How to compare 2 excel files that have different structure? Which one better to solve this problem, using C# or SQL Server 2008 R2. Thank-you.

推荐答案

check 比较两个excel表中的数据,使用visual C#


对于你的问题,C#是比SQL更好的选择。

由于比较通常会告诉您2个工作表是否相同,您必须定义您期望的差异。



对于Excel工作表比较,我通常在Excel中使用VBA宏,结果是映射差异的另一个工作表。
C# is a better option than SQL for your question.
Since comparison usually tells you if 2 worksheets are the same or not, you must define what kind of differences you expect.

For Excel sheets comparison, I usually do in Excel with a VBA macro, the result being another sheet mapping the differences.


只需在excel中使用vlookup公式或在MSSQL服务器预制件连接中导入它。
simply use vlookup formula in excel or import it in MSSQL server preform join.


这篇关于比较2个不同的excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆