Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional DAY
Hi Group,
I am trying to set up a conditional statement that reads the DAY from a date in a cell, and my formula is not working. I am trying to make the cell return 1 if the day is 15 and 2 if the day is =<15 C2 is formatted as a Date cell (type M/DD/YYYY) My forumula is: =IF(DAY(C215),1,2 Thank you, Dan |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional DAY
Use it like this
=IF(DAY(C2)15,1,2) -- Regards Ron de Bruin http://www.rondebruin.nl wrote in message oups.com... Hi Group, I am trying to set up a conditional statement that reads the DAY from a date in a cell, and my formula is not working. I am trying to make the cell return 1 if the day is 15 and 2 if the day is =<15 C2 is formatted as a Date cell (type M/DD/YYYY) My forumula is: =IF(DAY(C215),1,2 Thank you, Dan |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional DAY
=IF(DAY(C2)15,1,2)
-- HTH Bob Phillips (remove nothere from email address if mailing direct) wrote in message oups.com... Hi Group, I am trying to set up a conditional statement that reads the DAY from a date in a cell, and my formula is not working. I am trying to make the cell return 1 if the day is 15 and 2 if the day is =<15 C2 is formatted as a Date cell (type M/DD/YYYY) My forumula is: =IF(DAY(C215),1,2 Thank you, Dan |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional DAY
Hi Dan,
A simple misplaced parenthesis Use =IF(DAY(C2)15,1,2) best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email wrote in message oups.com... Hi Group, I am trying to set up a conditional statement that reads the DAY from a date in a cell, and my formula is not working. I am trying to make the cell return 1 if the day is 15 and 2 if the day is =<15 C2 is formatted as a Date cell (type M/DD/YYYY) My forumula is: =IF(DAY(C215),1,2 Thank you, Dan |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional DAY
Thanks so much everyone! Problem solved... I am new to excel formulas
and appreciate your patience. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional Formatting when inserting a row | Excel Worksheet Functions | |||
Conditional Format Not Working | Excel Discussion (Misc queries) | |||
Conditional formula - language needed | Excel Worksheet Functions | |||
VLOOKUP & Conditional Formating Help. | Excel Discussion (Misc queries) | |||
Conditional formatting not available in Excel | Excel Discussion (Misc queries) |