Sorting by multiple TRUE entries, a challenge for Excel experts!

alanbarry

New Member
Joined
Jul 12, 2013
Messages
9
Hi all,

I have a sheet as follows;

1800180011800218003
1234TRUETRUE
1235TRUETRUETRUE
1236
1237TRUETRUE

<tbody>
</tbody>

What I need to do is sort this so that;

All 1800 TRUE cells are grouped together
All 1800 + 18001 TRUE cells are grouped together
All 1800 + 18001 + 18002 TRUE cells are grouped together
etc etc

to give me a table like this;
18001800 + 180011800+18001+1800218001+18002
1234TRUE
1235TRUE
1235TRUE
1235TRUE
1237TRUE

<tbody>
</tbody>

For all possible combinations! This will allow me to quickly look and see which codes (eg. 1800, 18001) are grouped together by a TRUE classification.

It is complicated, because as you can see, the 1235 designation will appear across three of these categories (1800, 1800+18001, 1800+18001+18002).

I would be really grateful if someone could help here! If I have explained this badly, please do let me know!

Thanks,
Alan.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,215,360
Messages
6,124,491
Members
449,166
Latest member
hokjock

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