View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
joeu2004 joeu2004 is offline
external usenet poster
 
Posts: 2,059
Default YTD budget based on current input of actual

[My response to your duplicate posting in m.p.e.worksheet.functions. In the
future, it is better to post in only one m.p.excel NG.]

"Sanj" wrote:
Need a formula in YTD budget row so that when I enter 10 in Jun actual
(140 YTD actual) so that I can get 120 in YTD budget.


One way:

For actual YTD: =SUM(B1:M1)

For budget YTD: =SUMPRODUCT(--(B1:M1<""),B2:M2)


----- original message -----

"Sanj" wrote in message
...
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec YTD
actual 10 20 30 40 30 130
budget 15 15 20 25 20 25 35 20 25 30 35 15 .......

Need a formula in YTD budget row so that when I enter 10 in Jun actual
(140
YTD actual) so that I can get 120 in YTD budget. Thanks for the help.
Sanj