Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Using IF Function on Dates
I want to build a formula that says =IF(A1=3/1/2008, # of months worked in
this case equals 10, if not another nested If that will use 4/1/08, etc.) . . Basically I want the date to kick off the # of months left in the year so I can calculate expense associated w/ the # of months left. I tried it but I'm having trouble getting the if to recognize the date. Thanks for your help! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Using IF Function on Dates
Use Date(2008,1,3) to test. Syntax is Date(year,month,date)
Better still enter the comparison date into a cell and use that reference for testing "Darin" wrote: I want to build a formula that says =IF(A1=3/1/2008, # of months worked in this case equals 10, if not another nested If that will use 4/1/08, etc.) . . Basically I want the date to kick off the # of months left in the year so I can calculate expense associated w/ the # of months left. I tried it but I'm having trouble getting the if to recognize the date. Thanks for your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If Function and Dates | Excel Worksheet Functions | |||
If Between Dates Function - please help | Excel Worksheet Functions | |||
IF function and DATES | Excel Worksheet Functions | |||
IF function using dates ? | Excel Worksheet Functions | |||
if function with dates | Excel Discussion (Misc queries) |