Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 give todays date and time? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A formula can only return a result the cell in which it is contained.
Therefore, it cannot update "another cell" as you are looking for. The formula =IF(A1=0,NOW(),"Not Zero") will return the current date and time (be sure to format the cell for date and time) if A1 is 0. If A1 is not zero, it will return the text "Not Zero". Substitute the value you want to return if A1 is not zero. This will not, and cannot, change any other cell. "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 give todays date and time? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
with data on E2
=IF(AND(ISNUMBER(E2),E2=0),TEXT(NOW(),"ddd,m/d/yy,h:mm"),"") or =IF(AND(not(IStext(E2)),E2=0),TEXT(NOW(),"ddd,m/d/yy,h:mm"),"") "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 give todays date and time? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 give todays date and time? Maybe it'll meet your need to put the number in A1 and this formula in the "other cell": =IF(A10, NOW(), "") You can format the other cell as "date and time" using Format Cells Number Date And choosing a "Type" you like. The date and time updates when somebody makes a change in the workbook. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
using lookup to return more than one answer in date format | Excel Worksheet Functions | |||
i edit a formula (excel) then it displays formula not answer | Excel Discussion (Misc queries) | |||
i want to add a number to a date and get the date as an answer eg. | Excel Worksheet Functions | |||
I need to get this answer 8 - 1.2 = 6.2 from a formula | Excel Worksheet Functions | |||
If and (and) formula to allow a zero answer | Excel Worksheet Functions |