+ Reply to Thread
Results 1 to 5 of 5

formula using if and sum is returning false value.

  1. #1
    Registered User
    Join Date
    07-08-2009
    Location
    lancs
    MS-Off Ver
    Excel 2003
    Posts
    4

    formula using if and sum is returning false value.

    hi

    i have a simple problem that i cannot solve...


    can anyone tell me what ivwe done wrong in the formula below..


    =IF(D18:D25=123456,SUM(e18:g29))

    it is returning a false value

    what i want it to do is look for the code 123456 in d18 to d25 and if it finds it add up the sum of columns e18 to g29

    any help greatly appreciated
    Last edited by hpcoolt; 10-02-2009 at 03:31 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: formula returning false value ...not sure what i have done wrong

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-08-2009
    Location
    lancs
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: formula using if and sum is returning false value.

    hi

    i have amended my title. can anyone help me please..i just cant work it out

    thankyou

    claire

  4. #4
    Forum Contributor
    Join Date
    08-17-2009
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: formula using if and sum is returning false value.

    You should be using the sumif function if I understand your question.

  5. #5
    Forum Contributor
    Join Date
    09-24-2009
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    129

    Re: formula using if and sum is returning false value.

    =sumif(range,critiera,sum_range)
    =sumif(D18:D25,123456,E18:G29)

    I think that will work.

+ 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