+ Reply to Thread
Results 1 to 10 of 10

Sumproduct doesn't pick up text

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-31-2013
    Location
    Kuwait
    MS-Off Ver
    Microsoft office 365
    Posts
    101

    Sumproduct doesn't pick up text

    Dear All,




    Kindly assist in getting the total without changing the values to number. I have attached the excel sheet

    Appreciate the help
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Sumproduct doesn't pick up text

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!

  3. #3
    Forum Contributor
    Join Date
    08-31-2013
    Location
    Kuwait
    MS-Off Ver
    Microsoft office 365
    Posts
    101

    Re: Sumproduct doesn't pick up text

    I am hoping to get the amount of 800 without formatting the cells in the source 3 sheet to number.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Sumproduct doesn't pick up text

    Use the double unary operator -- to take text into account like
    Formula: copy to clipboard
    =SUMPRODUCT(--(Source3!$B$4:$B$6='All sheet'!B2)*Source3!$C$4:$C$6)


    You'll find explanations all over the Net

    BTW no need to make SUMPRODUCT an array formula, it already is

  5. #5
    Forum Contributor
    Join Date
    08-31-2013
    Location
    Kuwait
    MS-Off Ver
    Microsoft office 365
    Posts
    101

    Re: Sumproduct doesn't pick up text

    SUMPRODUCT(--(Source3!$D$4:$D$300='All sheet'!C473)*(Source3!$AE$4:$AE$300))

    Thank you for your response but when copied the formula to the actual worksheet it gives a #VALUE! error. Kindly advise

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Sumproduct doesn't pick up text

    If it doesn't work, thensomething else s going on. Post a sheet showing the error. If we can't see it we can't diagnose it.

    however, as I told you before, it only takes a second to select ALL the data and convert it to a number.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  7. #7
    Forum Contributor
    Join Date
    08-31-2013
    Location
    Kuwait
    MS-Off Ver
    Microsoft office 365
    Posts
    101

    Re: Sumproduct doesn't pick up text

    Hello Mr. Glenn,

    Please see the attached sheet.
    Attached Files Attached Files

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Sumproduct doesn't pick up text

    Please try
    =SUMPRODUCT((Source3!$C$4:$C$262=B2)*TEXT(Source3!$D$4:$D$262,"0.00;;0;\0"))

    but better change Source3!$D$4:$D$262 to number to use Faster non-array formula
    =SUMIFS(Source3!$E$4:$E$262,Source3!$C$4:$C$262,B2)
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    08-31-2013
    Location
    Kuwait
    MS-Off Ver
    Microsoft office 365
    Posts
    101

    Re: Sumproduct doesn't pick up text

    This works perfectly !!! . I Hope there wont be any issues. Could you please this - 0.00;;0;\0")) in the equation.

  10. #10
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Sumproduct doesn't pick up text

    Number format

    POSITIVE;NEGATIVE; ZERO; TEXT
    0.00;;0;\0

    Change Positive number to 0.00 number with 2 decimal

    Negative to blank, there is no negative number.
    Zero to 0

    Text becomes 0

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Why doesn't my chart pick up years as the horizontal axis?
    By elmasguapo in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-04-2015, 06:33 PM
  2. Replies: 9
    Last Post: 01-12-2015, 01:47 PM
  3. Pivot talbe doesn't pick up "save as value"
    By sperrysperry in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-02-2013, 12:18 PM
  4. VBA doesn't pick up exact match
    By greekboyuk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-06-2010, 03:11 PM
  5. Sumproduct Formula Doesn't Work
    By winnie_shrub in forum Excel General
    Replies: 4
    Last Post: 05-15-2009, 10:40 AM
  6. [SOLVED] sumproduct doesn't work
    By Bonkers in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-22-2006, 12:30 PM
  7. Sumproduct doesn't work with columns... alternatives?
    By qwopzxnm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-17-2006, 06:40 PM

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