Grouping Based on Values

Excel_77

Active Member
Joined
Sep 15, 2016
Messages
311
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

I have values in column L such as the following:

400,000
300,300
1,230,340


I want to group these into certain bands within Column M, the band are listed within a separate tab called "Bands" and the options are as follows - how can I code this? I fear the word "Euro" could cause problems?

[TABLE="width: 228"]
<tbody>[TR]
[TD]01 000 000 to below 01 500 000 Euro[/TD]
[/TR]
[TR]
[TD]01 500 000 to below 02 000 000 Euro[/TD]
[/TR]
[TR]
[TD]02 000 000 to below 02 500 000 Euro[/TD]
[/TR]
[TR]
[TD]02 500 000 to below 03 000 000 Euro[/TD]
[/TR]
[TR]
[TD]03 000 000 to below 03 500 000 Euro[/TD]
[/TR]
[TR]
[TD]03 500 000 to below 04 000 000 Euro[/TD]
[/TR]
[TR]
[TD]04 000 000 to below 04 500 000 Euro[/TD]
[/TR]
[TR]
[TD]04 500 000 to below 05 000 000 Euro[/TD]
[/TR]
[TR]
[TD]05 000 000 to below 06 000 000 Euro[/TD]
[/TR]
[TR]
[TD]06 000 000 to below 07 000 000 Euro[/TD]
[/TR]
[TR]
[TD]07 000 000 to below 08 000 000 Euro[/TD]
[/TR]
[TR]
[TD]08 000 000 to below 09 000 000 Euro[/TD]
[/TR]
[TR]
[TD]11 000 000 to below 12 000 000 Euro[/TD]
[/TR]
[TR]
[TD]13 000 000 to below 14 000 000 Euro[/TD]
[/TR]
[TR]
[TD]below 01 000 000 Euro[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I am not quite clear what exactly you want to return for each of the bands it something falls into.
So, for your first example, 400,000 that would fall in your 400,000 to 450,000 band.
So what exactly do you want it to return?
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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