+ Reply to Thread
Results 1 to 5 of 5

Sum with 4 different constrains

  1. #1
    Registered User
    Join Date
    10-28-2010
    Location
    Decatur, IL
    MS-Off Ver
    Excel 2003
    Posts
    4

    Sum with 4 different constrains

    Hi could any help me on this formula.

    =SUMPRODUCT((Date>=$B$5)*(Date<=$B$6)*(Productname=$B$7)*(Causingarea=A18)*Downtime)

    Date Product PQVC Causing Area Down Time (Hrs)
    10/20/10 WTS q MISC 1.25
    10/25/10 QCT v MISC 1.25
    10/30/10 QCT v SQ 3.5
    10/30/10 WTS c LPT 1.75
    i am getting #N/A i dont know why. if remove (Productname=$B$7) or )*(Causingarea=A18) i am getting the correct value, can any one help me

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sum with 4 different constrains

    Your use of named ranges is good. But we can't see if the ranges are accurately defined equally. Post up your workbook so we can see the same thing.

    Click GO ADVANCED and use the paperclip icon to post up a desensitized copy of your workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-28-2010
    Location
    Decatur, IL
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Sum with 4 different constrains

    The all the name reage is equal. sorry i tried to load the file i dont known whats wrong its not loading. i will try it from my home pc later today.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sum with 4 different constrains

    You might need to trim the file down, delete unnecessary sheets for this issue, or ZIP it up to make it smaller.

  5. #5
    Registered User
    Join Date
    10-28-2010
    Location
    Decatur, IL
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Sum with 4 different constrains

    Sorry for late i upladed the file. thanks
    Attached Files Attached Files

+ 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