gxporras

New Member
Joined
Apr 6, 2017
Messages
1
I have a spreadsheet that contains a list of work site numbers, and I want to extract the beginning and end of a range of sites for sets of 16, 24, 32, 35, and 61. Also, I have a column with numbers of boxes for each site and I need to count the number of boxes <=48 and return the beginning and end of the range, then continue with the next range of site numbers for the next count of <=48, and so on. e.g.:

Siteper teamblackbluegreenboxes
11 - 61 or 1 - 351 - 241 - 321 - 361 - 48
2
3
4 (+ 576)

<tbody>
</tbody>
Every team from 1 to 6 gets 61 sites (variable)
Every team from 7 to 12 gets 35 sites (variable)
Every site gets one bag of each color
Black bags are stacked in sets of 24
Blue bags are stacked in sets of 32
Green bags are stacked in sets of 36
Boxes per site are stacked in sets of 48

<tbody>
</tbody>

The results should be:

Range 1 - 61
Range 62 - 122
Range 123 - 184 and so on

Range 1 - 24
Range 25 - 48
Range 49 - 72 and so on for each set

Thanks for any leads you can provide.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,780
Messages
6,121,527
Members
449,037
Latest member
tmmotairi

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