+ Reply to Thread
Results 1 to 3 of 3

<SOLVED> 2007: SUMIF not working when text is included in sum range

  1. #1
    Forum Contributor
    Join Date
    04-14-2008
    Location
    Fort Collins, Co
    MS-Off Ver
    2016
    Posts
    107

    Question <SOLVED> 2007: SUMIF not working when text is included in sum range

    Please see the attached workbook.

    Column I, daily cost is using the SUMIF function.
    Basically, if he attended daycare that day, it needs to add the daily cost (D), the cost for activity 1, (F) and the cost for activity 2 (H).

    The result is only giving me the daily cost.

    Please help!

    SOLVED: =IF(C4="Y",SUM(D4:H4),0) worked!
    Attached Files Attached Files
    Last edited by 4am; 06-22-2010 at 01:46 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: 2007: SUMIF not working when text is included in sum range

    Try instead:

    =IF(C4="Y",SUM(D4:H4),0)

    or

    =IF(C4="Y",SUM(D4,F4,H4),0)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: 2007: SUMIF not working when text is included in sum range

    Use this ARRAY formula

    =SUM(IF(C4:C25="Y",D4:D25+F4:F25+H4:H25))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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