Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default formula with date for an answer

Can someone give me an example of a formula that will look at the contents of
one cell, and if that cell is = 0 then another cell will display todays date
and time.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default formula with date for an answer

another way
=IF(AND(NOT(ISTEXT(E2)),E2=0),NOW(),"?")

"joe" wrote:

Can someone give me an example of a formula that will look at the contents of
one cell, and if that cell is = 0 then another cell will display todays date
and time.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default formula with date for an answer

Joe,

The formula can't put anything into another cell, but you could have a formula in the cell
that's to show the date if another cell is = 0.

If A2 is the cell to be examined for =0, put this in the cell that's to display the date.

=IF(A2=0,NOW(),"")

This will display the current date-- it doesn't freeze the date. Today it will display
today's date. Tomorrow, tomorrow's date.
--
Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"joe" wrote in message
...
Can someone give me an example of a formula that will look at the contents of
one cell, and if that cell is = 0 then another cell will display todays date
and time.



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
formula with date answer joe Excel Discussion (Misc queries) 3 September 3rd 07 08:12 PM
using lookup to return more than one answer in date format Geni Slaughter Excel Worksheet Functions 4 November 28th 05 06:34 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM
i want to add a number to a date and get the date as an answer eg. traineeross Excel Worksheet Functions 2 March 9th 05 11:59 AM
If and (and) formula to allow a zero answer inthestands Excel Worksheet Functions 8 November 3rd 04 10:36 AM


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