Populate a number of cells equal to value in one cell

Botanybob

New Member
Joined
Jul 26, 2014
Messages
18
I am rating 10 individual objects using a 1-5 numerical rating. I have data grouped by the rating value into 5 columns of data. For example the first column is the number of objects that received a 1 rating, so the 5 entries for a row might be 3, 0, 4, 3, 0 (3 #1s , 0 # 2s, 4# 3s, etc). I need to convert this data such that there are 10 different columns, with one rating event in each column... so instead of a reporting 3 objects received a 1 rating I need the values to be 1, 1, 1.... or 3, 3, 3, 3 for the #3s .

Thank you in advance for your assistance.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
If your ratings are in B2:B11, and you want your headers in E1:N1, try

E1: =SMALL($B$2:$B$11,COLUMNS($E$1:E$1))

then drag to the right.
 
Upvote 0

Forum statistics

Threads
1,215,544
Messages
6,125,434
Members
449,223
Latest member
Narrian

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