How can I tell the vlookup, if the vlook up ISNA give me "0", if is = to cell"A1" give me YES else NO (as per sheet1)
I would like to see in
cell B 2 -4 yes
cell B3 no.
How can I tell the vlookup, if the vlook up ISNA give me "0", if is = to cell"A1" give me YES else NO (as per sheet1)
I would like to see in
cell B 2 -4 yes
cell B3 no.
I think we need to see what you're talking about!!
Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).
1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.
2. Make sure that your desired solution is also shown (mock up the results manually).
3. Make sure that all confidential information is removed first!!
4. Try to avoid using merged cells. They cause lots of problems!
Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
I agree with Glenn that we need to see some sample data, but see if this will get you started...
=iferror(if(vlookup(cell,lookup-range,column,0)=A1,"Yes","no"),0)
(untested)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks