Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula help
Two rows: 1 and 3 Row 1 contains w/c dates Row 2 contains £ deposits during those weeks; some weeks are blank How can i get Excel to return the value of the average of the five most recent deposits (excluding those left blank)? I don't know which formula to use. thanks in advance. Aoife. -- Aoife ------------------------------------------------------------------------ Aoife's Profile: http://www.excelforum.com/member.php...o&userid=33191 View this thread: http://www.excelforum.com/showthread...hreadid=531229 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula help
In A4 put =IF(COUNTIF(B4:$IV4,"0")<5,IF(A30,A3,""),"") and formula-drag that to the right to cover your entries. This will give you the 5 rightmost entries, which you can total and divide by 5 to get your average. -- Aoife Wrote: Two rows: 1 and 3 Row 1 contains w/c dates Row 2 contains £ deposits during those weeks; some weeks are blank How can i get Excel to return the value of the average of the five most recent deposits (excluding those left blank)? I don't know which formula to use. thanks in advance. Aoife. -- Bryan Hessey ------------------------------------------------------------------------ Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059 View this thread: http://www.excelforum.com/showthread...hreadid=531229 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula help
=AVERAGE(T2:INDEX(2:2,LARGE(IF(2:2<"",COLUMN(2:2)-MIN(COLUMN(2:2))+1),MIN(5
,COUNT(2:2))))) which is an array formula, it should be committed with Ctrl-Shift-Enter, not just Enter. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Aoife" wrote in message ... Two rows: 1 and 3 Row 1 contains w/c dates Row 2 contains £ deposits during those weeks; some weeks are blank How can i get Excel to return the value of the average of the five most recent deposits (excluding those left blank)? I don't know which formula to use. thanks in advance. Aoife. -- Aoife ------------------------------------------------------------------------ Aoife's Profile: http://www.excelforum.com/member.php...o&userid=33191 View this thread: http://www.excelforum.com/showthread...hreadid=531229 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
2 Nesting questions | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |