Find First Value in Column Which is Greater Than Specified Value (Searching from Last Value in Column)

blogan418

New Member
Joined
Feb 4, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I'm trying to find the first value in a column which is greater than a specified number (searching from the bottom of the column). Once that is found, I need it to return data (a date) from a corresponding cell. Because of the dataset, the search must start at the bottom of the column. I've tried using xlookup, but can't get it to work properly.

1612457965375.png
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi & welcome to MrExcel.
What is the formula that you have?
 
Upvote 0
Please clarify your second requirement
Sure. 2nd requirement is to return the data from corresponding row in Column A. For example, I'm looking for the first value in Column B (searching from the bottom of the column) which is greater than the "base value" of 610.00. When that is located, I want the formula to return the date on the same row from Column A.

In the example, the first value greater than 610.00 (searching from the bottom of Column B) is 614.99. I'd like the formula to return the date from that same row, which is 7/23/2008.
 
Upvote 0
That formula should work, in what way isn't it?
 
Upvote 0
That formula should work, in what way isn't it?
That formula pulls the date which corresponds to the closest actual value which is greater than or equal to 610.00 (no matter where it is in the order of the column). What I need is date which corresponds with the first amount (searching from the bottom) which is greater than or equal to 610.00. That would be A5.
 
Upvote 0
Ok, how about
Excel Formula:
=LOOKUP(2,1/(B1:B12>=D14),A1:A12)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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