i need hellp

ahmedshwoaia
Lounger
Posts: 46
Joined: 08 Apr 2011, 14:32

i need hellp

Post by ahmedshwoaia »

please i need help
i have table and i want take some information from table 1 to table 2

please see attach
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78549
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: i need hellp

Post by HansV »

Can you explain what the criteria are for copying information from table1 to table2? Thanks in advance.
Best wishes,
Hans

ahmedshwoaia
Lounger
Posts: 46
Joined: 08 Apr 2011, 14:32

Re: i need hellp

Post by ahmedshwoaia »

if ((c2:c14)) match with (($N$2)) and ((n3:n10)) match with ((k2:k14)), move all information to another table

like attach
You do not have the required permissions to view the files attached to this post.

User avatar
sdckapr
3StarLounger
Posts: 392
Joined: 25 Jan 2010, 12:21

Re: i need hellp

Post by sdckapr »

If I understand what you are trying to do:
In O3:
=IF(SUMPRODUCT((sec=$N$1)*($K$2:$K$14=$N3)*ROW($D$2:$D$14))=0,"",INDEX($D$2:$D$14,SUMPRODUCT((sec=$N$1)*($K$2:$K$14=$N3)*ROW($D$2:$D$14))))

In P3:
=IF($O3="","",SUMPRODUCT((sec=$N$1)*($K$2:$K$14=$N3)*E$2:E$14))

Copy P3 to Q3:T3
Copy O3:T3 to O4:T12

Steve

ahmedshwoaia
Lounger
Posts: 46
Joined: 08 Apr 2011, 14:32

Re: i need hellp

Post by ahmedshwoaia »

dear Steve,

please you can apply in attach file.

ahmedshwoaia
Lounger
Posts: 46
Joined: 08 Apr 2011, 14:32

Re: i need hellp

Post by ahmedshwoaia »

i have problem in ((o3:o14)) not match with orginal formation

User avatar
HansV
Administrator
Posts: 78549
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: i need hellp

Post by HansV »

Here is your workbook with Steve's formulas, and with the dropdown in N1 moved to N2 as in your second sample workbook.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

User avatar
sdckapr
3StarLounger
Posts: 392
Joined: 25 Jan 2010, 12:21

Re: i need hellp

Post by sdckapr »

You can do this by yourself:
Put the formulas I listed in the your original file, then insert the new row and the formulas will adjust automatically...

Or put my formulas in the new workbook and then edit them to increase each of the row numbers by 1 to manually adjust them.

Steve

ahmedshwoaia
Lounger
Posts: 46
Joined: 08 Apr 2011, 14:32

Re: i need hellp

Post by ahmedshwoaia »

thanks Steve and hansv