Data grouping

wideright

New Member
Joined
Feb 17, 2010
Messages
1
I am working on an allocation project that requires accumulation of cumulative flying hours into approximate 300 hour groups for allocation of the expenses associated with that group of hours.

I have used the Floor formula to divide the cumulative hours by the 300 allocable hours and when the integer portion of the answer changes (e.g. 0 to 1, 1 to 2, etc.) that gives me a rough grouping of 300 hours, but not exactly what I need as I may have 318 hours in the first group but only 295 hours in the second group (because 318 + 295 = 613, a second group will have been created when hitting the 600 cumulative hour mark).

How can I get at least 300 hours in the first group plus an additional 300 hours in the second group (in my example, a break at 318 hours for the first group and the next break not until at least 618 cumulative hours)?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,920
Messages
6,122,272
Members
449,075
Latest member
staticfluids

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