+ Reply to Thread
Results 1 to 5 of 5

SUMIFS greater than or equal

  1. #1
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    SUMIFS greater than or equal

    Why does this formula work?

    =SUMIFS(Sheet1!F:F,Sheet1!C:C,Sheet2!A5,Sheet1!B:B,">=41448",Sheet1!B:B,"<=41454")

    But as soon as I change the values to referenced cells, it does not...?

    =SUMIFS(Sheet1!F:F,Sheet1!C:C,Sheet2!A5,Sheet1!B:B,">=B1",Sheet1!B:B,"<=B2")

    Thank you in advance.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: SUMIFS greater than or equal

    because B1 and B2 are passed as the literal text "B1" and "B2"-you need to use
    =SUMIFS(Sheet1!F:F,Sheet1!C:C,Sheet2!A5,Sheet1!B:B,">="&B1,Sheet1!B:B,"<="&B2)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SUMIFS greater than or equal

    Try in this way.

    =SUMIFS(Sheet1!F:F,Sheet1!C:C,Sheet2!A5,Sheet1!B:B,">="&B1,Sheet1!B:B,"<="&B2)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    Re: SUMIFS greater than or equal

    Thank you.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SUMIFS greater than or equal

    You are welcome(From both of us!) and thanks for the feed back.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thank you.

+ 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