PC Review


Reply
Thread Tools Rate Thread

Combining Cells

 
 
George Perrotta
Guest
Posts: n/a
 
      12th Apr 2010
I have 4 cells that I need to combine into one cell. One cell has a
time in it. When I combine cells it does not come up as time but a
fraction.
A1 8:30
B1 A
C1 Cards
D1 Indians

My formula is =+A1&" "&+B1&" "&+C1&" "&+D1
I get this
0.354166666666667 A Cards Indians
I want
8:30 A Cards Indians



 
Reply With Quote
 
 
 
 
Ron Rosenfeld
Guest
Posts: n/a
 
      12th Apr 2010
On Mon, 12 Apr 2010 10:12:56 -0700 (PDT), George Perrotta
<(E-Mail Removed)> wrote:

>I have 4 cells that I need to combine into one cell. One cell has a
>time in it. When I combine cells it does not come up as time but a
>fraction.
>A1 8:30
>B1 A
>C1 Cards
>D1 Indians
>
>My formula is =+A1&" "&+B1&" "&+C1&" "&+D1
>I get this
>0.354166666666667 A Cards Indians
>I want
>8:30 A Cards Indians
>
>



1. The +'s are redundant, probably a holdover from Lotus123 programming and
not required in Excel.

2. =TEXT(A1,"h:mm") & " " & B1 & " " & C1 & " " & D1

Note that in order to obtain 8:30 (with no AM/PM), this is a variation of a 24
hr time format. So that if A1: 2:30 PM, your string will show 14:30.
--ron
 
Reply With Quote
 
tompl
Guest
Posts: n/a
 
      12th Apr 2010
Try this:

=TEXT(A1,"h:mm")&" "&+B1&" "&+C1&" "&+D1

"George Perrotta" wrote:

> I have 4 cells that I need to combine into one cell. One cell has a
> time in it. When I combine cells it does not come up as time but a
> fraction.
> A1 8:30
> B1 A
> C1 Cards
> D1 Indians
>
> My formula is =+A1&" "&+B1&" "&+C1&" "&+D1
> I get this
> 0.354166666666667 A Cards Indians
> I want
> 8:30 A Cards Indians
>
>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining cells caseysmydog Microsoft Excel Programming 3 6th Nov 2008 05:20 PM
Combining cells =?Utf-8?B?QkFLRVJTTUFO?= Microsoft Excel Misc 2 26th Jun 2007 07:33 PM
Combining the cells data for cells with same name nik_gujarathi Microsoft Excel Programming 6 1st Aug 2006 11:32 AM
Combining Cells Greg B... Microsoft Excel Programming 2 27th Feb 2005 03:25 PM
combining cells bubba1965 Microsoft Excel Misc 8 5th Mar 2004 07:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:33 PM.