Hi
Very new to this but in real need of help using excel 2003.
I am trying to compare 2 worksheets and find matching data then pick another set of data from a different cell...example
worksheet1
a b c d
1 north 7958 steve
worksheet2
a b c d e f g
steve 6 red green 7958 brian 1000
=lookup(c3,worksheet2!$e$3:$e562,worksheet2!$g$3:$g562) I have got this formula that works ok if I am searching one line of data and comparing to another, but when I try it on worksheets that both contain hundreds of lines it doesnt work. it seem to pick the nearest piece of data to it, but I want it to show nothing if nothing is matched.
You can see I am trying to match the number 7958 that is present on both worksheets and when it matches I want to display the figure on the same line in column g. So the display answer should be 1000.
please help![]()
Try:
=if(isna(vlookup(c3,worksheet2!$e$3:$g562,3,0)),"",vlookup(c3,worksheet2!$e$3:$g562,3,0))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Whose the man......WHOSE DA MAN !!!!
Your a star dude. Thanks
![]()
![]()
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks