Here's a crack at it, Mike ..
See sample construct at:
http://cjoint.com/?lsiNEDFvMY
LookUpValuesWithin_a_Range_Mike_wks.xls
With Sheet2 reconfigured as shown in the sample, essentially:
B2:B15 housing the tier limits for "4" days,
D2:D15 housing the tier limits for "5" days
In Sheet1
-----------
Put in D4:
=INDEX(Sheet2!$E$1:$E$15,
MATCH(B4,OFFSET(Sheet2!$A$1:$A$15,,MATCH(B$1,Sheet2!$1:$1,0)-2),1))
Put in E4:
=INDEX(Sheet2!$C$1:$C$15,
MATCH(C4,OFFSET(Sheet2!$A$1:$A$15,,MATCH(C$1,Sheet2!$1:$1,0)-2),1))
Select D4:E4, fill down
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
> I have a spreadsheet that looks as follows:
>
[quoted text clipped - 33 lines]
>
> Any thoughts?