Copy a cell value and add literals

  • Thread starter Thread starter no_junk_mail
  • Start date Start date
N

no_junk_mail

I'm trying to use a function to take the value of cell (B3 contains
"08/31/2005", for example) and copy it to another cell (G3, for example),
and add a preceeding and trailing asterisk = I tried typing the following
=("*"(B3)"*") into the formula bar while the cursor was in cell G3 - but all
I ended up with in G3 was - "*"(B3)"*" - I'm sure that this is an easy one
for someone - I'd appreciate any suggestions - THANKS!
 
Try this in G3

="*"&TEXT(B3,"mmmm d" &"," &"yyyy")&"*"

Adjust format to your liking in the formula.


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top