Lookup value is one row and return the value of a cell relative to it

BKGLTS

Board Regular
Joined
Aug 27, 2018
Messages
82
Hello,

I thought I knew how to do this, but for some reason I can't get it to work.

For example:

This formula returns the value I need to look up in range $W$16:$DUR$16.
COUNTIF($W$15:$DUR$15,"<"&S$18)+V18

Once the value is found in that range I need the formula to return the value of the cell directly above it.
So, the value I need returned will be somewhere in the $W$15:$DUR$15 range.

I have tried all kinds of OFFSET, CELL, ADDRESS, INDEX, MATCH formulas, but can't get it.

Please help.

Thank you!
B
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Not sure i understand what you need

Maybe
=INDEX(W15:DUR15,MATCH("myvalue",W16:DUR16,0))
replace "myvalue" with the value searched.

M.
 
Upvote 0
Maybe
=INDEX(W$15:DUR$16,1,MATCH(COUNTIF($W$15:$DUR$15,"<"&S$18)+V18,W$16:DUR$16,0))

I'm way to slow :(
 
Last edited:
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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