ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Calculating averages - Excel 2002 (https://www.excelbanter.com/excel-discussion-misc-queries/246611-calculating-averages-excel-2002-a.html)

Peter[_14_]

Calculating averages - Excel 2002
 
Good evening,

I'm using this formula to calculate monthly averages based on cell G3: =G3/MONTH(TODAY())
and it works fine if the year begins in January.
Is there a way to calculate the average if the year begins in say, March?

Regards


T. Valko

Calculating averages - Excel 2002
 
Try this...

=G3/(MONTH(NOW())+IF(MONTH(NOW())<3,10,-2))

Where the month numbers would be:

Jan = month 11
Feb = month 12
Mar = month 1
Apr = month 2
...
Dec = month 10

--
Biff
Microsoft Excel MVP


"Peter" wrote in message
...
Good evening,

I'm using this formula to calculate monthly averages based on cell G3:
=G3/MONTH(TODAY())
and it works fine if the year begins in January.
Is there a way to calculate the average if the year begins in say, March?

Regards




Peter[_14_]

Calculating averages - Excel 2002
 
Brilliant Biff, it worked a treat!

Many thanks

Peter

-------- Original Message --------

Try this...

=G3/(MONTH(NOW())+IF(MONTH(NOW())<3,10,-2))

Where the month numbers would be:

Jan = month 11
Feb = month 12
Mar = month 1
Apr = month 2
..
Dec = month 10



T. Valko

Calculating averages - Excel 2002
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Peter" wrote in message
...
Brilliant Biff, it worked a treat!

Many thanks

Peter

-------- Original Message --------

Try this...

=G3/(MONTH(NOW())+IF(MONTH(NOW())<3,10,-2))

Where the month numbers would be:

Jan = month 11
Feb = month 12
Mar = month 1
Apr = month 2
..
Dec = month 10






All times are GMT +1. The time now is 09:57 AM.

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