+ Reply to Thread
Results 1 to 4 of 4

Thread: sumif question

  1. #1
    Registered User
    Join Date
    11-24-2011
    Location
    london
    MS-Off Ver
    Excel 2011
    Posts
    2

    sumif question

    Hi, I am trying to use a sumif formula but can't get it to work.

    I am using -

    =sumif(E8:E45,"=A10",G8:G45)

    Cell A10 is formatted as a number, as is column E. The value in Cell A10 is 5310 - if I change the formula to

    =sumif(E8:E45,"=5310",G8:G45)

    It works fine. But, referring the cell A10 in the sumif doesn't seem to work.

    Can anyone tell me what I am doing wrong please?

    Thanks,

    Ben

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,238

    Re: sumif question

    =sumif(E8:E45,"=A10",G8:G45)

    should be:

    =sumif(E8:E45,A10,G8:G45)



    =sumif(E8:E45,"=5310",G8:G45)

    could be:

    =sumif(E8:E45,5310,G8:G45)



    Regards

  3. #3
    Registered User
    Join Date
    11-24-2011
    Location
    london
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: sumif question

    marvellous, thank you

    b

  4. #4
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,238

    Re: sumif question

    You're welcome. Thanks for the rep.

    Please mark your thread as solved.

    Regards

+ 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.2.0