I have Budget SpreadSheet thet is set by month(U3), then Budget(U4),
Actual(V5) columns. This is repeated 12 times across the sheet. I then
have quot;Buget Averagequot; and an quot;Actual Averagequot; cell. The budget average
is easy because all cells have values for all 12 months. How do I
average the actual since only a few months have data?
This shoud be simple but I have read 200 posts and have not found
anything. All suggestions were for ranges/adjacent cells.--
OPB3
------------------------------------------------------------------------
OPB3's Profile: www.excelforum.com/member.php...oamp;userid=33686
View this thread: www.excelforum.com/showthread...hreadid=534715Just run AVERAGE as normal, it ignores blank cells
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
quot;OPB3quot; gt; wrote in message
...
gt;
gt; I have Budget SpreadSheet thet is set by month(U3), then Budget(U4),
gt; Actual(V5) columns. This is repeated 12 times across the sheet. I then
gt; have quot;Buget Averagequot; and an quot;Actual Averagequot; cell. The budget average
gt; is easy because all cells have values for all 12 months. How do I
gt; average the actual since only a few months have data?
gt;
gt; This shoud be simple but I have read 200 posts and have not found
gt; anything. All suggestions were for ranges/adjacent cells.
gt;
gt;
gt; --
gt; OPB3
gt; ------------------------------------------------------------------------
gt; OPB3's Profile:
www.excelforum.com/member.php...oamp;userid=33686
gt; View this thread: www.excelforum.com/showthread...hreadid=534715
gt;
=(F10 H10 J10 L10)/(COUNTA(F10,H10,J10,L10)
This formula should work where F10, H10, J10, L10, etc are your Actuals and
where a zero is entered for any past month with no Actual data.
quot;OPB3quot; wrote:
gt;
gt; I have Budget SpreadSheet thet is set by month(U3), then Budget(U4),
gt; Actual(V5) columns. This is repeated 12 times across the sheet. I then
gt; have quot;Buget Averagequot; and an quot;Actual Averagequot; cell. The budget average
gt; is easy because all cells have values for all 12 months. How do I
gt; average the actual since only a few months have data?
gt;
gt; This shoud be simple but I have read 200 posts and have not found
gt; anything. All suggestions were for ranges/adjacent cells.
gt;
gt;
gt; --
gt; OPB3
gt; ------------------------------------------------------------------------
gt; OPB3's Profile: www.excelforum.com/member.php...oamp;userid=33686
gt; View this thread: www.excelforum.com/showthread...hreadid=534715
gt;
gt;
Tim Whitley wrote...
gt;=(F10 H10 J10 L10)/(COUNTA(F10,H10,J10,L10)
....
Why not just use
=AVERAGE(F10,H10,J10,L10)
?
This is close but it only works on on rows (AH7, AH8, etc) without my
subtotals (AH9). I have attached a pdf of the spreadsheet (I Think) and
this is the actual formula:
=(J7 L7 N7 P7 R7 T7 V7 X7 Z7 AB7 AD7 AF7)/(COUNTA(J7,L7,N7,P7,R7,T7,V7,X7,Z7,AB7,AD7,AF7))
The row with the subtotal has a zero placed due to the formula so the
future months that have no actuals skew the average. The AVERAGE
function alone, as suggested, does not work at all.
I am a quot;newbiequot; to excell and appreciate the help.Tim Whitley Wrote:
gt; =(F10 H10 J10 L10)/(COUNTA(F10,H10,J10,L10)
gt;
gt; This formula should work where F10, H10, J10, L10, etc are your Actuals
gt; and
gt; where a zero is entered for any past month with no Actual data.
gt;
gt;
gt;
gt; quot;OPB3quot; wrote:
gt;
gt; gt;
gt; gt; I have Budget SpreadSheet thet is set by month(U3), then Budget(U4),
gt; gt; Actual(V5) columns. This is repeated 12 times across the sheet. I
gt; then
gt; gt; have quot;Buget Averagequot; and an quot;Actual Averagequot; cell. The budget
gt; average
gt; gt; is easy because all cells have values for all 12 months. How do I
gt; gt; average the actual since only a few months have data?
gt; gt;
gt; gt; This shoud be simple but I have read 200 posts and have not found
gt; gt; anything. All suggestions were for ranges/adjacent cells.
gt; gt;
gt; gt;
gt; gt; --
gt; gt; OPB3
gt; gt;
gt; ------------------------------------------------------------------------
gt; gt; OPB3's Profile:
gt; www.excelforum.com/member.php...oamp;userid=33686
gt; gt; View this thread:
gt; www.excelforum.com/showthread...hreadid=534715
gt; gt;
gt; gt; -------------------------------------------------------------------
|Filename: Budget2005 (20050726).pdf |
|Download: www.excelforum.com/attachment.php?postid=4675 |
-------------------------------------------------------------------
--
OPB3
------------------------------------------------------------------------
OPB3's Profile: www.excelforum.com/member.php...oamp;userid=33686
View this thread: www.excelforum.com/showthread...hreadid=534715OPB3 wrote:
gt; This is close but it only works on on rows (AH7, AH8, etc) without my
gt; subtotals (AH9). I have attached a pdf of the spreadsheet (I Think) and
gt; this is the actual formula:
gt;
gt; =(J7 L7 N7 P7 R7 T7 V7 X7 Z7 AB7 AD7 AF7)/(COUNTA(J7,L7,N7,P7,R7,T7,V7,X7,Z7,AB7,AD7,AF7))
gt;
gt; The row with the subtotal has a zero placed due to the formula so the
gt; future months that have no actuals skew the average. The AVERAGE
gt; function alone, as suggested, does not work at all.
gt;
[...]
Given the structure of the formula you posted:
=AVERAGE(IF(MOD(COLUMN(J7:AF7)-COLUMN(J7) 0,2)=0,IF(J7:AF7gt;0),J7:AF7)))
which needs to be confirmed with control shift enter, not just with enter.
- Jan 24 Wed 2007 20:35
Average Non-Adjacent Cells in Budget Spreadsheet
close
全站熱搜
留言列表
發表留言