+ Reply to Thread
Results 1 to 5 of 5

#VALUE! when summing the products of two column

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    China
    MS-Off Ver
    Office 2011 MAC
    Posts
    1

    #VALUE! when summing the products of two column

    Hi

    How can I make my formula work when summing the products of two column on the attached table? I am trying to calculate the cost of my product (E78) by summing (C54:C76) with (E54:E76). It returns #VALUE! error.

    I believe it is to do with some text in between the selected area.

    Please help, I don't want to do it like D78 by adding them individually.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: #VALUE! when summing the products of two column

    I does have to do with the text in the cells. You have it set to be text in your if statements running through each cell. I take it you want the cells to appear empty if no used? You could always set the value to 0 and the font color to white if the cells are greater than 0.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: #VALUE! when summing the products of two column

    Try this

    =SUMPRODUCT(IF(ISERROR(C54:C76*E54:E76),"",(C54:C76*E54:E76))

    Confirmed with CTRL+SHIFT+ENTER

    Thanks

  4. #4
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: #VALUE! when summing the products of two column

    I am not worthy of formulas in the spreadsheet. Nice one!
    Last edited by Mordred; 06-14-2011 at 01:23 AM.

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: #VALUE! when summing the products of two column

    Hello,

    Also try this;

    =SUMPRODUCT((0&C54:C76)*(0&E54:E76))

    Your original formula will work, if you change these formulas,

    C54, copy down.

    =IF(C5>0.00001,C5,0)

    E54, copy down.

    =IF(E5>0.00001,E5*E$53,0)

    Then use this Custom cell format to hide zero values;

    0.00;-0.00;;
    Last edited by Haseeb Avarakkan; 06-14-2011 at 02:16 AM.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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