Julian date - find next highest date/number

J

jchick0909

Hello,

I need a quick answer,

i have cells with dates as numbers next to a number as below:


A B
1 34558
5 34678
6 34729
3 34836

I have a cell with a Refence number (ie 34800) - i need a formula that will
go to the next highest number (34836) and retun the value in column A (3)

Thanks for any help!!!
 
P

Pete_UK

Assuming your reference value is in cell C1, and that your data table
occupies A1:B4, use this formula in D1:

=INDEX(A1:A4,MATCH(C1,B1:B4)+1)

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top