dupplicate rows based on data in a column.

taylor58285

New Member
Joined
Mar 1, 2014
Messages
14
I have a spreadsheet of 18 columns and 1800 rows.
I deed to duplicate all columns of a given row based on the data in a specific (Tickets)column. Any help is appreciated.
Similar to AK216 January 2013
My example

A B C D E F G H I J K etc.
Tickets Name Date Item Qty
1 Joe 12/22/2013 Soup 24
3 Sue 12/29/2013 Shrimp 12
2 Jack 02/11/2014 Beans 36

Desired Result
1 Joe 12/22/2013 Soup 24
3 Sue 12/29/2013 Shrimp 12
3 Sue 12/29/2013 Shrimp 12 all columns to be duplicated
3 Sue 12/29/2013 Shrimp 12
2 Jack 02/11/2014 Beans 36
2 Jack 02/11/2014 Beans 36
 
hiker 95

I did a little experimenting and got it to wok Wednesday. I eliminated the line "Option Explicit" in your code. It now is working. Thanks for your help ad I am sorry I strung you along for so many days.
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
taylor58285,

Thanks for the feedback.

You are very welcome. Glad I could help.

And, come back anytime.
 
Upvote 0

Forum statistics

Threads
1,215,407
Messages
6,124,723
Members
449,184
Latest member
COrmerod

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