concatenating

Y

Yosh

im trying to concatenate a text and date cell. is this possible?
i.e.
I have one cell that says: Week-ending
And I have another cell: 01/26/2007
Can I concatenate to form: Week-ending 01/26/2007

The problem I have now is the formatting, it keeps taking the date and
making it a number... (you know what I mean?)

Thanks,

Josh
 
G

Guest

One way: put an apostrophe to the left of the date so that XL treats it as a
text string and not a date. But that's cheating. There's probably a more
elegant way.

Dave
 
B

Bob Phillips

=A1&TEXT(A2,"mm/dd/yyyy")

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
G

Gord Dibben

=A1 & " " &TEXT(A2,"mm/dd/yyyy")

Assuming A1 is "Week Ending" and A2 is the date


Gord Dibben MS Excel MVP
 
Y

Yosh

=A1&TEXT(A2,"mm/dd/yyyy")

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)







- Show quoted text -

sweet.
thanks

another question i have...

how to merge cells conditionally???
is there such a thing as =if(A7=1,A7,MERGE(B1:B7))

Thanks,

JB
 
B

Bob Phillips

Can't be done, and personally I think merged cells are more trouble than
they are worth.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Y

Yosh

Can't be done, and personally I think merged cells are more trouble than
they are worth.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)







- Show quoted text -

how about conditionally bordering fo a group of cells?
 
B

Bob Phillips

You can do that, but if it is a group, you have to have different condition
for top, right, etc., and you soon exhaust your three conditions.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Top