I have a sample of two different tables, i want to make a single formula using the vlookup function. please check my formula on the red cell if how to make it work.. thanks
I have a sample of two different tables, i want to make a single formula using the vlookup function. please check my formula on the red cell if how to make it work.. thanks
Last edited by macky1730; 03-09-2010 at 09:30 AM.
Try:
=VLOOKUP(A10,IF(ISNUMBER(MATCH(A10,A1:A8,0)),Group1,Group2),2,0)
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
I suspect this is a much simplified version of your requirements but perhaps simply:
B10: =IFERROR(VLOOKUP(A10,Group1,2,0),VLOOKUP(A10,Group2,2,0))
Last edited by DonkeyOte; 03-09-2010 at 09:27 AM. Reason: changed to Names from Ranges
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
thanks NBVC and DonkeyOte.. two different versions are nice
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks