Auto filling cells

doublej41

Board Regular
Joined
Mar 9, 2011
Messages
86
Hi All

I am trying to populate some of the cells in column B automatically, based on the value of cell A1. In column B I need to list the numbers 10 - 0, but I need to list each numbers on more than one row and I would like cell A1 to determine how many rows to fill.

For example, if in cell A1 I have the value 5, in column B I would like each number to be listed 5 times (10,10,10,10,10,9,9,9,9,9,8,8,8,8,8.....). If A1 = 2 then repeat each number twice (10,10,9,9,8,8...)

Is there a formula that could make this work?

Many Thanks,
Jonathan
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi Ak

Thanks again for your help. A few changes to the formula in the video and it is working as I need it to.
 
Upvote 0
Hi SluggoP,

Welcome to MrExcel.

First off I think that you need to start a new thread with your question.
Secondly, you need to provide a lot more information than you have done here.
You need to provide a sample of your data, explain what it is you want to do, and provide a sample of your expected results.

I look forward to reading your new post.

Ak
 
Upvote 0

Forum statistics

Threads
1,224,557
Messages
6,179,504
Members
452,917
Latest member
MrsMSalt

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