Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Lookup/Find/Search Function

$
0
0
Hi All,

I'm sure this may have been asked before but I would like some help if possible. I've got the following dataset:



I tried to use the VLookUp Function in the following way: =VLookUp(B2,$A$596:$B$851,1,FALSE) however it isn't working in the desired way. Column F can be ignored for the time being.

I need to search for the Customer Number in ColumnA to see if it Appears in the Account Number in ColumnB. If it doesn't appear then an #N/A or #REF! or whatever will appear however if there is a match it will show the relevant code.

I.e. in Column D2 It would show 24/7, in D3 it would show #N/A or #REF!, in D4 it would show #N/A or #REF!, in D5 it would show Wind and so on and so forth. Is anyone able to help with this?

Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>