Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default need column to reflect year 2008 dates

Re Ofc Pro 97 --

I re-worked part of a check book for 2008.

Now I realize that my dates which show up in the column, for instance, like
4/23, actually have a 2009 date (4/23/2009) instead of a 2008 date.

How do I get the entire column to reflect 2008 dates?


Jack


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default need column to reflect year 2008 dates

try this
Sub replaceyearindate()
Columns("e").Replace "2009", "2008"
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jack B" wrote in message
...
Re Ofc Pro 97 --

I re-worked part of a check book for 2008.

Now I realize that my dates which show up in the column, for instance,
like
4/23, actually have a 2009 date (4/23/2009) instead of a 2008 date.

How do I get the entire column to reflect 2008 dates?


Jack



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default need column to reflect year 2008 dates

Don,

Don't understand how to apply this. That is, what cell do I put that in?


Jack



"Don Guillett" wrote in message
...
try this
Sub replaceyearindate()
Columns("e").Replace "2009", "2008"
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jack B" wrote in message
...
Re Ofc Pro 97 --

I re-worked part of a check book for 2008.

Now I realize that my dates which show up in the column, for instance,
like
4/23, actually have a 2009 date (4/23/2009) instead of a 2008 date.

How do I get the entire column to reflect 2008 dates?


Jack




  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default need column to reflect year 2008 dates

Another play ..
If the source dates are in B1 down,
put in C1: =DATE(YEAR(B1)-1,MONTH(B1),DAY(B1))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"Jack B" wrote in message
...
.. I realize that my dates which show up in the column,
for instance, like 4/23, actually have a 2009 date (4/23/2009)
instead of a 2008 date.
How do I get the entire column to reflect 2008 dates?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default need column to reflect year 2008 dates

Max

Missed your posts.

Where have you been?


Gord

On Fri, 1 May 2009 07:24:37 +0800, "Max" wrote:

Another play ..
If the source dates are in B1 down,
put in C1: =DATE(YEAR(B1)-1,MONTH(B1),DAY(B1))
Copy down




  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default need column to reflect year 2008 dates

Thanks Gord. Dang, its my current work. As a full-time cabbie, I've got to
keep my eyes fully focused on the roads. Hope to be able to re-participate
more, once more, perhaps at a future point in time. Cheers.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Max

Missed your posts.

Where have you been?


Gord



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default need column to reflect year 2008 dates

Max,

Okay, that worked -- thanks!


Jack



"Max" wrote in message
...
Another play ..
If the source dates are in B1 down,
put in C1: =DATE(YEAR(B1)-1,MONTH(B1),DAY(B1))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"Jack B" wrote in message
...
.. I realize that my dates which show up in the column,
for instance, like 4/23, actually have a 2009 date (4/23/2009)
instead of a 2008 date.
How do I get the entire column to reflect 2008 dates?




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
difference between the dates ex: 4/11/2008- 7/11/2008= 3 days difference between the dates ex: 4/11/2 Excel Worksheet Functions 4 November 3rd 08 08:37 AM
How to adjust a function to reflect the new year change Lisa Excel Worksheet Functions 1 December 2nd 06 06:31 PM
How to adjust a function to reflect the new year change Dave F Excel Worksheet Functions 0 November 30th 06 03:59 PM
change the calendar to reflect the current year pippinkitty Excel Worksheet Functions 1 October 29th 06 09:34 PM
change the calendar to reflect the current year pippinkitty Excel Worksheet Functions 0 October 29th 06 09:27 PM


All times are GMT +1. The time now is 01:08 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"