Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Ok, hope I explain this well enough. I have rows of inventory in excel and need to add child rows under the parent rows. For example.. I have a row with the parent information : sku, title, etc then under it I have to have the sku plus the pertaining information such as large, xl, med, etc in the colum with the sku. then in the title column the rows have to have the same information added to the title sku product-name size 1-tshirt I love my MOM T-shirt 1-tshirt-sm I love my MOM T-shirt Small Small 1-tshirt-md I love my MOM T-shirt Medium Medium 1-tshirt-lg I love my MOM T-shirt Large Large 1-tshirt-xl I love my MOM T-shirt XL X-Large 1-tshirt-2X I love my MOM T-shirt 2X XX-Large 1-tshirt-3X I love my MOM T-shirt 3X XXX-Large 1-tshirt-4X I love my MOM T-shirt 4X XXXX-Large 1-tshirt-5X I love my MOM T-shirt 5x XXXXX-Large Is there a way to do a macro for something like this? I have thousands of inventory and various types of media besides shirts. so any help will be greatly appreciated. Brenda -- sweetboo22 ------------------------------------------------------------------------ sweetboo22's Profile: http://www.excelforum.com/member.php...o&userid=37413 View this thread: http://www.excelforum.com/showthread...hreadid=571162 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Are you saying that the data is currently all in the same column and you want to split it out into three adjacent columns? -- mrice Research Scientist with many years of spreadsheet development experience ------------------------------------------------------------------------ mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931 View this thread: http://www.excelforum.com/showthread...hreadid=571162 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I don't think I explained myself correctly. I apologize, I have thousands of pieces of inventory and for me to upload them into my store online, I have to put the name ex: I love my MOM tshirt as a parent line, then under it, there need to be 'children' lines that correspond to the parent line but they specify the size. So, for each parent line, there will be 8 child lines that designate if it is a small, med, etc. so there are 3 columns this will affect. I am wondering if there is a way to do this with some kind of macro? If not, I will have to paste and find and replace for each parent line. I am just not sure how to do it. I have taken an example and highlighted the parent lines and showed how the children lines need to be set up on the first two. Thanks Brenda http://us.a2.yahoofs.com/users/44b6e...QlJ4EBXsEMBJzC -- sweetboo22 ------------------------------------------------------------------------ sweetboo22's Profile: http://www.excelforum.com/member.php...o&userid=37413 View this thread: http://www.excelforum.com/showthread...hreadid=571162 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Brenda,
I think you're going to have trouble down the road with the layout you're using. You will be much better off with a standard database-style table. There should be one record (row) for each piece. No parent/child stuff. It might look like this I love my mom S I love my mom M I love my mom L All the necessary information to describe each item is in its row. This may seem like more trouble, but believe me, you'll be glad you did it this way later. -- Earl Kiosterud www.smokeylake.com ----------------------------------------------------------------------- "sweetboo22" wrote in message ... I don't think I explained myself correctly. I apologize, I have thousands of pieces of inventory and for me to upload them into my store online, I have to put the name ex: I love my MOM tshirt as a parent line, then under it, there need to be 'children' lines that correspond to the parent line but they specify the size. So, for each parent line, there will be 8 child lines that designate if it is a small, med, etc. so there are 3 columns this will affect. I am wondering if there is a way to do this with some kind of macro? If not, I will have to paste and find and replace for each parent line. I am just not sure how to do it. I have taken an example and highlighted the parent lines and showed how the children lines need to be set up on the first two. Thanks Brenda http://us.a2.yahoofs.com/users/44b6e...QlJ4EBXsEMBJzC -- sweetboo22 ------------------------------------------------------------------------ sweetboo22's Profile: http://www.excelforum.com/member.php...o&userid=37413 View this thread: http://www.excelforum.com/showthread...hreadid=571162 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to insert formula | Excel Worksheet Functions | |||
Macro to insert a symbol | New Users to Excel | |||
DO NOT Insert Row - Macro | Excel Worksheet Functions | |||
Dynamic column insert (macro) | Excel Discussion (Misc queries) | |||
Macro to insert copied cells | Excel Discussion (Misc queries) |