+ Reply to Thread
Results 1 to 5 of 5

YTD sum with one condition

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    YTD sum with one condition

    hello, i need help on a formula.

    basically, what i'm trying to do is i have months going across and two rows 1) actual 2) forecast
    i want the formula to sum forecast only if there's a number other than zero in the actual.

    for example. i will have forecast numbers for the whole year.
    but i only have actuals from jan to july. so i want the formula to only add forecast numbers from jan to july.

    see attached excel sheet.

    thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: YTD sum with one condition

    Hi,

    Please try the following formula in O7:

    =SUMIF(C6:N6,">"&0,C7:N7)

  3. #3
    Registered User
    Join Date
    07-30-2011
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    83

    Re: YTD sum with one condition

    See attached. I gave you two different formulas, so whatever you are most comfortable with!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-10-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: YTD sum with one condition

    SOLVED. that worked! thanks so much!

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: YTD sum with one condition

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

    Also, you can directly thank those who have helped you by clicking on the small * (star) icon located in the lower left corner of a post that you have found to be helpful.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to count a condition based on having another condition?
    By Robster in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-12-2014, 04:17 PM
  2. [SOLVED] IF the condition of gender is met AND the condition of age is met subtract this number
    By arsenalmom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-16-2014, 11:16 PM
  3. [SOLVED] Help for if condition formula result only either hit or miss from mulitple condition
    By breadwinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 07:29 AM
  4. Replies: 6
    Last Post: 05-06-2010, 10:06 PM
  5. multi condition format? lookup and date condition valid for.
    By D_Rennie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-13-2009, 11:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1