+ Reply to Thread
Results 1 to 3 of 3

SUMPRODUCT Help

  1. #1
    Registered User
    Join Date
    09-17-2020
    Location
    New York
    MS-Off Ver
    2019
    Posts
    28

    SUMPRODUCT Help

    I want to look at the schedule(sheet 2) and compare to see if a person shows up on sheet 1. I want to compare emp ID, date, shift.

    It should look at F2 on sheet 2 and look for that data in column A on sheet 1, then look at B2 on sheet 2 and look for that data in column D on sheet 1. The third part should check column 3 on sheet 2 to see if the value = "shift"

    The code currently in AA is not working properly, I have also tried these:

    =IF(SUMPRODUCT(--(Sheet1!$A$2:$A$50=INT(Sheet2!F2)),--(Sheet1!$D$2:$D$50=Sheet2!B2),--(Sheet2!$C$2:$C$50="Shift"))>0,TRUE,FALSE)

    =IF(SUMPRODUCT((Sheet1!$A$2:$A$50=INT(Sheet2!F2))*(Sheet1!$D$2:$D$50=Sheet2!B2)*(Sheet2!$C$2:$C$50="Shift"))>0,"Shift","No Shift")

    I guess I am not understanding why I cant switch the values around in the SUMPRODUCT. I even tried to simplify it and still didn't have any luck.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: SUMPRODUCT Help

    Why do you think it is wrong.

    In F2 all conditions are met in rows 12, 13, 14, so the result is true
    in F3 - no TAB0100420 in column B so rows where all 3 conditions are met.
    F4 - again OK, as in rows 30,31 and 32 all conditions are met
    F5 - no TAB0100965 data for 05.11.2020
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    09-17-2020
    Location
    New York
    MS-Off Ver
    2019
    Posts
    28

    Re: SUMPRODUCT Help

    It should work, but it doesn't reflect that in AA. Not sure what I am doing wrong.

+ 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. [SOLVED] Sumproduct with multiple variants - Help! I'm a newbie to sumproduct
    By KIGeorge in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-16-2019, 01:21 AM
  2. Combine sumif/sumproduct or sumproduct with multiple criteria
    By sab128 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2018, 08:25 AM
  3. [SOLVED] Use sumproduct to further parse a sumproduct calculation
    By Araise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2015, 08:17 PM
  4. Count SUMPRODUCT Members / Average of SUMPRODUCT
    By Shingaru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 03:59 PM
  5. Replies: 1
    Last Post: 05-19-2012, 02:54 AM
  6. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  7. Using a SumProduct Count to find a SumProduct Total?
    By XL021710 in forum Excel General
    Replies: 3
    Last Post: 02-18-2010, 08:31 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