+ Reply to Thread
Results 1 to 12 of 12

SUMPRODUCT Error

Hybrid View

Killer17 SUMPRODUCT Error 10-15-2008, 07:22 PM
shg The ranges need to be the... 10-15-2008, 07:23 PM
daddylonglegs In "W*1" does * represent a... 10-15-2008, 07:29 PM
Killer17 "W1" represents a worksheet ... 10-15-2008, 08:05 PM
shg DLL was referring to the W*1... 10-15-2008, 08:11 PM
Killer17 Here an example of what I'm... 10-15-2008, 08:13 PM
  1. #1
    Forum Contributor
    Join Date
    07-16-2008
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    106

    SUMPRODUCT Error

    I'm trying to use this formula but I keep getting an #value error

    =SUMPRODUCT(--('[Weekly Sheets.xlsx]W1'!$B$5:$B$199=C1),--'[Weekly Sheets.xlsx]W1'!$D$15:$D$199="W*1")

    If worksheet W1 in cell D15 has a "W" looking for a result of 1

    Thanks
    Last edited by Killer17; 10-16-2008 at 12:32 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    The ranges need to be the same size.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719
    In "W*1" does * represent a wildcard or a literal *?

    If it's the former then your formula won't do what you want - even with same-sized ranges - [you can't use wildcards with a comparison operator like =]

    What sort of values do you have in D15:D199?

  4. #4
    Forum Contributor
    Join Date
    07-16-2008
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    106
    In "W*1" does * represent a wildcard or a literal *? ?
    "W1" represents a worksheet


    What sort of values do you have in D15:D199?
    This is the Formula i'm using in Cell D15:D199

    =IF(AND(D14<>0,D30<>""),IF(D14>D30,"W","L"),"")

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    DLL was referring to the W*1 in '[Weekly Sheets.xlsx]W1'!$D$15:$D$199="W*1"

    If you're just looking for W, then

    =SUMPRODUCT( ('[Weekly Sheets.xlsx]W1'!$B$15:$B$199=C1) * ('[Weekly Sheets.xlsx]W1'!$D$15:$D$199="W") )

  6. #6
    Forum Contributor
    Join Date
    07-16-2008
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    106
    Here an example of what I'm trying to do

    I have two Work Sheets one is Team Sheet other named "W1"

    On Team Sheet Cell C1 is the Team name
    I'm looking for the result “W1” worksheet into my Team Sheet

    On my Worksheet “W1” Names are listed from B5 down to B199.

    The W are located in cell D15 to D199 if there's a cell with a "W" in it must match Team name and return a result in my Team Sheet in Cell B21 the result should be based on “W” =1

    I hope this helps

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Assuming the formula I posted doesn't do what you want, I think you need to post a workbook and explain in context.

+ 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. Run-time error '91' when 'On error goto' and cells.find
    By bjoern in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2008, 07:27 PM
  2. SUMPRODUCT error
    By rjmills18 in forum Excel General
    Replies: 2
    Last Post: 08-28-2008, 07:34 AM
  3. SumProduct error when using Year , Month and text criteria
    By jsrobin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-11-2008, 10:56 PM
  4. Sumproduct #Value! Error due to Text
    By ExcelQuestion in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-02-2007, 07:21 AM
  5. Sumproduct and value error
    By bountifulgrace in forum Excel General
    Replies: 2
    Last Post: 10-26-2006, 07:33 AM

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