A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Simple concatenation including date



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2009, 03:44 PM posted to microsoft.public.excel.misc
mike_vr
external usenet poster
 
Posts: 42
Default Simple concatenation including date

Hi there

Trying a very simple concatenation =A18 & " " & B18 but the problem is, B18
is a date. So whenever it calculates it comes back as "National Enquirer
40057" instead of "National Enquirer 01-Sep" as the two cells currently hold.

Is there something I'm missing from my formula?

Thanks
Mike

  #2  
Old November 9th, 2009, 03:49 PM posted to microsoft.public.excel.misc
Ms-Exl-Learner
external usenet poster
 
Posts: 522
Default Simple concatenation including date

Use this formula...

=A18&" "&TEXT(B18,"DD-MMM")

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"mike_vr" wrote:

Hi there

Trying a very simple concatenation =A18 & " " & B18 but the problem is, B18
is a date. So whenever it calculates it comes back as "National Enquirer
40057" instead of "National Enquirer 01-Sep" as the two cells currently hold.

Is there something I'm missing from my formula?

Thanks
Mike

  #3  
Old November 9th, 2009, 03:51 PM posted to microsoft.public.excel.misc
Brad
external usenet poster
 
Posts: 943
Default Simple concatenation including date

replace B18
with TEXT(B18,"dd mmm")
--
Wag more, bark less


"mike_vr" wrote:

Hi there

Trying a very simple concatenation =A18 & " " & B18 but the problem is, B18
is a date. So whenever it calculates it comes back as "National Enquirer
40057" instead of "National Enquirer 01-Sep" as the two cells currently hold.

Is there something I'm missing from my formula?

Thanks
Mike

  #4  
Old November 9th, 2009, 03:53 PM posted to microsoft.public.excel.misc
John
external usenet poster
 
Posts: 563
Default Simple concatenation including date

Hi Mike
Try it this way =A18 & " " & TEXT(B18,"dd,mmm")
HTH
John
"mike_vr" wrote in message
...
Hi there

Trying a very simple concatenation =A18 & " " & B18 but the problem is, B18
is a date. So whenever it calculates it comes back as "National Enquirer
40057" instead of "National Enquirer 01-Sep" as the two cells currently hold.

Is there something I'm missing from my formula?

Thanks
Mike


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.