+ Reply to Thread
Results 1 to 2 of 2

cocatenate

  1. #1
    Registered User
    Join Date
    02-18-2005
    Posts
    44

    cocatenate

    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!

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

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

    Hope this helps!

    Quote Originally Posted by jamphan
    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!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1