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

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
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
 

Mojo1

Board Regular
Joined
Mar 6, 2003
Messages
148
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.
 

Mojo1

Board Regular
Joined
Mar 6, 2003
Messages
148

ADVERTISEMENT

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
Joined
Mar 6, 2003
Messages
148
If it helps I can send the spread sheet via e-mail so you know what I am doing?
 

Forum statistics

Threads
1,148,053
Messages
5,744,531
Members
423,881
Latest member
Nguyen Vu

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
Top