Hi,
I need help and advise on how I can reference to two values using vlookup?
I have attached the example.
I need to reference from two lookup values. First is the date, next is the parameter depending if it is 2400, 0600, 1200 or 1800. The matching return value should be from column "swell height /dir"
Example 1:
Date Look up value is 28-Apr-10 and Parameter is 0600H. The return value should be 3.
Example 2:
Date Look up value is 29-Apr-10 and Parameter is 1800H. The return value should be ddd.
Last edited by Vans1128; 05-14-2010 at 12:19 AM.
Please attach a workbook. JPG's cannot be copied into Excel as data.
---
Ben Van Johnson
Hi ProtonLeah,
Okays. I have attached the workbook.
You need to fill the dates into each row, no blanks. Then you can use somthing like this:
=INDEX(E:E,MATCH(H1&H2,INDEX(A:A&B:B,0),0))
where H1 has the lookup date and H2 has the lookup Parameter
Thank you teylyn! It works.
I now have two sheets. The summary sheet where the formula is applied to 20 different cells.
And the second sheet, acting like a database, where the cells reference all of its values from. Somehow everything started to lag. Is it normal? or is there a more efficient manner to go about this?
post a sample file with your data structure and a few dozen rows of dummy data.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks