Avg Formula

Mojo1

Board Regular
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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

daniels012

Well-known Member
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

Mojo1

Board Regular
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.

ken2step

Well-known Member
=IF(B4="","",AVERAGE(B4:B15))

Mojo1

Board Regular

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?

Mojo1

Board Regular
If it helps I can send the spread sheet via e-mail so you know what I am doing?

ken2step

Well-known Member

Replies
23
Views
340
Replies
7
Views
78
Replies
9
Views
151
Replies
3
Views
89
Replies
1
Views
86

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,151,972
Messages
5,767,401
Members
425,410
Latest member
SmittyT

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.

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

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