# How to group data into ranges in Excel

#### questforexcel

##### Board Regular
Hi,

If I have a set of repetitive data i.e. individual data points which fall under the same range cell, is there a way to group them together in excel.

For eg.

All the below data fall under Zone 6. Is there a way I could club all the numbers together for ease of reference. Something like 500-519 would be Zone 6.

Thank you

 Dest Zip/Postal Code Zone 500 6 501 6 502 6 503 6 504 6 505 6 506 6 507 6 508 6 509 6 510 6 511 6 512 6 513 6 514 6 515 6 516 6 517 6 518 6 519 6

<colgroup><col><col></colgroup><tbody>
</tbody>

### Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},\$Z\$1:\$Z\$99,\$Y\$1:\$Y\$99),2,False) to lookup Y values to left of Z values.
You are using this table as reference, right?

When using =VLOOKUP(514,ZipTable,TRUE/FALSE). The third parameter allows you to either find the exact value (FALSE), or a value between a lower and upper end (TRUE). If you use TRUE, the reference table must be sorted by the left column.

If you name your table ZipTable (below), the following formulas would give you the following results:
=VLOOKUP(514,ZipTable,TRUE) = 6
=VLOOKUP(520,ZipTable,TRUE) = 7
=VLOOKUP(521,ZipTable,TRUE) = 7
=VLOOKUP(524,ZipTable,TRUE) = 7

Code:
``````Dest Zip/Postal Code	Zone
500	6
520   7
525   8
534   9``````

Or are you asking to actually format the table you provided?

Replies
0
Views
270
Replies
2
Views
397
Replies
0
Views
237
Replies
3
Views
195
Replies
6
Views
348

1,212,055
Messages
6,105,643
Members
447,974
Latest member
misspancake

### 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.

### Which adblocker are you using?

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

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