Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
spividori
Specialist
Specialist

Compare date range

In the attached example, I need to calculate for each day of the dimension five days back and compare them with five days previous to the first 5.

For example, for the day 30/09 day should add 30,29,28,27,26 / 09 and compare them with the days 25,24,23,22,21 / 09.

In the example there are more clarification.

Regards.

1 Solution

Accepted Solutions
sunny_talwar

May be this:

=RangeSum(Above(Sum(Imp), 0, 5)) - RangeSum(Above(Sum(Imp), 5, 5))


Capture.PNG

View solution in original post

1 Reply
sunny_talwar

May be this:

=RangeSum(Above(Sum(Imp), 0, 5)) - RangeSum(Above(Sum(Imp), 5, 5))


Capture.PNG