Formula required to show the 13 'events' within a year once the event date is reached.

Red over White

Board Regular
Joined
Jul 16, 2011
Messages
134
Office Version
  1. 365
Platform
  1. MacOS
I am trying to come up with a formula whereby only when you get to the date in column F4 onwards does the figure in column H on the same row appears.

The figures in column H is a cumulative total of B4 based on the number of times the dates in Column D is/are either greater than a date in column F AND less than or equal to the date in the row below. The dates in column D are simply a recurring 28 days after the last one. In most cases there is just one 'event' in each period, but there will always one occasion when you get two events in a period and this one is highlighted in green.

Thanks in advance
 

Attachments

  • Screenshot 2025-03-06 at 17.39.58.png
    Screenshot 2025-03-06 at 17.39.58.png
    43.9 KB · Views: 9
I'm not sure I understand the question about having the number "appear" only once "the event date is reached"?

But this replicates your results in column H, which is perhaps what you are asking?

ABCDEFGH
1
2
35 Apr 2024
4101 May 20245 May 202410
529 May 20245 Jun 202420
626 Jun 20245 Jul 202430
724 Jul 20245 Aug 202440
821 Aug 20245 Sep 202450
918 Sep 20245 Oct 202460
1016 Oct 20245 Nov 202470
1113 Nov 20245 Dec 202480
1211 Dec 20245 Jan 202590
138 Jan 20255 Feb 2025110
145 Feb 20255 Mar 2025120
155 Mar 20255 Apr 2025130
162 Apr 2025
Sheet1
Cell Formulas
RangeFormula
F3:F15F3=EDATE(DATE(2024,4,5),SEQUENCE(13,,0))
D4:D16D4=SEQUENCE(13,,DATE(2024,5,1),28)
H4:H15H4=H3+B$4*COUNTIFS(D$4#,">"&F3,D$4#,"<="&F4)
Dynamic array formulas.
 
Upvote 0
Solution
Thanks your formulas are what I needed, I have never used sequences before. Sorry for the lack of clarity around the word 'appear', putting if(today()>=F4 and ,"") around the formula in H4 solves that issue.

Thanks again
 
Upvote 0

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