Filing table with data from another table which match criteria

greg_em

New Member
Joined
Jan 23, 2025
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi.

I have 2 tables. One of them is source table with few hundreds rows filed by automatic system, which grow every day more. In the second one, I need to summary some data from previous table.

It looks like that:

Zeszyt1
BCDEFG
2
3
4Namesumpayment dateProduct
5Client110002.01.2025C
6Client27015.01.2025A
7Client32517.01.2025C
8Client13021.01.2025B
9Client25522.01.2025A
10Client 43022.01.2025A
11
12
Arkusz1


Zeszyt1
GHIJKLM
15
16Product A
17Namepayment 1payment date 1payment 2payment date 2
18Client2
19Client 4
20
Arkusz1


I need doing calculations in blue table and want to ask you, how to make formula, that find data by Product name and Client and fill all payment and payment date cells. And because source table size changed each day, I really prefer using table dynamic addressing syntax like Table1[#Data] instead of ranges C5:F10. I read about index match and index small constructs, but I'm not sure how they works and how to use them with table structures.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Explanation: I need to doing some calculation in green table -my mistake.
Welcome to Mr Excel.

What are the two tables called?

Is the green table already poplated with the client names?

Why does the grean table calculated data need to be in a table?

Is the green table only to contain two payments?
 
Upvote 0
Blue table is called "Payments", green one is called "Summation".
No, green table isn't populated yet.
Only calculated data in green table will be total of all payment per client and altogether. Also, last payment date, which is already done with MAX() formula.
And no. Green table should contain all payment for every client for product from cell H16. I guess it should be no more than 20 per client.
 
Upvote 0
I'm also should mention that source table, blue one, is located on OneDrive.
And the green table is in another workbook not on OneDrive?

Do you already have calculations on the green table workbook that makes reference to the blue table or cells that workbook?

Can you post a XL2BB min-sheet of where you use the MAX() formula?

Do you really want a dynamic green table of up 41 columns wide?

Would it not be better to present the data vertically?

Do you want a table for each product or all products in one table?
If the latter then you will need a product column.
 
Upvote 0
By now I cannot access any table - currently I have no access to company account. It is why I posted only tables structure examples.

Calculations are made on the beginning of the table, just after client name. The rest are just preview data, so I don't to have to look for it in source table, if something looks not ok.
MAX() formula refers only to "Summation" table. Currently, there is nothing to summarize.
 
Upvote 0
By now I cannot access any table - currently I have no access to company account. It is why I posted only tables structure examples.

Calculations are made on the beginning of the table, just after client name. The rest are just preview data, so I don't to have to look for it in source table, if something looks not ok.
MAX() formula refers only to "Summation" table. Currently, there is nothing to summari
I can create dummy data for testing but if you do not have access to company account data how is this going to work?

I don't know what 'preview data' is.

Irrespective of whether you have any company data or not, where is the MAX() function?
 
Upvote 0

Forum statistics

Threads
1,225,842
Messages
6,187,341
Members
453,416
Latest member
JSmith0827

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top