Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/string/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
String 将匹配与连接一起使用_String_Excel_Excel Formula_Match - Fatal编程技术网

String 将匹配与连接一起使用

String 将匹配与连接一起使用,string,excel,excel-formula,match,String,Excel,Excel Formula,Match,我使用以下公式匹配两列中的值: =MATCH(C2,"000"&'Diversity Reports_12312013.xlsx'!snapshot[PERSONNEL_NUM],0) 但它不起作用 如何匹配另一列,但将该列中的值左移三个零?根据操作: @巴里胡迪尼,你的+0成功了,谢谢 @“把戏”是: RIGHT(C2,LEN(C2)-3)+0 其中+0转换为一个数字。为什么不像这样从C2中删除000=MATCHRightC2,Lenc2-3,…?出于某种原因,如果我

我使用以下公式匹配两列中的值:

=MATCH(C2,"000"&'Diversity Reports_12312013.xlsx'!snapshot[PERSONNEL_NUM],0)    
但它不起作用

如何匹配另一列,但将该列中的值左移三个零?

根据操作:

@巴里胡迪尼,你的+0成功了,谢谢

@“把戏”是:

 RIGHT(C2,LEN(C2)-3)+0  

其中+0转换为一个数字。

为什么不像这样从C2中删除000=MATCHRightC2,Lenc2-3,…?出于某种原因,如果我使用right func。。。但是,如果我只复制并粘贴右func后面的值,那么它会工作。。。想知道单元格的格式是否有问题吗?尝试在任何空单元格中添加公式=RightC2,Lenc2-3,比如D1,然后使用=MATCHD1,。。。。D1是否包含正确的值?如果它仍然不起作用,请尝试评估您的初始公式=matchC2000&“多样性报告”\u 12312013.xlsx!snapshot[Personal_NUM],0按CTRL+SHIFT+ENTER键,而不仅仅是ENTERRIGHT函数始终返回一个文本值,因此假设数据是数字,请尝试使用其中一个作为查找值-RIGHTC2,LENC2-3+0或更短的值=REPLACEC2,1,3,+0-将+0转换为数字