Search for specific value in

au2010

New Member
Joined
Jun 7, 2012
Messages
34
Hello. I have some data organized as shown below. Column E represents invoice numbers that have been paid by clients.

What I'm trying to do is check whether or not a given invoice number appears in Column E. If each row in Column E contained only one invoice number, I could do this using =match(Invoice #, Column E,0).

However, the cells in Column E sometimes contain more than one invoice number (such as in cell E2, as highlighted below).

Any suggestions on how to use an Excel formula (or formulas) to check whether or not a specific invoice appears in Column E?

Thank you.

1729717806768.png
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
From original poster: Sorry, title for this post should have been "Search for Specific Value in a Column with mixed data types."

 
Upvote 0
How about
Excel Formula:
=COUNTIFS(E:E,"*"&G2&"*")
where G2 holds the invoice number.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top