I need to:
I got close using Max, Frequency and Column but it went to pieces when trying to calculate between the two dates only.
Please see below where I have tried to use the MrExcel add in to provide example data
Any assistance would be greatly appreciated before I lose any more of my already receding hairline.
- return the maximum number of consecutive blank or null cells between the start and end date
- return the max date that corresponds to the end of the above sequence
I got close using Max, Frequency and Column but it went to pieces when trying to calculate between the two dates only.
Please see below where I have tried to use the MrExcel add in to provide example data
Excel forum example.xlsx | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | |||
2 | Return the max count of consecutive NULL OR BLANK values between the start and end dates | ||||||||||||||||||||||||||||||||||
3 | Return the max date which corresponds to the above sequence | ||||||||||||||||||||||||||||||||||
4 | |||||||||||||||||||||||||||||||||||
5 | START_DATE | END_DATE | CONSEC | END OF SEQUENCE | 01/01/2018 | 01/02/2018 | 01/03/2018 | 01/04/2018 | 01/05/2018 | 01/06/2018 | 01/07/2018 | 01/08/2018 | 01/09/2018 | 01/10/2018 | 01/11/2018 | 01/12/2018 | 01/01/2019 | 01/02/2019 | 01/03/2019 | 01/04/2019 | 01/05/2019 | 01/06/2019 | 01/07/2019 | 01/08/2019 | 01/09/2019 | 01/10/2019 | 01/11/2019 | 01/12/2019 | 01/01/2020 | 01/02/2020 | 01/03/2020 | 01/04/2020 | 01/05/2020 | ||
6 | 03/11/2006 | 01/06/2020 | 3 | 01/06/2018 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | |||||
7 | 13/02/2007 | 22/05/2020 | 5 | 01/12/2018 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | ||
8 | 01/03/2007 | 01/06/2020 | 0 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | 115 | |||
9 | 09/05/2007 | 01/06/2020 | 0 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | 121.8 | |||
10 | 12/03/2007 | 01/06/2020 | 2 | 01/05/2020 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 0 | 0 | ||
example |
Any assistance would be greatly appreciated before I lose any more of my already receding hairline.