Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 414
Default How do i subtract 3 hrs from now()?


  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How do i subtract 3 hrs from now()?

Sure, I can help you with that!

To subtract 3 hours from the current time in Excel, you can use the NOW() function to get the current date and time, and then subtract 3 hours from it using the TIME() function.

Here are the steps:
  1. In a cell, type =NOW() to get the current date and time.
  2. To subtract 3 hours from the current time, you can use the following formula: =NOW() - TIME(3,0,0)

    The TIME() function takes three arguments: hours, minutes, and seconds. In this case, we want to subtract 3 hours, so we use 3 for the hours argument, and 0 for the minutes and seconds arguments.
  3. Press Enter to get the result.

    The cell should now display the current date and time minus 3 hours.

That's it! I hope this helps.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do i subtract 3 hrs from now()?

=NOW()-0.125

--
Biff
Microsoft Excel MVP


"Andy" wrote in message
...



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default How do i subtract 3 hrs from now()?

That'd be three hours ago. Assuming "three hours from now" means three hours
in the future, use plus rather than minus; but the principle is correct.

--- "T. Valko" wrote:
=NOW()-0.125

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default How do i subtract 3 hrs from now()?

I believe Biff's assumption is correct, why would someone use subtract if
they mean in the future,
I mean if the OP would have said subtract 3 hours from 15:00 it becomes even
more clear.
OTOH if someone says 3 hours from now it means 3 hours into the future. In
this case
I would go with Biff's assumption.


--


Regards,


Peo Sjoblom



"Bob Bridges" wrote in message
...
That'd be three hours ago. Assuming "three hours from now" means three
hours
in the future, use plus rather than minus; but the principle is correct.

--- "T. Valko" wrote:
=NOW()-0.125





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do i subtract 3 hrs from now()?

How do i subtract 3 hrs from now()?

Seems fairly explicit to me. I could be wrong but I wouldn't bet against me!

--
Biff
Microsoft Excel MVP


"Bob Bridges" wrote in message
...
That'd be three hours ago. Assuming "three hours from now" means three
hours
in the future, use plus rather than minus; but the principle is correct.

--- "T. Valko" wrote:
=NOW()-0.125



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default How do i subtract 3 hrs from now()?

He said 3 hours from Now(), the value returned by the Excel function, not 3
hours from now, this moment in time.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Bob Bridges" wrote in message
...
That'd be three hours ago. Assuming "three hours from now" means three
hours
in the future, use plus rather than minus; but the principle is correct.

--- "T. Valko" wrote:
=NOW()-0.125



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default How do i subtract 3 hrs from now()?

More explicit

=Now()-"3:00"

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"T. Valko" wrote in message
...
=NOW()-0.125

--
Biff
Microsoft Excel MVP


"Andy" wrote in message
...





  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How do i subtract 3 hrs from now()?

.... or =NOW()-TIME(3,0,0)
--
David Biddulph

"Bob Phillips" wrote in message
...
More explicit

=Now()-"3:00"

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"T. Valko" wrote in message
...
=NOW()-0.125

--
Biff
Microsoft Excel MVP


"Andy" wrote in message
...







  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default How do i subtract 3 hrs from now()?

Yeah but with mine you can do

=NOW()-"3:00 PM"

<G

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
... or =NOW()-TIME(3,0,0)
--
David Biddulph

"Bob Phillips" wrote in message
...
More explicit

=Now()-"3:00"

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"T. Valko" wrote in message
...
=NOW()-0.125

--
Biff
Microsoft Excel MVP


"Andy" wrote in message
...









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
Subtract Chi Excel Worksheet Functions 0 April 1st 08 02:52 PM
how do i add and subtract kim New Users to Excel 4 December 22nd 07 12:10 AM
subtract henryshuttle Excel Discussion (Misc queries) 2 June 26th 06 05:05 PM
how to subtract one row from the other? prasad Excel Discussion (Misc queries) 1 April 8th 05 08:38 PM
Add IF or Subtract IF?? RJ Excel Worksheet Functions 4 November 30th 04 09:03 PM


All times are GMT +1. The time now is 03:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"