Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Subtract 5 minutes from Now()
If A1 = 5
How can I display a Date/Time [A1] minutes earlier than Now() Chuck |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Subtract 5 minutes from Now()
=now()-(a1/60/24)
-- Don Guillett Microsoft MVP Excel SalesAid Software "Chuck" wrote in message ... If A1 = 5 How can I display a Date/Time [A1] minutes earlier than Now() Chuck |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Subtract 5 minutes from Now()
Try this:
=NOW()-5/(24*60) Format the cell in an appropriate date/time format. Just be aware that the cell won't keep incrementing at regular intervals....Only when you recalculate. Does that help? -------------------------- Regards, Ron (XL2003, Win XP) Microsoft MVP (Excel) "Chuck" wrote in message ... If A1 = 5 How can I display a Date/Time [A1] minutes earlier than Now() Chuck |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Subtract 5 minutes from Now()
Actually, to match your request to use the value in Cell A1....
Try this: =NOW()-A1/(24*60) -------------------------- Regards, Ron (XL2003, Win XP) Microsoft MVP (Excel) "Ron Coderre" wrote in message ... Try this: =NOW()-5/(24*60) Format the cell in an appropriate date/time format. Just be aware that the cell won't keep incrementing at regular intervals....Only when you recalculate. Does that help? -------------------------- Regards, Ron (XL2003, Win XP) Microsoft MVP (Excel) "Chuck" wrote in message ... If A1 = 5 How can I display a Date/Time [A1] minutes earlier than Now() Chuck |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Subtract 5 minutes from Now()
Since I always have a hard time remembering the "24*60" (not sure why), I
prefer to do this another way. =NOW()-TIME(0,A1,0) or you could try the following for a constant time period: =NOW()-"00:05:00" Thanks, Mike "Ron Coderre" wrote: Actually, to match your request to use the value in Cell A1.... Try this: =NOW()-A1/(24*60) -------------------------- Regards, Ron (XL2003, Win XP) Microsoft MVP (Excel) "Ron Coderre" wrote in message ... Try this: =NOW()-5/(24*60) Format the cell in an appropriate date/time format. Just be aware that the cell won't keep incrementing at regular intervals....Only when you recalculate. Does that help? -------------------------- Regards, Ron (XL2003, Win XP) Microsoft MVP (Excel) "Chuck" wrote in message ... If A1 = 5 How can I display a Date/Time [A1] minutes earlier than Now() Chuck |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Subtract 5 minutes from Now()
|
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
Subtract 5 minutes from Now()
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Subtract 30 minutes from Formula | Excel Worksheet Functions | |||
subtract minutes from time | Excel Discussion (Misc queries) | |||
How do you subtract time? (ie 03:15 am minus 5 minutes) | Excel Discussion (Misc queries) | |||
Subtract one time from another and get answer in minutes | Excel Discussion (Misc queries) | |||
What formula is used to add or subtract minutes from a time in a . | Excel Worksheet Functions |