Immediate next future date

Muthukrishnan V

Active Member
Joined
May 29, 2008
Messages
294
Office Version
  1. 365
Platform
  1. Windows
Excel 2007.
Columns R5 to R187 contain dates in dd-mm-yyyy format.



My requirement: Column R1 should show the next immediate date following
the system date.


Example: System date in dd-mm-yyyy : 04-05-2019
Column R25 contains 06-05-2019 (next earliest date upcoming)
Column R14 contains 03-05-2019 (this date is past)
Column R94 contains 17-06-2019
Column R80 is blank.

In the above example, I want column R1 to show 06-05-2019 (being the next immediate occurring date)



Request formula.

Thanking you,
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi

The system date formula is
=TODAY()

For the next day
=TODAY() + 1

format cell R1 as date
 
Upvote 0
I am sorry. I do not want the next date (i.e tomorrow) to appear in column R1.
I want, from the dates appearing in R5 to R187, the next occurrence of date. Suppose
today is 04-05-2019 and the earliest future date is 15-06-2019, R1 should display 15-06-2019.
Kindly advise formula
 
Upvote 0
Is this what you want?

=MINIFS(R5:R187,R5:R187,">="&TODAY())

and if it must be after today...
=MINIFS(R5:R187,R5:R187,">"&TODAY())

Edit,,
Just remembered EXCEL2007 probably does not have MINIFS

Will update ltomorrow with a different formula
 
Last edited:
Upvote 0
For Excel 2007 try ...
array FORMULA
=MIN(IF(R5:R187>=TODAY(),R5:R187))
commit with {CTRL}{SHIFT}{ENTER} otherwise expect#VALUE! error

Is the same as
=MINIFS(R5:R187,R5:R187,">="&TODAY())
 
Upvote 0
Sir, I tried array formula and when committed with Ctrl Shift Enter keys, shows "Value".
 
Upvote 0
If the formula in the cell looks like this - it is wrong
=MIN(IF(R5:R187>=TODAY(),R5:R187))

If the formula in the cell looks like this - it is correct
{=MIN(IF(R5:R187>=TODAY(),R5:R187))}


Double-click on the cell R1 to edit
instead of {ENTER} use {CTRL} & {SHIFT} & {ENTER} together
Like this:
press CTRL
keep pressing on CTRL
press SHIFT
Keep pressing on CTRL & SHIFT
press ENTER

Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#E0E0F0][th] [/th][th]
R
[/th][th]
S
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
1
[/td][td]
05/05/2019​
[/td][td] {=MIN(IF(R5:R187>=TODAY(),R5:R187))}[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
2
[/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
3
[/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
4
[/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
5
[/td][td]
03/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
6
[/td][td]
08/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
7
[/td][td]
01/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
8
[/td][td]
07/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
9
[/td][td]
04/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
10
[/td][td]
07/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
11
[/td][td]
01/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
12
[/td][td]
08/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
13
[/td][td]
03/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
14
[/td][td]
07/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
15
[/td][td]
02/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
16
[/td][td]
06/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
17
[/td][td]
02/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
18
[/td][td]
03/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
19
[/td][td]
04/05/2019​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
20
[/td][td=bgcolor:#FFFF00]
05/05/2019​
[/td][td][/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Sheet1[/td][/tr][/table]


 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

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