Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Skip4t4
 
Posts: n/a
Default Dates to number in edit line

In cell A:1 I have 15/05/1974 which is formatted as 19740515

I want to see 19740515 in the edit line as I need to create a csv with
19740515 and not 27164

Any ideas?
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

WORK ON A COPY OF YOUR FILE

You'll need to use a helper column in which you put a text formula along the
lines of this (assuming your first date is in A1)

=year(A1)&text(month(a1),"00")&text(day(a1),"00")

When all is as you want, then convert the formulas to values and delete the
column with the actual dates

"Skip4t4" wrote:

In cell A:1 I have 15/05/1974 which is formatted as 19740515

I want to see 19740515 in the edit line as I need to create a csv with
19740515 and not 27164

Any ideas?

  #3   Report Post  
Skip4t4
 
Posts: n/a
Default

Perfect! thanks Duke

"Duke Carey" wrote:

WORK ON A COPY OF YOUR FILE

You'll need to use a helper column in which you put a text formula along the
lines of this (assuming your first date is in A1)

=year(A1)&text(month(a1),"00")&text(day(a1),"00")

When all is as you want, then convert the formulas to values and delete the
column with the actual dates

"Skip4t4" wrote:

In cell A:1 I have 15/05/1974 which is formatted as 19740515

I want to see 19740515 in the edit line as I need to create a csv with
19740515 and not 27164

Any ideas?

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default


"Duke Carey" wrote in message
...

You'll need to use a helper column in which you put a text formula along

the
lines of this (assuming your first date is in A1)

=year(A1)&text(month(a1),"00")&text(day(a1),"00")


=TEXT(A1,"yyyymmdd")


  #5   Report Post  
Duke Carey
 
Posts: n/a
Default

Bob -

Yeah, sure, that is clearly easier, better, etc., but the OP didn't ask for
the 'best' idea, just for 'any' ideas. Still not enough sleep last night.


"Bob Phillips" wrote:


"Duke Carey" wrote in message
...

You'll need to use a helper column in which you put a text formula along

the
lines of this (assuming your first date is in A1)

=year(A1)&text(month(a1),"00")&text(day(a1),"00")


=TEXT(A1,"yyyymmdd")





  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

The more the merrier IMO

"Duke Carey" wrote in message
...
Bob -

Yeah, sure, that is clearly easier, better, etc., but the OP didn't ask

for
the 'best' idea, just for 'any' ideas. Still not enough sleep last night.


"Bob Phillips" wrote:


"Duke Carey" wrote in message
...

You'll need to use a helper column in which you put a text formula

along
the
lines of this (assuming your first date is in A1)

=year(A1)&text(month(a1),"00")&text(day(a1),"00")


=TEXT(A1,"yyyymmdd")





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
Determining the number of specific days between two dates in Excel jon s Excel Worksheet Functions 9 March 21st 05 09:13 PM
Count the number of dates in a range that are earlier than today. DeborahS Excel Worksheet Functions 1 March 9th 05 01:54 AM
Where is DateDiff function in Excel 2002 ? Nigel Welch Excel Worksheet Functions 4 March 4th 05 03:18 PM
Find number of days between to dates Qaspec Excel Worksheet Functions 1 January 21st 05 12:14 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:27 PM.

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

About Us

"It's about Microsoft Excel"