"Drop Down" of information

Val__

New Member
Joined
Sep 28, 2011
Messages
3
Hi all,

I have a large amount of information in a cell which is separated by a comma (i.e. 1,2,3,4,5,6,7 in cell A1). I now need this information to appear underneath each other (i.e. in cell A1 the number 1, in A2 the number 2, in A3 the number 3 etc)

Is there a formula I can use (macro's are not my strong point) or is there a function already in excel which I can use?

Thanks!

Val__
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Welcome to MrExcel.

A macro solution:

Code:
Sub Test()
    Dim Arr As Variant
    With Range("A1")
        Arr = Split(.Value, ",")
        .Resize(UBound(Arr) + 1).Value = WorksheetFunction.Transpose(Arr)
    End With
End Sub
 
Upvote 0
Hi Andrew,

Thank you for your suggestion, is there no other way to do this as I have no clue on how to work with macros?
 
Upvote 0
Thank you for your help, Andrew! I'm going to get on learning about macros - it'll be faster than doing this manually!
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

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