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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

For John, et al. Re Combining Columns (previous post)



 
 
Thread Tools Display Modes
  #1  
Old May 9th, 2010, 09:44 PM posted to microsoft.public.excel.newusers
Bob[_62_]
external usenet poster
 
Posts: 22
Default For John, et al. Re Combining Columns (previous post)

Hi,

Using Excel 2007

Have a spreadsheet that I copied from elsewhere, that I want to modify a
bit.

In one column are GMT times expressed as 4 digits.
e.g., 0000, 2130, etc.

I want to combine (as in my previous post) these times with another column.
No problem, as John's suggestion works fine.
But:

I can't get it to accept the 4 digits of: 0000

It keeps changing them to just a single digit: 0

I tried formatting the column as text, general, and a number, but the
same thing.

Any thoughts why it changes ?

How do I get it to accept, keep, and work with, all four zeros ?
(I thought that defining the whole column as text would do it, but
apparently not)

Thanks,
Bob
  #2  
Old May 9th, 2010, 09:59 PM posted to microsoft.public.excel.newusers
John
external usenet poster
 
Posts: 563
Default For John, et al. Re Combining Columns (previous post)

HI Bob
Not sure if that will work but try it =TEXT(A1,"0000")
HTH
John
"Bob" wrote in message
...
Hi,

Using Excel 2007

Have a spreadsheet that I copied from elsewhere, that I want to modify a bit.

In one column are GMT times expressed as 4 digits.
e.g., 0000, 2130, etc.

I want to combine (as in my previous post) these times with another column.
No problem, as John's suggestion works fine.
But:

I can't get it to accept the 4 digits of: 0000

It keeps changing them to just a single digit: 0

I tried formatting the column as text, general, and a number, but the same
thing.

Any thoughts why it changes ?

How do I get it to accept, keep, and work with, all four zeros ?
(I thought that defining the whole column as text would do it, but apparently
not)

Thanks,
Bob


  #4  
Old May 10th, 2010, 02:56 PM posted to microsoft.public.excel.newusers
BSc Chem Eng Rick
external usenet poster
 
Posts: 98
Default For John, et al. Re Combining Columns (previous post)

Bob,
Try and put an apostrophe before the leading zero (i.e. in the cell '0000).
This forces text and stops excel automatically trying to determine formats.
--
If this helps, please click "Yes"



"Bob" wrote:

Hi,

Using Excel 2007

Have a spreadsheet that I copied from elsewhere, that I want to modify a
bit.

In one column are GMT times expressed as 4 digits.
e.g., 0000, 2130, etc.

I want to combine (as in my previous post) these times with another column.
No problem, as John's suggestion works fine.
But:

I can't get it to accept the 4 digits of: 0000

It keeps changing them to just a single digit: 0

I tried formatting the column as text, general, and a number, but the
same thing.

Any thoughts why it changes ?

How do I get it to accept, keep, and work with, all four zeros ?
(I thought that defining the whole column as text would do it, but
apparently not)

Thanks,
Bob
.

  #5  
Old May 10th, 2010, 04:12 PM posted to microsoft.public.excel.newusers
Brad
external usenet poster
 
Posts: 943
Default For John, et al. Re Combining Columns (previous post)

Another solution
Format cells as Number Custom 0000

That is Four zero's - that will force the 0 to show up as 0000 - it will
also force 123 to be 0123.

--
Wag more, bark less


"Bob" wrote:

Hi,

Using Excel 2007

Have a spreadsheet that I copied from elsewhere, that I want to modify a
bit.

In one column are GMT times expressed as 4 digits.
e.g., 0000, 2130, etc.

I want to combine (as in my previous post) these times with another column.
No problem, as John's suggestion works fine.
But:

I can't get it to accept the 4 digits of: 0000

It keeps changing them to just a single digit: 0

I tried formatting the column as text, general, and a number, but the
same thing.

Any thoughts why it changes ?

How do I get it to accept, keep, and work with, all four zeros ?
(I thought that defining the whole column as text would do it, but
apparently not)

Thanks,
Bob
.

 




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 08:55 AM.


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