+ Reply to Thread
Results 1 to 5 of 5

sumif differentiate between 6.1 & 6.10

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    sumif differentiate between 6.1 & 6.10

    I'm using the sumif function to reference a separate worksheet and match item numbers for an estimate.

    =SUMIF([DSQN_PS108_Estimate.xls]Summary!$C$206:$C$311,"="&(C302),[DSQN_PS108_Estimate.xls]Summary!$G$206:$G$311)

    I want it to search the list and find the quantity for item number 6.1 & 6.10 (saved as text, '6.1 & '6.10). The formula ends up not differentiating between the two and returns them summed together.

    Any ideas?

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: sumif differentiate between 6.1 & 6.10

    In the world of numbers, there is no difference between 6.1 and 6.10, they both have the same value.

    The SUMIF funciton is coercing the text strings in column C to real numbers, 6.10 becomes 6.1

    Try SUMPRODUCT Instead

    =SUMPRODUCT(--([DSQN_PS108_Estimate.xls]Summary!$C$206:$C$311=C302),[DSQN_PS108_Estimate.xls]Summary!$G$206:$G$311)

  3. #3
    Registered User
    Join Date
    03-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: sumif differentiate between 6.1 & 6.10

    I'm new to the sumproduct function. how would i write the formula if I wanted it to pass two qualifiers before it returns a value? Also, what do the two dashes represent in the beginning of your function?

    It did work though! Thanks so much

  4. #4
    Registered User
    Join Date
    03-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: sumif differentiate between 6.1 & 6.10

    Nevermind, figured out both

    Thanks again for the help. You just saved me so much time

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: sumif differentiate between 6.1 & 6.10

    Cool, glad to help.

+ 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