Excel - Check a specific value within a range

Issue

I need a formula that can check a specific value in a range of values and show the cell location for each time the value is find

Suppose Serial No is in column A1 to A20, and data range is in B1 to B20.

Solution

There are many ways of doing it

Highlight B1 t0 B20

Edit -find(or control +F).

Against find what type

40

And click findall

you will get below find dialog box

B2,B5,Bo

that means serial nos. are 2,5,9

Another way: In C1 or in any empty cell in that row 1 type this formula:

=IF(B1=40,A1,"")

Copy C1 down up to C20 and see what happens.

Note

Thanks to venkat1926 for this tip on the forum.

Spread the love

Leave a Comment