Pivot grouping Hours limited to 24 hours?

indygo

Board Regular
Joined
Dec 2, 2013
Messages
126
Office Version
  1. 365
Platform
  1. Windows
Hi,

I've calculated difference between dates in hours - so if it was 2 days it will show 48 hours and so on, but pivot table grouping doesn't allow me to set group above 24h limit...

Any ideas how to remove this limit? Otherwise I will have brackets from 0 to 23...

6qNAijf
6qNAijf.jpg
 

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.
I've calculated difference between dates in hours

Hi, what is that calculation?

If you make it (biggerdate-smallerdate)*24 and format the cells as general or number can you not choose a custom grouping?
 
Upvote 0
I did =ABS(c1-d1) and formatted them to [HH] only so if difference was 30 minutes it will show as 00.
01:10:00 will show as 01 and so on.
 
Upvote 0
I did =ABS(c1-d1) and formatted them to [HH] only so if difference was 30 minutes it will show as 00.
01:10:00 will show as 01 and so on.

OK - maybe you could try =INT(ABS(c1-d1)*24) instead with the cells formatted as general.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

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