简体   繁体   中英

Excel Formula to Search keyword in a column and return its row number

I am trying to have excel formula and I don't want to use macro code here. I want to type in a word in column E4 and I should have a formula in E6 that will search for that word in the entire column A and return the row number.

For example I type "Grapes" Should give me answer of 4

here is my formula and I am not sure why it is not working, it is working with Grapes but for others it is not

Here is my formula: =MATCH(E4,A:A,1)

Use Wildcards ( * ) and look for exact instead of relative:

=MATCH("*"&E4&"*",A:A,0)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM