#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default concatenating

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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default concatenating

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
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Yosh" wrote:

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


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default concatenating

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

--
---
HTH

Bob

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



"Yosh" wrote in message
ups.com...
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



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default concatenating

On Feb 7, 1:35 pm, "Bob Phillips" wrote:
=A1&TEXT(A2,"mm/dd/yyyy")

--
---
HTH

Bob

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

"Yosh" wrote in message

ups.com...



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- Hide quoted text -


- 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

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default concatenating

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)



"Yosh" wrote in message
ups.com...
On Feb 7, 1:35 pm, "Bob Phillips" wrote:
=A1&TEXT(A2,"mm/dd/yyyy")

--
---
HTH

Bob

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

"Yosh" wrote in message

ups.com...



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- Hide quoted text -


- 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





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default concatenating

On Feb 7, 3:10 pm, "Bob Phillips" wrote:
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)

"Yosh" wrote in message

ups.com...



On Feb 7, 1:35 pm, "Bob Phillips" wrote:
=A1&TEXT(A2,"mm/dd/yyyy")


--
---
HTH


Bob


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


"Yosh" wrote in message


roups.com...


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- Hide quoted text -


- 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- Hide quoted text -


- Show quoted text -


how about conditionally bordering fo a group of cells?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default concatenating

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)



"Yosh" wrote in message
ups.com...
On Feb 7, 3:10 pm, "Bob Phillips" wrote:
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)

"Yosh" wrote in message

ups.com...



On Feb 7, 1:35 pm, "Bob Phillips" wrote:
=A1&TEXT(A2,"mm/dd/yyyy")


--
---
HTH


Bob


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


"Yosh" wrote in message


roups.com...


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- Hide quoted text -


- 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- Hide quoted text -


- Show quoted text -


how about conditionally bordering fo a group of cells?



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default concatenating

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

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


Gord Dibben MS Excel MVP

On 7 Feb 2007 09:54:34 -0800, "Yosh" wrote:

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Double quotes when concatenating with CHAR(10) [email protected] Excel Discussion (Misc queries) 0 September 22nd 06 09:57 PM
Date column changed to number format while concatenating Biju Jacob Excel Discussion (Misc queries) 1 June 12th 06 07:07 PM
How do I start new line when concatenating text strings in excel? Max Excel Discussion (Misc queries) 2 January 26th 06 05:48 PM
Concatenating text MarieB Excel Discussion (Misc queries) 1 December 30th 05 05:28 PM
concatenating and formatting area code and phone number columns sherri Excel Worksheet Functions 4 September 1st 05 09:59 PM


All times are GMT +1. The time now is 06:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"