+ Reply to Thread
Results 1 to 7 of 7

Adding text in same cel as formula??

  1. #1
    Registered User
    Join Date
    01-06-2009
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Adding text in same cel as formula??

    I have a list of numbers in column A (i.e.: 1234)and I need them to show up in column B in with an "*" asterisk on each side on the number (i.e.: *1234*). So I was using "=a1" in cell B1, is there away to add the asterisk to the formula as text?? Thanks, Doug, [email protected]
    Last edited by dugexcel; 01-06-2009 at 10:03 AM.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    ="*"&a1&"*"

    Or use custom formatting

    "*"0"*"
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    01-06-2009
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    3

    Smile Thanks!!!

    WOW !! That was fast and it worked great!! Thanks so much !!

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    If my reply has solved your problem please mark your Thread as Solved by editing your original podting, advanced tab, Change Tile prefix to Solved

  5. #5
    Registered User
    Join Date
    11-11-2008
    Location
    Northampton, UK
    Posts
    11
    Just wanted to add an option (aka complicate things!) - I use =CONCATENATE whenever I need to mix formulas, numbers and text.

    Type =CONCATENATE( and then add each item with a comma separating them.

    EG: cell B15 has BEER written in text and cells C15 and D15 have 1 and 3 in them, then the following formula:

    =CONCATENATE("I'll have ",SUM(C15+D15)," pints of ",B15)

    Would result in the following value:

    I'll have 4 pints of BEER

    Don't know if you'll find that helpful, perhaps I'm a bit dislexic in that too many symbols get me confused, but a big formula title followed buy a simple list, is easier to work with.

  6. #6
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Madrabbitwoman

    I am no formula expert so I always appreciate learning another way of achieving a desired result

  7. #7
    Registered User
    Join Date
    01-06-2009
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    3
    Great, thanks for both ideas!!

+ 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