Return the first date the number X or higher (or lower) occurs?

chasfh

Board Regular
Joined
Dec 10, 2014
Messages
65
Office Version
  1. 365
Platform
  1. Windows
I would like to find a formula that will scan a column to return the date the first instance of a number or higher occurs.

Here's a sample table:

[TABLE="width: 147"]
<tbody>[TR]
[TD="align: right"]Mo-Day[/TD]
[TD="align: right"]1947[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 1[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 2[/TD]
[TD="align: right"]26[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 3[/TD]
[TD="align: right"]20[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 4[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 5[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 6[/TD]
[TD="align: right"]22[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 7[/TD]
[TD="align: right"]26[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 8[/TD]
[TD="align: right"]26[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 9[/TD]
[TD="align: right"]20[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 10[/TD]
[TD="align: right"]31[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 11[/TD]
[TD="align: right"]33[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 12[/TD]
[TD="align: right"]27[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 13[/TD]
[TD="align: right"]37[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 14[/TD]
[TD="align: right"]38[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 15[/TD]
[TD="align: right"]32[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 16[/TD]
[TD="align: right"]25[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 17[/TD]
[TD="align: right"]32[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 18[/TD]
[TD="align: right"]35[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 19[/TD]
[TD="align: right"]36[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 20[/TD]
[TD="align: right"]28[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 21[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 22[/TD]
[TD="align: right"]13[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 23[/TD]
[TD="align: right"]34[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 24[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 25[/TD]
[TD="align: right"]38[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 26[/TD]
[TD="align: right"]36[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 27[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 28[/TD]
[TD="align: right"]28[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 29[/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 30[/TD]
[TD="align: right"]28[/TD]
[/TR]
[TR]
[TD="align: right"]Jan 31[/TD]
[TD="align: right"]17[/TD]
[/TR]
</tbody>[/TABLE]

I would like to a insert a formula in which, if I were to want to find the date the first number of 32 or higher occurred, it would return January 11. If I changed the number to 35, it would return Jan 14. If I changed it to 40, it would return Jan 24.

Does such a formula exist?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
MAGIC! Thank you!

Bonus question: is there a way to determine the second instance, third instance, etc.?
 
Upvote 0
Actually, I should have also asked, is there a way to query for the final instance of each number?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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