Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
how do I format a cell to subtract 3 hours from another cell?
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
There's probably a more efficient way to do this, but I so rarely use Times
in my work, I'm not sure. But if you're just working with Time and not Dates, this works: =TIME(IF(HOUR(A1)<3,21+HOUR(A1),HOUR(A1)-3),MINUTE(A1),SECOND(A1)) HTH, Elkar "dmunhall" wrote: how do I format a cell to subtract 3 hours from another cell? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Can't you just subtract 3 from the hour value? Example. Say cell A1 has Eastern time. You want cell b4 to reflect pacific time. In cell b4 enter "=A1-3" Or, you could just move to California. -- GregP1962 ------------------------------------------------------------------------ GregP1962's Profile: http://www.excelforum.com/member.php...o&userid=33063 View this thread: http://www.excelforum.com/showthread...hreadid=528767 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try something like this:
For a time in A1 B1: =A1-3*1/24 The cells must be formatted as Time to display correctly. Does that help? *********** Regards, Ron XL2002, WinXP-Pro "dmunhall" wrote: how do I format a cell to subtract 3 hours from another cell? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Ron Coderre Wrote: Try something like this: For a time in A1 B1: =A1-3*1/24 But you'll have a problem with this if, for instance A1 contains the time 02:00 Try =MOD(A1-"03:00",1) -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=528767 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I enter a time in excel so it does not print as 1:00:00 PM | New Users to Excel | |||
Saving Excel files takes a huge amount of time | Excel Discussion (Misc queries) | |||
Every second time i open Excel, it displays the document recovery pane | Excel Discussion (Misc queries) | |||
Excel formula for a time sheet | Excel Worksheet Functions | |||
Unix Time in Excel | Excel Worksheet Functions |