Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I've looked in this forum and the help feature in Excel and have only partially succeeded. I'm trying to return an Warranty Expiry Date based on date of receipt of product. Cell A2 has Date 9/06/08 Cell B2 has data validation list - "1 yr", "2 yr", "3 yr", etc. Here are the two formulas I've played with: =IF(B2="1 yr",EDATE(A2,12),IF(B2="2 yr",EDATE(A2,24))) =IF(B2={"1 yr","2 yr","3 yr","4 yr"},EDATE(A2,{12,24,36,48})) they work great if I have "1 yr" selected, it calculates 12 additional months and returns 9/06/09, but returns FALSE if "2 yr" or higher is selected. I know I've missed it by just a comma or something. Any suggestions are welcome. -- Thank you, scrowley(AT)littleonline.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Array Function & EDATE | Excel Worksheet Functions | |||
EDATE does not work | Excel Discussion (Misc queries) | |||
Edate Formula | Excel Discussion (Misc queries) | |||
EDATE Problem | Excel Discussion (Misc queries) | |||
EDATE | Excel Worksheet Functions |