ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Max function between dates (https://www.excelbanter.com/excel-programming/274211-re-max-function-between-dates.html)

Laura Cook[_3_]

Max function between dates
 
With 30 in D1, 60 in D2, 90 in D3 etc..,

In E1 enter:

=MAX(INDIRECT("B"&MATCH(TODAY(),$A$1:$A$365,
1)-D1&":B"&MATCH(TODAY(),$A$1:$A$365,1)))

Copy down to E2, E3 etc...

--
HTH,
Laura Cook
Appleton, WI


"Jay" wrote in message
...
Have a spreadsheet, Column A is every day ( dates, Jan 01,
2003, Jan 02, 2003 ect.... ) Column B is how many emails
where sent that day. Im trying to automate a function

Max( # of emails sent in last 30 days, 60 days ect.. )
The table is updated weekly and trying to make it
completly automated so i dont need to switch the formulas
every week

Can anyone help me, if any additional info is needed post
questions

Thanks in advance !

Jay





All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com