Copying Multiple Results into Different Tab

joshtak

New Member
Joined
Oct 24, 2019
Messages
3
Hello,

I have all my Data on a tab called "Queue Data". In Column A is the Queue Name. Column B has dates. This tab will have daily data put into it so the names of each queue will be listed multiple times and will look like the below example:

Name Date
EUC 10/20/19
SBKC 10/20/19
NBS 10/20/19
EUC 10/21/19
SBKC 10/21/19
NBS 10/21/19
EUC 10/22/19
SBKC 10/22/19
NBS 10/22/19

I have another tab called "EUC" which I would like all of the dates for EUC to appear in Column B. The first one in row 2, the second one in row 3 and so on.

Would appreciate any help with a formula for this!

Thank you!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Re: Help with Copying Multiple Results into Different Tab

you can try Power Query aka Get&Transform

NameDateNameDate
EUC
20/10/2019​
EUC
20/10/2019​
SBKC
20/10/2019​
EUC
21/10/2019​
NBS
20/10/2019​
EUC
22/10/2019​
EUC
21/10/2019​
SBKC
21/10/2019​
NBS
21/10/2019​
EUC
22/10/2019​
SBKC
22/10/2019​
NBS
22/10/2019​

Code:
[SIZE=1]// Table1
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Type = Table.TransformColumnTypes(Source,{{"Name", type text}, {"Date", type date}}),
    Filter = Table.SelectRows(Type, each ([Name] = "EUC"))
in
    Filter[/SIZE]

result table (green) can be loaded wherever you want

btw. this is NOT vba!

or you can use simple Pivot Table

NameDateNameEUC
EUC
20/10/2019​
SBKC
20/10/2019​
Date
NBS
20/10/2019​
20/10/2019​
EUC
21/10/2019​
21/10/2019​
SBKC
21/10/2019​
22/10/2019​
NBS
21/10/2019​
EUC
22/10/2019​
SBKC
22/10/2019​
NBS
22/10/2019​

edit: in both cases, after any change in source table, refresh QueryTable or PivotTable
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,916
Members
449,093
Latest member
dbomb1414

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