Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000")))
ISODD uses the ATP. Excel will complain. I'd use MOD instead. But, I'd like to know if these are formula results or user entered. I went under the assumption they were formula results as they were presented in uppercase. -- Biff Microsoft Excel MVP "Glenn" wrote in message ... Rick Rothstein wrote: Good point! Maybe these formulas instead... =AND($AK$2<"",NOT(ISNUMBER(FIND("*",$AK$2))),SEAR CH("*"&$AK$2&"*","*JAN*MAR*MAY*JUL*SEP*NOV*")) =AND($AK$2<"",NOT(ISNUMBER(FIND("*",$AK$2))),SEAR CH("*"&$AK$2&"*","*FEB*APR*JUN*AUG*OCT*DEC*")) Why not something like this: =ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000")))
If AK2 is a number the format is applied based on the month number of the date serial number. -- Biff Microsoft Excel MVP "T. Valko" wrote in message ... =ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) ISODD uses the ATP. Excel will complain. I'd use MOD instead. But, I'd like to know if these are formula results or user entered. I went under the assumption they were formula results as they were presented in uppercase. -- Biff Microsoft Excel MVP "Glenn" wrote in message ... Rick Rothstein wrote: Good point! Maybe these formulas instead... =AND($AK$2<"",NOT(ISNUMBER(FIND("*",$AK$2))),SEAR CH("*"&$AK$2&"*","*JAN*MAR*MAY*JUL*SEP*NOV*")) =AND($AK$2<"",NOT(ISNUMBER(FIND("*",$AK$2))),SEAR CH("*"&$AK$2&"*","*FEB*APR*JUN*AUG*OCT*DEC*")) Why not something like this: =ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If AK2 is a number...
....from 1 to 31... -- Biff Microsoft Excel MVP "T. Valko" wrote in message ... =ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) If AK2 is a number the format is applied based on the month number of the date serial number. -- Biff Microsoft Excel MVP "T. Valko" wrote in message ... =ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) ISODD uses the ATP. Excel will complain. I'd use MOD instead. But, I'd like to know if these are formula results or user entered. I went under the assumption they were formula results as they were presented in uppercase. -- Biff Microsoft Excel MVP "Glenn" wrote in message ... Rick Rothstein wrote: Good point! Maybe these formulas instead... =AND($AK$2<"",NOT(ISNUMBER(FIND("*",$AK$2))),SEAR CH("*"&$AK$2&"*","*JAN*MAR*MAY*JUL*SEP*NOV*")) =AND($AK$2<"",NOT(ISNUMBER(FIND("*",$AK$2))),SEAR CH("*"&$AK$2&"*","*FEB*APR*JUN*AUG*OCT*DEC*")) Why not something like this: =ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
T. Valko wrote:
=ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) ISODD uses the ATP. Excel will complain. I'd use MOD instead. But, I'd like to know if these are formula results or user entered. I went under the assumption they were formula results as they were presented in uppercase. Right, so some variation of this: =MOD(MONTH(DATEVALUE("1-"&$AK$2&"-2000")),2) The OP seems to be saying that the data in AK2 is text, but if not, than you could drop the DATEVALUE() and I would just use something like this: =MOD(MONTH($AK$2)) |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Glenn wrote:
T. Valko wrote: =ISODD(MONTH(DATEVALUE("1-"&$AK$2&"-2000"))) ISODD uses the ATP. Excel will complain. I'd use MOD instead. But, I'd like to know if these are formula results or user entered. I went under the assumption they were formula results as they were presented in uppercase. Right, so some variation of this: =MOD(MONTH(DATEVALUE("1-"&$AK$2&"-2000")),2) The OP seems to be saying that the data in AK2 is text, but if not, than you could drop the DATEVALUE() and I would just use something like this: =MOD(MONTH($AK$2)) Obviously missing the ",2" in that last MOD()... =MOD(MONTH($AK$2),2) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula constants? | Excel Worksheet Functions | |||
Constants in Excel | Excel Discussion (Misc queries) | |||
how to find intersections points of lines in charts | Charts and Charting in Excel | |||
Intersections | Excel Discussion (Misc queries) | |||
constants | Excel Discussion (Misc queries) |