Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default How to use date for calculating values in other cells

I want to include the date in the "If" statement for calculating values in
other cells.
Example: If the start date is after 1/1/1999, then A-B.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 411
Default How to use date for calculating values in other cells

On Oct 17, 10:03*am, Bamboozled
wrote:
I want to include the date in the "If" statement for calculating values in
other cells.
Example: *If the start date is after 1/1/1999, then A-B. *


If the start date is in c1, would this work?

=if(c11/1/1999,a1-b1,"")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default How to use date for calculating values in other cells

On Oct 17, 12:03*pm, Bamboozled
wrote:
I want to include the date in the "If" statement for calculating values in
other cells.
Example: *If the start date is after 1/1/1999, then A-B. *


A date in Excel is just a number formatted to look like a date. So if
you know the number, you can use greater than or less than just like
any other number. 1/1/1999 is actually 36161. Or you can put your
control date in another cell (B1 below) and just reference it.
Something like:
=IF(A136161,A2-B2)
=IF(A1B1,A2-B2)
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
Ignore blank cells when calculating date for If, Then function AndreaS13 Excel Worksheet Functions 3 July 29th 08 12:30 AM
calculating date/time with blank cells ferde Excel Discussion (Misc queries) 2 August 23rd 07 11:26 PM
How do I make a formula calculating all cells after a certain date Mottyb Excel Worksheet Functions 3 August 1st 07 07:57 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM
Calculating current age from 2 date cells dhealy Excel Worksheet Functions 1 January 19th 05 04:50 PM


All times are GMT +1. The time now is 11:57 PM.

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"