Google sheets next date due
Discussion
Anyone able to offer a solution?
I have a spreadsheet with dates for checks due.
I have worked out how to show the next check due by using MIN for the range selected, but this will show the earliest date, which may be out of date.
How do I show the next upcoming date due after today's date?
Thanks in advance.
I have a spreadsheet with dates for checks due.
I have worked out how to show the next check due by using MIN for the range selected, but this will show the earliest date, which may be out of date.
How do I show the next upcoming date due after today's date?
Thanks in advance.
How many dates have you got? It might affect your approach. There are a couple of easy things that might help.
Filter the data on dates greater than today - if the data is also sorted in date order, the next check due would be at the top.
If you haven't got lots of records, conditionally format the dates greater than today so that they show with a different colour, for instance.
Filter the data on dates greater than today - if the data is also sorted in date order, the next check due would be at the top.
If you haven't got lots of records, conditionally format the dates greater than today so that they show with a different colour, for instance.
Thank you for the advice. I have a row showing date the check was carried out, followed by its expiry date, then the next check, date carried out, expiry etc etc.
I have conditional formatting (shows cell in red) to show expired dates, but because the row is so long, I want to show the next upcoming check due, in a separate column for quick reference.
The min function works OK for this, but shows check due with dates before today, I'm trying to show what is coming up next.
I have conditional formatting (shows cell in red) to show expired dates, but because the row is so long, I want to show the next upcoming check due, in a separate column for quick reference.
The min function works OK for this, but shows check due with dates before today, I'm trying to show what is coming up next.
I didn't know if Google sheets did array formulae, but they do!
Have a play with this formula - it finds the smallest date that's bigger than the current time in the range H3:H39.
=ArrayFormula(MIN(IF(H3:H39>=NOW(),H3:H39)))
edit: I've re-read your last comment - can the next check due date be in different columns?
Have a play with this formula - it finds the smallest date that's bigger than the current time in the range H3:H39.
=ArrayFormula(MIN(IF(H3:H39>=NOW(),H3:H39)))
edit: I've re-read your last comment - can the next check due date be in different columns?
Edited by peter tdci on Friday 22 December 11:55
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


