how to populate a cell with value from another cell plus some added text?

Danthes

New Member
Joined
Jun 1, 2015
Messages
2
Hello and thanks for this forum.
Im using MS Office 2010 Pro.
Im working with CSV tabels, can you help me populate the cell B and C as follow:
ABC
bau101

<tbody>
</tbody>
data/bau101.jpg

<tbody>
</tbody>
data/bau101_2.jpg:::data/bau101_3.jpg

<tbody>
</tbody>

<tbody>
</tbody>

from the value inserted in collumn A to fill B and C with coresponding paths, all images are in the same location. In short: if the cell A is filled by me with "zxc100", the cell B will be filled with "data/zxc100.jpg" and cell C with "data/zxc100_2.jpg:::data/zxc100_3.jpg", the formula must be active for the entire collumn.

Thanks in advance, have a nice day.
 

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.
Hi Danthes,

Try the following formulas:
- column B: ="data/"&A2&".jpg"
- column C: ="data/"&A2&"_2.jpg:::data/"&A2&"_3.jpg"

If the name of the folder 'data' is not fixed, you can specify that in another column and use the same concatenation logic as above.
 
Upvote 0
Thanks for fast reply,
it works as i want to if i replace "A2" with "A1"

Thanks alot, have a nice day.
 
Upvote 0

Forum statistics

Threads
1,203,605
Messages
6,056,251
Members
444,853
Latest member
sam69

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