+ Reply to Thread
Results 1 to 10 of 10

Sumproduct #Value! Error due to Text

Hybrid View

  1. #1
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Thanks for your file ...
    Found out you are not in a "sumproduct-type" configuration ...which is when you are dealing with several conditions ...
    see attached ...
    Attached Files Attached Files
    HTH
    Carim


    Top Excel Links

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,721
    You can use an array formula

    =SUM(IF(C7:C16=C2,IF(ISNUMBER(D7:F16),D7:F16)))

    which needs to be confirmed with CTRL+SHIFT+ENTER

  3. #3
    Registered User
    Join Date
    05-02-2006
    Posts
    95
    Quote Originally Posted by Carim
    Hi,

    Thanks for your file ...
    Found out you are not in a "sumproduct-type" configuration ...which is when you are dealing with several conditions ...
    see attached ...
    Thank-you so much Carim and Daddylonglegs,
    You have helped me a lot.

    Thanks again,
    Ricky

  4. #4
    Registered User
    Join Date
    05-02-2006
    Posts
    95
    Quote Originally Posted by Carim
    Hi,

    Thanks for your file ...
    Found out you are not in a "sumproduct-type" configuration ...which is when you are dealing with several conditions ...
    see attached ...
    Hi again Carim,
    I've been using your formula and it works well. Just curious, the formula refers to row number "+5". Why the number 5?

    I'd like to use this formula for another section but it may not start from 2002 to 2007 anymore. It may start from 1999 and go as far as 2007 instead. Would I have to keep updating the "+5" number or is there a better way so that the formula could pick out the proper row automatically?

    Thanks again,
    Ricky

  5. #5
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    In order to get the exact row number, given the fact you are storing your different years from C6 or row 6 ... the five first rows are missing in the total to get the exact row number ...

  6. #6
    Registered User
    Join Date
    05-02-2006
    Posts
    95
    Quote Originally Posted by Carim
    Hi,

    In order to get the exact row number, given the fact you are storing your different years from C6 or row 6 ... the five first rows are missing in the total to get the exact row number ...
    Oh I see,
    That's the empty rows between the reference cell C2 and the first row of the data line ie. year 2002.

    Got it.

    Thanks for shining the light.
    Ricky

  7. #7
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    You are welcome ...

+ 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