ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   cocatenate (https://www.excelbanter.com/excel-discussion-misc-queries/13886-re-cocatenate.html)

Domenic

cocatenate
 

Try the following...

="or acct_num = '"&A1&"'"

Hope this helps!

jamphan Wrote:
I have in cell A1 an account number. I need to add text around this
number. Example:
In A1 I have 12345
I need to add:
or acct_num = ' '

The final outcome needs to look like :
or acct_num = '12345'

Is there any way I can do this making sure the ' ' marks are in front
and behind the number? Thanks for the help!



--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=346783



All times are GMT +1. The time now is 01:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com