Creating custom path using excel cell values

ChuckFin

New Member
Joined
Aug 20, 2013
Messages
2
Extract the information from column A and Column B from one excel document and create another excel document and copy each row in the first 4 columns while placing the cell values from column A in the new document path structure.

Source: Document 1 Column A Column B dog


Column AColumn B
dog1234567789
cat1233434334
horse1223232322

<tbody>
</tbody>


Goal: Document 2

Column AColumn BColumn CColumn DColumn E
animal/images/dog/type1/an_dog_color.pnganimal/images/dog/type1/an_dog_color2x.png
animal/images/dog/black/an_dog_black.pnganimal/images/dog/black/an_dog_black2x.png 1234567789
animal/images/cat/type1/an_cat_color.pnganimal/images/cat/type1/an_cat_color2x.png
animal/images/dog/black/an_dog_black.pnganimal/images/dog/black/an_dog_black2x.png 1233434334
animal/images/ horse /type1/an_ horse_color.pnganimal/images/ horse /type1/an_ horse_color2x.pnganimal/images/horse/black/an_horse_black.pnganimal/images/horse/black/an_horse_black2x.png1223232322

<tbody>
</tbody>


sample
Column A
dog
I want to take Column A from sheet 1 and create the following in the sheet
animal/images/[column A]/type/an_[ column A]_color.jpg
animal/images/[column A]/type/an_[ column A]_color2x.jpg
animal/images/[column A]/black/an_[ column A]_black.jpg
animal/images/[column A]/black/an_[ column A]_black2x.jpg

Please help?
Thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,215,767
Messages
6,126,781
Members
449,336
Latest member
p17tootie

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