How to create a range in excel?

10dulkar

New Member
Joined
Aug 18, 2004
Messages
42
Hi guys

Hopefully a simple question:

I have the following data in excel:

1 12
2 15
3 10
4 9
5 16
6 13
7 11
8 8
9 18
10 20

what is the easiest way to create a range so that the data looks like this:

1 12 11-15
2 15 11-15
3 10 6-10
4 9 6-10
5 16 and so on....
6 13
7 11
8 8
9 18
10 20


thanks a ton in advance!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Greg Truby

MrExcel MVP
Joined
Jun 19, 2002
Messages
10,019
<ul>[*]=FLOOR(A1-0.001,5)+1 & " - " & CEILING(A1,5)[/list]And copy down.
 

Forum statistics

Threads
1,141,743
Messages
5,708,243
Members
421,554
Latest member
aichabaddi

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
Top