Lookup Help!!

cdoc83

New Member
Joined
Oct 1, 2012
Messages
4
Hi all, I really hope you can help. I have the following spreadsheet that I wish to look up specific values.
</pre>
The raw data is below. For example I want to look up 1.5 Hs and 60deg Direction and return the value for X, Y and Z. Cheers in advance for any help.
</pre>
[TABLE="width: 1427"]
<colgroup><col><col><col span="8"><col><col span="30"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]Stern Seas[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]Port Seas[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]Bow Seas[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]Starboard Seas[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Direction[/TD]
[TD][/TD]
[TD="colspan: 3"]0[/TD]
[TD="colspan: 3"]30[/TD]
[TD="colspan: 3"]60[/TD]
[TD="colspan: 3"]90[/TD]
[TD="colspan: 3"]120[/TD]
[TD="colspan: 3"]150[/TD]
[TD="colspan: 3"]180[/TD]
[TD="colspan: 3"]210[/TD]
[TD="colspan: 3"]240[/TD]
[TD="colspan: 3"]270[/TD]
[TD="colspan: 3"]300[/TD]
[TD="colspan: 3"]330[/TD]
[TD="colspan: 3"]All[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[TD]Y[/TD]
[TD]Z[/TD]
[TD]X[/TD]
[TD]Y[/TD]
[TD]Z[/TD]
[TD]X[/TD]
[TD]Y[/TD]
[TD]Z[/TD]
[TD]X[/TD]
[TD]Y[/TD]
[TD]Z[/TD]
[TD]X[/TD]
[TD]Y[/TD]
[TD]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]
[TD]0.10[/TD]
[TD]0.00[/TD]
[TD]1.28[/TD]
[TD]0.12[/TD]
[TD]0.54[/TD]
[TD]1.32[/TD]
[TD]0.17[/TD]
[TD]0.85[/TD]
[TD]1.49[/TD]
[TD]0.04[/TD]
[TD]0.96[/TD]
[TD]1.94[/TD]
[TD]0.21[/TD]
[TD]0.89[/TD]
[TD]1.51[/TD]
[TD]0.14[/TD]
[TD]0.56[/TD]
[TD]1.31[/TD]
[TD]0.12[/TD]
[TD]0.00[/TD]
[TD]1.31[/TD]
[TD]0.14[/TD]
[TD]0.44[/TD]
[TD]1.32[/TD]
[TD]0.21[/TD]
[TD]0.71[/TD]
[TD]1.47[/TD]
[TD]0.04[/TD]
[TD]0.72[/TD]
[TD]1.94[/TD]
[TD]0.17[/TD]
[TD]0.60[/TD]
[TD]1.44[/TD]
[TD]0.11[/TD]
[TD]0.37[/TD]
[TD]1.28[/TD]
[TD]0.21[/TD]
[TD]0.96[/TD]
[TD]1.94[/TD]
[/TR]
</tbody>[/TABLE]
</pre>
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
It can be done using Index, Match nesting. Can you share the column name , row number from where you data starts ?


Regards,
DILIPandey
 
Upvote 0
It can be done using Index, Match nesting. Can you share the column name , row number from where you data starts ?


Regards,
DILIPandey

Hi thank you for your reply.

The cell references are as follows - 0.5 is in cell C7, 1 is in cell C8 and so on.

I have tried to attach the sheet but not sure how to do it.

Thanks again.
 
Upvote 0
Okay.. use below formula:-

=INDEX($C$5:$AP$17,MATCH($C$21,$C$5:$C$17,0),MATCH($D$21,$C$4:$AP$4,0)+COLUMN(A$1)-1)


Regards,
DILIPandey
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top