Find next scheduled date in range

kripper

Board Regular
Joined
Dec 16, 2013
Messages
102
Hello again everyone...back to be a pain......

I am trying to figure out a formula to get the next scheduled date from a row. I have my entire months schedule in an excel sheet, with "Rest Days" and "Vacation Days" mixed in with start times.
s!Amk_7FQHP36kg-QIQkSMIQUpHZGshg


https://1drv.ms/x/s!Amk_7FQHP36kg-QJndYbzMT0UBfUaw

What I am trying to do is find the next available scheduled date from the dates in row 5 after today, skipping the Rest Days, Vacation Days etc., basically anything that does not have a start time in row 2.

Hoping that makes sense...currently I am using the following formula to find the next scheduled date, and it works to give me tomorrow, but will not work to skip to the next actual scheduled date.

=IFERROR(SMALL(IF($C$9:$NJ$9>TODAY(),$C$9:$NJ$9),1),MAX($C$9:$NJ$9))

Hope someone can tell me where I am going wrong.

Thanks in advance....

MR.EXCEL RULES
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hello again everyone...back to be a pain......

I am trying to figure out a formula to get the next scheduled date from a row. I have my entire months schedule in an excel sheet, with "Rest Days" and "Vacation Days" mixed in with start times.
s!Amk_7FQHP36kg-QIQkSMIQUpHZGshg


https://1drv.ms/x/s!Amk_7FQHP36kg-QJndYbzMT0UBfUaw

What I am trying to do is find the next available scheduled date from the dates in row 5 after today, skipping the Rest Days, Vacation Days etc., basically anything that does not have a start time in row 2.

Hoping that makes sense...currently I am using the following formula to find the next scheduled date, and it works to give me tomorrow, but will not work to skip to the next actual scheduled date.

=IFERROR(SMALL(IF($C$9:$NJ$9>TODAY(),$C$9:$NJ$9),1),MAX($C$9:$NJ$9))

Hope someone can tell me where I am going wrong.

Thanks in advance....

MR.EXCEL RULES

Well I think I answered my own question after a few more trial and errors....

{=INDEX($C$9:$NJ$9,MATCH(1,(ISNUMBER($C$6:$NJ$6)*($C$9:$NJ$9>TODAY())),0))}

AND IT WORKS.........................
 
Upvote 0
Well I think I answered my own question after a few more trial and errors....

{=INDEX($C$9:$NJ$9,MATCH(1,(ISNUMBER($C$6:$NJ$6)*($C$9:$NJ$9>TODAY())),0))}

AND IT WORKS.........................

It can also be:

{=IFERROR(SMALL(IF($C$5:$NJ$5>TODAY(),IF(ISNUMBER(C2:V2),$C$5:$NJ$5)),1),MAX($C$5:$NJ$5))}
 
Upvote 0

Forum statistics

Threads
1,214,571
Messages
6,120,302
Members
448,954
Latest member
EmmeEnne1979

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