Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calcuate 2 days prior to TODAY

How do you calculate 2 days prior to =TODAY()?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Calcuate 2 days prior to TODAY

Dates are just numbers (offsets from January 1, 1900) which have been
formatted to look like humans expect dates to look... so you can do math on
them. The formula you want is simply...

=TODAY()-2

--
Rick (MVP - Excel)


"jmsinner" wrote in message
...
How do you calculate 2 days prior to =TODAY()?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default Calcuate 2 days prior to TODAY

No. I'm using excel/vba to fill web forms. The problem is when the IE
window loses it's active status(by user clicking on another window, the
filling is redirected to the other window.

Dennis


"jmsinner" wrote in message
...
How do you calculate 2 days prior to =TODAY()?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Calcuate 2 days prior to TODAY

'VBA
Date-2

'Worksheet function
=TODAY()-2

If this post helps click Yes
---------------
Jacob Skaria


"jmsinner" wrote:

How do you calculate 2 days prior to =TODAY()?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Calcuate 2 days prior to TODAY

On Sun, 19 Jul 2009 09:40:01 -0700, jmsinner
wrote:

How do you calculate 2 days prior to =TODAY()?


=today()-2

--ron
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
How to filter for Dates prior to Today Tommy Excel Discussion (Misc queries) 1 June 4th 10 03:51 PM
How do count a cell range that include all dates prior to today? Bill T Excel Discussion (Misc queries) 3 August 19th 09 05:40 PM
Countifs of prior years monthly data based on MTD today Joe R @ AA Excel Worksheet Functions 3 April 14th 09 04:09 PM
Count Days more than 180 days prior to today Gregory Day Excel Worksheet Functions 4 March 28th 08 10:16 PM
sum values between today and 6 months prior Qaspec Excel Worksheet Functions 3 January 19th 05 08:17 PM


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