Chase,
There are many "lookup" functions in Excel, LOOKUP is one of them. I believe Riichard's suggestion was about doing a lookup, not about using the LOOKUP function in particular.
In fact, you can use the VLOOKUP function for your problem.
On the "figures" sheet do the following:
Select all the cells where you have "model codes" (except the column heading), name the selected range MCODES via the Name Box on the Formula Bar.
Select all cells where you have "model codes", "model names", and "trim levels" and name the selected range MODELS via the Name Box.
On Sheet1
in I9 enter: =IF(LEN(H9)>0,IF(ISNUMBER(MATCH(H9,MCODES,0)),VLOOKUP(H9,MODELS,2,0),""),"")
in J9 enter: =IF(LEN(I9)>0,VLOOKUP(H9,MODELS,3,0),"")
Aladin
=========
It sounds like you might not be using the last argument in the VLookup function:
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
range_lookup must be False if the first column of the table_array is not sorted.
It sounds like you might not be using the last argument in the VLookup function:
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
range_lookup must be False if the first column of the table_array is not sorted.
Holy cow,
Not sure how the whole thing worked - I can kinda piece some together, but it does. Hot diggity.
!!
Thanks!!!
Thanks John.
I got it working with Aladin's method, however I'm going to try to make sure it's sorted - just to see if that does it or not. Can never learn enough.
Thank you!
Chase