format cells for quarters

E

Elsie M

How can we format cells to convert to 1st qtr, 2nd qtr, 3rd qtr or 4th qtr
when a date is input such as 3/30/03 which would convert to 1st qtr.

Any help would be appreciated.

Elsie
 
J

JohnI in Brisbane

Elsie,

Try the following-

=CHOOSE(INT((MONTH(A2)+2)/3),"1st","2nd","3rd","4th")&" qtr"

regards,

JohnI
 
F

Fabian

Elsie M said:
How can we format cells to convert to 1st qtr, 2nd qtr, 3rd qtr or 4th qtr
when a date is input such as 3/30/03 which would convert to 1st qtr.

=roundup(month(source data)/4,0)

Not sure exactly what that month function is called, it shoud get the
month as a number from 1-12. If you want it as text, you could enter teh
season names somewhere and use a vlookup on that table with the above
number.

--
--
Fabian
Humans have to stop treating each other like they treat us ants. Think
about it. If we build, say, a pair of very tall structures, like two
anthills side-by-side, some stupid human swoops in out of nowhere and
knocks them down. Or humans will drop food on the ground near us. we
think it's for us, but those same humans will also try to kill us! I
have no sense of irony, I'm just an ant. But if I did, I'm sure I'd
notice that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top