Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 77
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 694
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 118
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 846
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
.

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
Expanding on a previous post Chad Excel Discussion (Misc queries) 1 January 31st 09 05:35 PM
"John Cleese" please re-post Dave O Excel Discussion (Misc queries) 4 January 12th 07 11:30 PM
Changing text case in entire database column from JOHN to John Kimberly in Palm Springs Excel Discussion (Misc queries) 2 October 10th 06 06:26 PM
how to format Doe,John to Doe, John (space after a comma) asuncionw Excel Worksheet Functions 8 November 4th 05 01:56 PM
Pls disregard last post used the second amended suggestion from John Mark Stephens Charts and Charting in Excel 0 May 6th 05 06:41 PM


All times are GMT +1. The time now is 02:23 PM.

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"