Segregate Data based on Date along with required fields

harinsh

Active Member
Joined
Feb 7, 2012
Messages
273
I am looking for some help in one formula to get the desired output...I have data table something like below...which includes Name, Date, Amt, Type and Place...
I have only Type1, Type2 and South, North...these will not change.

NameDateAmtTypePlace
AA20-Feb-19 $ 2,082Type1South
BB20-Feb-19 $ 2,110Type1North
CC20-Feb-19 $ 1,723Type1North
DD21-Feb-19 $ 4,528Type1North
EE21-Feb-19 $ 4,554Type1North
FF21-Feb-19 $ 2,943Type1South
GG21-Feb-19 $ 4,638Type1South
HH22-Feb-19 $ 4,212Type1South
II22-Feb-19 $ 2,308Type1South
JJ22-Feb-19 $ 2,337Type1South
KK22-Feb-19 $ 4,881Type1North
LL23-Feb-19 $ 3,663Type2North
MM23-Feb-19 $ 1,004Type2North
NN23-Feb-19 $ 4,559Type2South
OO24-Feb-19 $ 3,779Type2South
PP24-Feb-19 $ 1,513Type2South
QQ24-Feb-19 $ 3,585Type2South

<colgroup><col span="2"><col><col><col></colgroup><tbody>
</tbody>


I need to segregate based on "Date" field...each date should give one set of table..for example given below for 20th Feb...it should segregate whatever available for both North and south data sets separately

20-Feb-19
PlaceDateNameType1 -AmtTyp2 - AmtTotal
South20-Feb-19 AA $ 2,08202082
PlaceDateNameType1 -AmtTyp2 - AmtTotal
North20-Feb-19 BB $ 2,11002110
North20-Feb-19 CC $ 1,72301723

<colgroup><col span="2"><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Is it a pivot table? If so you should just be able to move date into a filter field and have it separate that way. If you're not using a pivot table then i would suggest going that route.
 
Upvote 0
Is it a pivot table? If so you should just be able to move date into a filter field and have it separate that way. If you're not using a pivot table then i would suggest going that route.


No, its not pivot table and normal data set...I forgot to add another criterion called "Open" and "Close" here you have the updated data set and out table also should give like one data for "Open" and one for "Close"

Data Set
NameDateAmtTypePlaceStatus
AA20-Feb-19 $ 2,082Type1SouthClose
BB20-Feb-19 $ 2,110Type1NorthOpen
CC20-Feb-19 $ 1,723Type1NorthOpen
DD21-Feb-19 $ 4,528Type1NorthClose
EE21-Feb-19 $ 4,554Type1NorthOpen
FF21-Feb-19 $ 2,943Type1SouthOpen
GG21-Feb-19 $ 4,638Type1SouthOpen
HH22-Feb-19 $ 4,212Type1SouthOpen
II22-Feb-19 $ 2,308Type1SouthClose
JJ22-Feb-19 $ 2,337Type1SouthClose
KK22-Feb-19 $ 4,881Type1NorthClose
LL23-Feb-19 $ 3,663Type2NorthOpen
MM23-Feb-19 $ 1,004Type2NorthOpen
NN23-Feb-19 $ 4,559Type2SouthOpen
OO24-Feb-19 $ 3,779Type2SouthClose
PP24-Feb-19 $ 1,513Type2SouthClose
QQ24-Feb-19 $ 3,585Type2SouthClose
Output require
20-Feb-19Closed
PlaceDateNameType1 -AmtTyp2 - AmtTotal
South20-Feb-19AA $ 2,08202082
20-Feb-19Open
PlaceDateNameType1 -AmtTyp2 - AmtTotal
North20-Feb-19BB $ 2,11002110
North20-Feb-19CC $ 1,72301723

<colgroup><col span="2"><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Honestly the only way I know how to do that is to turn it into a pivot table. Move those headings into the filter. Then you can have it all filter the way that you want. I'm not sure how to go about separating them with a formula.
 
Upvote 0
Honestly the only way I know how to do that is to turn it into a pivot table. Move those headings into the filter. Then you can have it all filter the way that you want. I'm not sure how to go about separating them with a formula.

No Pivot, won't work for my output ...I am sure using index/aggregate can be done...
 
Upvote 0

Forum statistics

Threads
1,214,565
Messages
6,120,254
Members
448,952
Latest member
kjurney

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