concatenate problem (SP3 2003)

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

concatenate problem (SP3 2003)

Post by steveh »

Morning all

Sorry for all the stupid questions this week but I am having a right mare!!

I am trying to concatenate 2 cells, R2 is formatted as General and R3 is formatted as dd-mmm, R2 = Thu, R3 = 11-Nov I can't change the format because the results come in from a web query

I have tried using =R2& "-" &R3 and I have tried using =concatenate(R2,"-",R3) but both result in Thu-40493 I have tried formarting the cell that is receiving the data as General, Number, Text, Date and Custom but all return the same answer. :hairout:
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
StuartR
Administrator
Posts: 12629
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: concatenate problem (SP3 2003)

Post by StuartR »

Try
=R2 & "-" & TEXT(R3,"dd-mmm")
StuartR


steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

Re: concatenate problem (SP3 2003)

Post by steveh »

StuartR wrote:Try
=R2 & "-" & TEXT(R3,"dd-mmm")
Hi Stuart

Thanks for looking. With that I get -00-Jan, again I have tried it will all of the different cell formats
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
HansV
Administrator
Posts: 78629
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: concatenate problem (SP3 2003)

Post by HansV »

Please post a sample workbook.
Best wishes,
Hans

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

Re: concatenate problem (SP3 2003)

Post by steveh »

HansV wrote:Please post a sample workbook.
Hi Hans

Thank you for taking a look, please find attached a sample that is formatted the same as the main WB
You do not have the required permissions to view the files attached to this post.
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
HansV
Administrator
Posts: 78629
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: concatenate problem (SP3 2003)

Post by HansV »

Cells R2 and R3 are blank. The dates start in column S, so you should use

=S2 & "-" & TEXT(S3,"dd-mmm")

and fill right.
Best wishes,
Hans

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

Re: concatenate problem (SP3 2003)

Post by steveh »

HansV wrote:Cells R2 and R3 are blank. The dates start in column S, so you should use

=S2 & "-" & TEXT(S3,"dd-mmm")

and fill right.
:scratch: I must have stuck another column in without thinking about it. Sometimes your the bat and sometimes your the ball, I have been the ball all of this week, roll on Friday 15:00 so I can get off to the coast :grin:
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
HansV
Administrator
Posts: 78629
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: concatenate problem (SP3 2003)

Post by HansV »

You're going to be a beach ball? :laugh:
Best wishes,
Hans