如何导入Excel文件并计算特定字符串的出现次数 [英] How to import excel file and count no.of occurences of a particular string

查看:85
本文介绍了如何导入Excel文件并计算特定字符串的出现次数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个Windows应用程序,其中我们将一个excel文件作为输入....该文件包含详细信息....说有5行row1包含A,B,C,D作为条目(改写) ....另一行说row2有X,Y,Z ....我必须为所有A的出现找到X的编号... n等等..... ny1可以帮忙... ima较新plz


在此先感谢

i have 2 make a windows application in which we take a excel file as input ....the file contains details ....say there are 5 rows row1 contains A,B,C,D as entries(reapted) ....another row say row2 has X,Y,Z ....i have to find no.of X for all occurences of A...n so on.....can ny1 help...i m a fresher plz


thanks in advance

推荐答案

row.Cells["OtherValueThatYouNeed"];


这篇关于如何导入Excel文件并计算特定字符串的出现次数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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