Forum Discussion
hellomf
Mar 01, 2025Copper Contributor
Calculate same period in Excel
Hi everyone, I am trying to use excel to achieve the following but not sure if it something possible. For some reasons, I need it to be in excel. I have a sale sheet with customer's sales and v...
SergeiBaklan
Mar 04, 2025Diamond Contributor
If use structured table, perhaps you mean
for current visits
=SUMIFS( [Visit],
[Customer], [@Customer],
[Date], ">=" & [@DateStart],
[Date], "<=" & [@DateEnd]
)
for previous visits
=SUMIFS( [Visit],
[Customer], [@Customer],
[Date], ">=" & EDATE([@DateStart], -12),
[Date], "<=" & EDATE([@DateEnd], -12)
)
Same for sales