+ Reply to Thread
Results 1 to 8 of 8

Cross check and sum

  1. #1
    Registered User
    Join Date
    02-22-2019
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72

    Cross check and sum

    Hard to explain with words here what I'm struggling with. Perhaps example in attached file is clear enough?

    Need to cross check with different sheet in the workbook before doing the sum in the main sheet.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Cross check and sum

    Sheet1

    B8=IF(Sheet1!$A8<>"",SUMPRODUCT(SUMIF(Sheet1!$F$1:$Y$1,Sheet2!$A$2:$A$11,Sheet1!$F8:$Y8)),"")

    Copy down

  3. #3
    Registered User
    Join Date
    02-22-2019
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72

    Re: Cross check and sum

    Wonderful! Thanks a lot!
    Last edited by Cuni; 02-03-2023 at 11:47 AM.

  4. #4
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Cross check and sum

    B8=IF(Sheet1!$A8<>"",SUMPRODUCT(SUMIF(Sheet1!$F$1:$Y$1,Sheet2!$A$2:$A$11,Sheet1!$F8:$Y8)),"")

    My formula works


    your formula

    =SUMPRODUCT(SUMIF(Sheet1!$F$1:$Y$1,Sheet2!$A$2:$A$11,Sheet1!$F$8:$Y$27)) ? not work

  5. #5
    Registered User
    Join Date
    02-22-2019
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72

    Re: Cross check and sum

    Quote Originally Posted by CARACALLA View Post
    B8=IF(Sheet1!$A8<>"",SUMPRODUCT(SUMIF(Sheet1!$F$1:$Y$1,Sheet2!$A$2:$A$11,Sheet1!$F8:$Y8)),"")

    My formula works


    your formula

    =SUMPRODUCT(SUMIF(Sheet1!$F$1:$Y$1,Sheet2!$A$2:$A$11,Sheet1!$F$8:$Y$27)) ? not work
    It does work now. I missed the last part of SUMIF, sum range part. Mine was Sheet1!$F$8:$Y$27 yours is Sheet1!$F8:$Y8.

  6. #6
    Registered User
    Join Date
    02-22-2019
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72

    Re: Cross check and sum

    One more question if I may. How do I calculate all the rest of products that do not match the criteria?
    I tried in column C with "<>"&Sheet2!$A$2:$A$11 but it's not working it seems. It should be 100 not 1045. See attached.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Cross check and sum

    Sheet1

    C8=SUMPRODUCT((ISNA(MATCH(Sheet1!$F$1:$Y$1,Sheet2!$A$2:$A$12,0)))*(Sheet1!F8:Y8))

    Copy down
    Last edited by CARACALLA; 02-03-2023 at 12:25 PM.

  8. #8
    Registered User
    Join Date
    02-22-2019
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72

    Re: Cross check and sum

    Thank you!

+ 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. Cross-check data with table
    By fish31 in forum Excel General
    Replies: 5
    Last Post: 12-06-2021, 11:08 AM
  2. How to cross check the formual in worksheet.
    By vishnu01445 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2016, 02:04 AM
  3. Table cross-check
    By libre. in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-09-2014, 05:24 AM
  4. Replies: 4
    Last Post: 03-25-2014, 02:01 AM
  5. Cross check Sheets
    By BachiZ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-26-2012, 02:28 AM
  6. [SOLVED] VLOOKUP - simple cross check
    By Nate Westcott in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-03-2012, 10:34 AM
  7. formula for data cross check
    By legolas in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-06-2012, 05:05 PM

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