• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

SUM and OFFSET

gewf631

New Member
I've used these in the past, but must be having a brain freeze, so please bear with me...


Simple monthly data, with column A being month, column B actual sales, column C budgeted sales


I have monthly budget data, and would like to calculate year-to-date based on the number of actual months in column B


A B C

Jan 50 50

Feb 40 55

Mar 54

Apr 51

May 50

Jun 53

YTD 90 xxx (which should be 105)


Thanks in advance
 
You want a sum of rows where there's actually something in col C, correct?

=SUMIF(C:C,">0",B:B)
 
Luke M

Never even thought to use the SUMIF function.


Wow, simplicity at it's finest!


Don't know why I was thinking I'd have to use a dynamic range.


Thanks!
 
Back
Top