LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default changing average if cells populated

I have a spreadsheet with various values in three columns. Each column is a
different month of the yr. The values in some of the cells are used to
calculate ratios which appear in let's say row 10.

C D E
F
Row 1 2 5 10
Row2 8 9 3

Row 10 =C1/C2*365 =D1/D2*365 =E1/E2*365 in F10 =AVERAGE(C10:E10)
and in column G through all the other months it is currently using that
same average.

If there are no values in the column needed to do the calculation then e.g F
here, then the cell should average the previous months and use that average
for future months. If the cells/ columns for that month do have values then
it should calculate using the relevant formula and then adjust the next
months cell with the new average e.g. G in this case would then average
c10:f10 and not to e10.

How do I use the if function to do this properly. Thanks.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing average calc if cells populated Dave Excel Worksheet Functions 0 March 16th 07 09:31 PM
Sort cells populated with an Indirect function. JonR Excel Worksheet Functions 0 June 20th 06 04:15 PM
Conditional formulas: color code text populated cells? TKT Excel Worksheet Functions 6 October 29th 05 02:15 AM
Macro Help: Concatenate Populated Cells in Column A TJM Excel Discussion (Misc queries) 3 June 11th 05 11:25 AM
how do populate empty cells with the contents of populated cells . Jim99 Excel Discussion (Misc queries) 6 April 21st 05 05:44 PM


All times are GMT +1. The time now is 10:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"