Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TimM
 
Posts: n/a
Default Dates change the next day.

I'm using the formula below to give a date in column 'A' when a 1, 2, 3, or 4
is put in column 'H'.
=IF(OR(H1={1,2,3,4}),TODAY(),"")

Is it possible to make it so the date does not change the next day when the
the sheet is update/opened, with this or with a different formula.
--
Thanks
TimM
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
 
Posts: n/a
Default Dates change the next day.

How about a worksheet_open event in the ThisWorkbook module?

Sub ifdate()
MyArray = Array(1, 2, 3 , 4)
For Each c In MyArray
If Range("h1") = c Then Range("H3") = Date
Next
End Sub
--
Don Guillett
SalesAid Software

"TimM" wrote in message
...
I'm using the formula below to give a date in column 'A' when a 1, 2, 3,
or 4
is put in column 'H'.
=IF(OR(H1={1,2,3,4}),TODAY(),"")

Is it possible to make it so the date does not change the next day when
the
the sheet is update/opened, with this or with a different formula.
--
Thanks
TimM



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TimM
 
Posts: n/a
Default Dates change the next day.

Is there a way to do it with a script.
--
Thanks
TimM


"Don Guillett" wrote:

How about a worksheet_open event in the ThisWorkbook module?

Sub ifdate()
MyArray = Array(1, 2, 3 , 4)
For Each c In MyArray
If Range("h1") = c Then Range("H3") = Date
Next
End Sub
--
Don Guillett
SalesAid Software

"TimM" wrote in message
...
I'm using the formula below to give a date in column 'A' when a 1, 2, 3,
or 4
is put in column 'H'.
=IF(OR(H1={1,2,3,4}),TODAY(),"")

Is it possible to make it so the date does not change the next day when
the
the sheet is update/opened, with this or with a different formula.
--
Thanks
TimM




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
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Automatic shading of cells based on dates??? Pedros Excel Worksheet Functions 3 October 20th 05 12:35 AM
Why does Excel Copy and Paste change dates from the original when. Excel changes dates in copy and paste Excel Discussion (Misc queries) 5 January 26th 05 05:08 PM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 09:21 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


All times are GMT +1. The time now is 01:41 AM.

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"