Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am building a spreadsheeet, where If a cell has a "Yes" in it is is work
..75 and a "no" equals 0. I know a IF statement will help, but I don't know how. I also want Excel to caculate from an inputted date how many moths ago it was. Can anyone help? Craig |
#2
![]() |
|||
|
|||
![]()
=IF(A2="Yes",.75,0)
is all that you need -- HTH Bob Phillips "craigscoop" wrote in message ... I am building a spreadsheeet, where If a cell has a "Yes" in it is is work .75 and a "no" equals 0. I know a IF statement will help, but I don't know how. I also want Excel to caculate from an inputted date how many moths ago it was. Can anyone help? Craig |
#3
![]() |
|||
|
|||
![]()
To answer your other question, =DATEDIF(D10,E10,"m"), where D10
contains the earlier date and E10 the later date. A very useful function that has been in XL for several releases but remains mysteriously undocumented. Even more mysterious is that it was documented in 2000 help and the documentation was pulled in the next release! -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article , says... I am building a spreadsheeet, where If a cell has a "Yes" in it is is work .75 and a "no" equals 0. I know a IF statement will help, but I don't know how. I also want Excel to caculate from an inputted date how many moths ago it was. Can anyone help? Craig |
#4
![]() |
|||
|
|||
![]() Try this (adjust cell references as needed): =IF(A1="YES",0.75,0) This will return zero until A1 contains "YES" Does this work for you? Bruce -- swatsp0p ------------------------------------------------------------------------ swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101 View this thread: http://www.excelforum.com/showthread...hreadid=383652 |
#5
![]() |
|||
|
|||
![]()
This does answer my question to a point, but I just want it to run off todays
date, is that possible? Craig "Tushar Mehta" wrote: To answer your other question, =DATEDIF(D10,E10,"m"), where D10 contains the earlier date and E10 the later date. A very useful function that has been in XL for several releases but remains mysteriously undocumented. Even more mysterious is that it was documented in 2000 help and the documentation was pulled in the next release! -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article , says... I am building a spreadsheeet, where If a cell has a "Yes" in it is is work .75 and a "no" equals 0. I know a IF statement will help, but I don't know how. I also want Excel to caculate from an inputted date how many moths ago it was. Can anyone help? Craig |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to create a command button, then assign macro to it in excel | Excel Discussion (Misc queries) | |||
Linking excel values to a web page. | Excel Discussion (Misc queries) | |||
How do I sum rounded values from two seperate formulas in Excel? | Excel Worksheet Functions | |||
Excel Compare values in columns & display missing values in a new | Excel Discussion (Misc queries) | |||
Can Excel represent formula in textural format with values substi. | Excel Worksheet Functions |