+ Reply to Thread
Results 1 to 3 of 3

Sumproduct with Named Range

Hybrid View

clng Sumproduct with Named Range 11-01-2010, 09:55 PM
teylyn Re: Sumproduct with Named... 11-01-2010, 10:34 PM
clng Re: Sumproduct with Named... 11-01-2010, 10:40 PM
  1. #1
    Registered User
    Join Date
    03-09-2007
    Posts
    75

    Sumproduct with Named Range

    Hi all,

    Been trying to resolve a "hard-coded" range by using Named Range but has been returning "#VALUE!"

    By using the below formula; where range J14 to J2608 is hard-coded, it will work.
    =SUMPRODUCT(($E$14:$E$2608="Pipeline")*($H$14:$H$2608=B2)*($J$14:$J$2608))
    But by changing range J14 to J2608 into a Named Range (see below); the whole thing fails.
    =SUMPRODUCT(($E$14:$E$2608="Pipeline")*($H$14:$H$2608=B2)*(PlanRev))
    Please help!

    Cheers,
    CL
    Last edited by clng; 11-01-2010 at 10:45 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Sumproduct with Named Range

    the Value error means that the ranges are not the same size. Check the definition of PlanRev.

    See here for a discussion of Sumproduct error messages http://spreadsheet-toolbox.com/libra...error-message/

  3. #3
    Registered User
    Join Date
    03-09-2007
    Posts
    75

    Re: Sumproduct with Named Range

    Dear teylyn,

    Cool. It works. Did't notice that the range are different and also my Named Range includes the Header... (bad choice of range)

    Thanks again.
    CL

+ 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