Gouping the value with from and to date.

sachinviki

New Member
Joined
Jul 21, 2017
Messages
3
Dear Experts,

Really first of all i would like to appreciate all the experts here, whenever the question is been raised the response will be immediate or max to max within a day solution will be given.

Here i have come up with an query too..

NoFromToAttd. TypeStart TimeEnd Time
10027819-07-201719-07-2017A/B
10027820-07-201720-07-2017A
10027821-07-201721-07-2017B/A
10027822-07-201722-07-2017A
10027823-07-201723-07-2017A
10027824-07-201724-07-2017A

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



















This is my existing data.

i want the format like below..

1. if A/B which ever comes before / it will be 09:30 to 13:30
2. if A/B which ever comes after / it will be 13:30 to 18:30 (actually there are more than two variables here i have given only two)
3. if there is an "A" continuously from 1-30th or 1-31st then it should be grouped as

100278 01-07-2017 to 31-07-2017 A


this is my requirement. can anybody help me out?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,215,045
Messages
6,122,840
Members
449,096
Latest member
Erald

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