How to make data range from 1 to 17 million in 400 excel column?

matahazel28

New Member
Joined
Aug 28, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Dear all
I would like to make range data like this,
1-100
100-199
200- .....

it is just an example. However, I would like to make data range from 1-17.000.000 in 400 column.
It will be difficult if I make it manually. I would like to make it using Excel.
Does anyone know how to make that?
I appreciate your help!
Thank you.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Is this what you are looking for?
Place this formula in row 1 and copy down:
Excel Formula:
=(ROW()*100-99) & "-" & (ROW()*100)

Note the duplication of 100 you had in your example:
1-100
100
-199


I assuming that the second one should really be 101-200.
 
Upvote 0
Solution
Or do you mean something like this:

A1:
Excel Formula:
=SEQUENCE(42500,400)
 
Upvote 0
Is this what you are looking for?
Place this formula in row 1 and copy down:
Excel Formula:
=(ROW()*100-99) & "-" & (ROW()*100)

Note the duplication of 100 you had in your example:
1-100
100
-199


I assuming that the second one should really be 101-200.
Yes, that is the solution. Thank you
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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