Avg Formula

Mojo1

Board Regular
Joined
Mar 6, 2003
Messages
148
I am currently using this formula to figure Year to Date YTD
=IF(B4="","",B4)

What can I change it to figure the average?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
You need to supply more information.
What is in cell B4 and how does this give you a YTD?
What do you want to average? The average days, weeks, weekends, months between YTD?

Michael
 
Upvote 0
B4 through B15 contain totals for each month.

Column C is the YTD column which needs to be changed to an average.
When you add a total for a new month it figures the average for the previous month and the current month.
 
Upvote 0
Ken:
With the formula
=IF(B4="","",AVERAGE(B4:B15))

So if you have Jan 10 it will list 10 for the avg, then if you have Feb 20
it will list 15 for the avg.

Can I just replace this formula with the YTD formula and it will work?
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,576
Members
448,972
Latest member
Shantanu2024

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