+ Reply to Thread
Results 1 to 14 of 14

How to connect different criteria among 3 sheets?

Hybrid View

Zeltene How to connect different... 12-09-2017, 04:23 PM
tim201110 Re: How to connect different... 12-09-2017, 04:46 PM
Zeltene Re: How to connect different... 12-09-2017, 06:07 PM
JohnTopley Re: How to connect different... 12-10-2017, 04:56 AM
Zeltene Re: How to connect different... 12-10-2017, 07:46 AM
JohnTopley Re: How to connect different... 12-09-2017, 05:42 PM
JohnTopley Re: How to connect different... 12-10-2017, 09:03 AM
Zeltene Re: How to connect different... 12-10-2017, 09:21 AM
JohnTopley Re: How to connect different... 12-10-2017, 09:27 AM
Zeltene Re: How to connect different... 12-10-2017, 09:38 AM
JohnTopley Re: How to connect different... 12-10-2017, 10:05 AM
Zeltene Re: How to connect different... 12-10-2017, 10:14 AM
JohnTopley Re: How to connect different... 12-10-2017, 10:16 AM
Zeltene Re: How to connect different... 12-10-2017, 10:23 AM
  1. #1
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: How to connect different criteria among 3 sheets?

    I used a "helper" column : column I in "Sales" but this can be any column you choose and can be hidden

    in I2 in "Sales"

    =SUMPRODUCT((Compensation!$A$2:$E$169=$A2)*(MONTH($B$2:$B$169)=11)*(Compensation!$D$2:$D$169))

    copy down

    The highlighted value (11 for November) is the month and would be better if you placed it in a cell: it appears compensation can vary with date.


    In "Summary"

    in D2

    =SUMPRODUCT((Sales!$D$2:$D$15=Summary!A2)*(Sales!$I$2:$I$15))

    OR

    =SUMIFS(Sales!$I:$I,Sales!$D:$D,Summary!A2)

    Copy down

    I note you multiple Product ID entries with the same date/same value: very confusing !?
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-09-2017
    Location
    Latvia
    MS-Off Ver
    10
    Posts
    7

    Re: How to connect different criteria among 3 sheets?

    Thank you for the reply. Unfortunately, this didn't help.

    1) I can't add any 'helper' columns in 'sales'. I'm trying to find a way around it, that's the whole point. If I could, this wouldn't be a problem I can't solve.

    2) SUMPRODUCT formula you tried in 'sales' does not work correctly. It does not give the sum of all compensations received during current month for each item sold. See for yourself, I added corrected sums.

    As it is, many items can receive several compensations on the same date and in the same amount. That's how it works. I can receive 500 amounts in one day for 37 items sold, and those items do not necessarily have to be sold in the same month. There could be 47 amounts scattered there for 5 items sold in, say, August.
    In reality I'm working with huge amount of data where sheet 'compensations' contains data for 18 months with some 15000 rows.

    The question is, is there any way I can get compensation amount DIRECTLY from 'compensations' to 'summary'?
    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)

Similar Threads

  1. [SOLVED] Automaticly connect content from other sheets
    By bee88 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-26-2015, 04:18 PM
  2. [SOLVED] Connect values from sheets to a drop-down list
    By hungry4more in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 11-30-2014, 02:14 PM
  3. [SOLVED] Macro to connect different rows on different sheets
    By dlevisay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-20-2014, 11:55 AM
  4. Replies: 1
    Last Post: 10-04-2013, 04:21 AM
  5. [SOLVED] Need formula to connect sheets
    By besmir in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-25-2013, 01:41 PM
  6. [SOLVED] How to connect the data in two sheets in one book?
    By freeSky in forum Excel General
    Replies: 10
    Last Post: 10-04-2012, 03:01 AM
  7. How do I connect 2 Excel Sheets to give auto answer on the 3rd
    By Maca in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-01-2005, 09:05 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