Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
USING "IF" STATEMENTS FOR MONTHS OF YEAR(IF 1=JANUARY)
I Have the following if statement in my excel spreadhseet. the only problem
is that I cannot finish out the year with Sept.-Dec. (I get an error that says the statement is too big) What can I do to make this formula work for the whole year?? =IF(Date!D2=1,"JAN.",IF(Date!D2=2,"FEB.",IF(Date!D 2=3,"MAR.",IF(Date!D2=4,"APR.", IF(Date!D2=5,"MAY",IF(Date!D2=6,"JUN.",IF(Date!D2= 7,"JUL.",IF(Date!D2=8,"AUG.")))))))) |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
USING "IF" STATEMENTS FOR MONTHS OF YEAR(IF 1=JANUARY)
Try
=UPPER(TEVALUE("01-"&D2),"mmm")) HTH Bob "Tina" wrote in message ... I Have the following if statement in my excel spreadhseet. the only problem is that I cannot finish out the year with Sept.-Dec. (I get an error that says the statement is too big) What can I do to make this formula work for the whole year?? =IF(Date!D2=1,"JAN.",IF(Date!D2=2,"FEB.",IF(Date!D 2=3,"MAR.",IF(Date!D2=4,"APR.", IF(Date!D2=5,"MAY",IF(Date!D2=6,"JUN.",IF(Date!D2= 7,"JUL.",IF(Date!D2=8,"AUG.")))))))) |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
USING "IF" STATEMENTS FOR MONTHS OF YEAR(IF 1=JANUARY)
=IF(Date!D2="","",TEXT(DATE(2000,Date!D2,1),"mmm") &".")
Tina wrote: I Have the following if statement in my excel spreadhseet. the only problem is that I cannot finish out the year with Sept.-Dec. (I get an error that says the statement is too big) What can I do to make this formula work for the whole year?? =IF(Date!D2=1,"JAN.",IF(Date!D2=2,"FEB.",IF(Date!D 2=3,"MAR.",IF(Date!D2=4,"APR.", IF(Date!D2=5,"MAY",IF(Date!D2=6,"JUN.",IF(Date!D2= 7,"JUL.",IF(Date!D2=8,"AUG.")))))))) -- Dave Peterson |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
USING "IF" STATEMENTS FOR MONTHS OF YEAR(IF 1=JANUARY)
Either change to excel 2007, or use
=UPPER(TEXT(DATE(1900,Date!D2,1),"mmm"))&"." -- David Biddulph "Tina" wrote in message ... I Have the following if statement in my excel spreadhseet. the only problem is that I cannot finish out the year with Sept.-Dec. (I get an error that says the statement is too big) What can I do to make this formula work for the whole year?? =IF(Date!D2=1,"JAN.",IF(Date!D2=2,"FEB.",IF(Date!D 2=3,"MAR.",IF(Date!D2=4,"APR.", IF(Date!D2=5,"MAY",IF(Date!D2=6,"JUN.",IF(Date!D2= 7,"JUL.",IF(Date!D2=8,"AUG.")))))))) |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
USING "IF" STATEMENTS FOR MONTHS OF YEAR(IF 1=JANUARY)
Hi
Do you have a date there? If the answer is yes I have simple formula =TEXT(A1,"mmmm") (if in A1 is a date) click yes if helped -- Greatly appreciated Eva "Tina" wrote: I Have the following if statement in my excel spreadhseet. the only problem is that I cannot finish out the year with Sept.-Dec. (I get an error that says the statement is too big) What can I do to make this formula work for the whole year?? =IF(Date!D2=1,"JAN.",IF(Date!D2=2,"FEB.",IF(Date!D 2=3,"MAR.",IF(Date!D2=4,"APR.", IF(Date!D2=5,"MAY",IF(Date!D2=6,"JUN.",IF(Date!D2= 7,"JUL.",IF(Date!D2=8,"AUG.")))))))) |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
USING "IF" STATEMENTS FOR MONTHS OF YEAR(IF 1=JANUARY)
Got manged a bit, should have been
=UPPER(TEXT(VALUE("01-"&D2),"mmm")) HTH Bob "Bob Phillips" wrote in message ... Try =UPPER(TEVALUE("01-"&D2),"mmm")) HTH Bob "Tina" wrote in message ... I Have the following if statement in my excel spreadhseet. the only problem is that I cannot finish out the year with Sept.-Dec. (I get an error that says the statement is too big) What can I do to make this formula work for the whole year?? =IF(Date!D2=1,"JAN.",IF(Date!D2=2,"FEB.",IF(Date!D 2=3,"MAR.",IF(Date!D2=4,"APR.", IF(Date!D2=5,"MAY",IF(Date!D2=6,"JUN.",IF(Date!D2= 7,"JUL.",IF(Date!D2=8,"AUG.")))))))) |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
USING "IF" STATEMENTS FOR MONTHS OF YEAR(IF 1=JANUARY)
One more for you to try...
=UPPER(TEXT(28*D2,"mmm")) -- Rick (MVP - Excel) "Tina" wrote in message ... I Have the following if statement in my excel spreadhseet. the only problem is that I cannot finish out the year with Sept.-Dec. (I get an error that says the statement is too big) What can I do to make this formula work for the whole year?? =IF(Date!D2=1,"JAN.",IF(Date!D2=2,"FEB.",IF(Date!D 2=3,"MAR.",IF(Date!D2=4,"APR.", IF(Date!D2=5,"MAY",IF(Date!D2=6,"JUN.",IF(Date!D2= 7,"JUL.",IF(Date!D2=8,"AUG.")))))))) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Nested IF Statements, Months of Year | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
I have to count the entry which contains "January". | Excel Worksheet Functions | |||
Working out age from "Day" "Month" "Year" | Excel Worksheet Functions | |||
How do I count like dates in a column with format "January-05"? | Excel Worksheet Functions |