How to concatenate text and currency values

loosefred

New Member
Joined
Jan 15, 2014
Messages
4
Hi all,

I'm looking to create a function on excel to help with simplifying the process of making Google Ads for a number of clients, by concatenating a string of words to form lines of ads. For example,

Word 1Word 2Word 3Word 4Word 5Word 6Word 7Word 8Word 9AD
UsedVansinDarlingtonUsed Vans in Darlington
HundredsofUsedVansAvailableHundreds of Used Vans Available
CallNowtoFindOutMoreCall Now to Find Out More
usedvans.comdarlingtonusedvans.com/darlington

<tbody>
</tbody>


The chain of words create the text of each line of ads on the right, with formula as:

=CONCATENATE(IF(LEN(D3)>0,D3&" ",""),IF(LEN(E3)>0,E3&" ",""),IF(LEN(F3)>0,F3&" ",""),IF(LEN(G3)>0,G3&" ",""),IF(LEN(H3)>0,H3&" ",""),IF(LEN(I3)>0,I3&" ",""),IF(LEN(J3)>0,J3&" ",""),IF(LEN(K3)>0,K3&" ",""),IF(LEN(L3)>0,L3,""))

My problem is that I would like to include prices within this ad text, however the currency formatting is not shown in the ads. For example:

Word 1Word 2Word 3Word 4Word 5Word 6Word 7Word 8Word 9AD
UsedVansinDarlingtonUsed Vans in Darlington
PricesfromOnly£4,995Prices from Only 4995
CallNowtoFindOutMoreCall Now to Find Out More
usedvans.comdarlingtonusedvans.com/darlington

<tbody>
</tbody>

In the ads, the £x,xxx formatting isn't transferred into the ad on the right. Is there any way that this could be fixed at all so that the ad would include this?

Thanks very much in advance!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi all,

I'm looking to create a function on excel to help with simplifying the process of making Google Ads for a number of clients, by concatenating a string of words to form lines of ads. For example,

Word 1Word 2Word 3Word 4Word 5Word 6Word 7Word 8Word 9AD
UsedVansinDarlingtonUsed Vans in Darlington
HundredsofUsedVansAvailableHundreds of Used Vans Available
CallNowtoFindOutMoreCall Now to Find Out More
usedvans.comdarlingtonusedvans.com/darlington

<tbody>
</tbody>


The chain of words create the text of each line of ads on the right, with formula as:

=CONCATENATE(IF(LEN(D3)>0,D3&" ",""),IF(LEN(E3)>0,E3&" ",""),IF(LEN(F3)>0,F3&" ",""),IF(LEN(G3)>0,G3&" ",""),IF(LEN(H3)>0,H3&" ",""),IF(LEN(I3)>0,I3&" ",""),IF(LEN(J3)>0,J3&" ",""),IF(LEN(K3)>0,K3&" ",""),IF(LEN(L3)>0,L3,""))

My problem is that I would like to include prices within this ad text, however the currency formatting is not shown in the ads. For example:

Word 1Word 2Word 3Word 4Word 5Word 6Word 7Word 8Word 9AD
UsedVansinDarlingtonUsed Vans in Darlington
PricesfromOnly£4,995Prices from Only 4995
CallNowtoFindOutMoreCall Now to Find Out More
usedvans.comdarlingtonusedvans.com/darlington

<tbody>
</tbody>

In the ads, the £x,xxx formatting isn't transferred into the ad on the right. Is there any way that this could be fixed at all so that the ad would include this?

Thanks very much in advance!


Figured it out - I have to apostrophise the before the start of currency. Should have known.
 
Upvote 0

Forum statistics

Threads
1,216,082
Messages
6,128,700
Members
449,464
Latest member
againofsoul

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