View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.misc
Compben Compben is offline
external usenet poster
 
Posts: 6
Default Calculate a quarter

if cell A1 is empty I want it to report a 0 how can i do this. thanks in
advance. I am ccreating a template that calculate quarters but find that the
template without dates is hshowing that it is the 1st quarter.

"Gary''s Student" wrote:

With a date in A1:

=ROUNDUP(MONTH(A1)/3,0) & "Q" & RIGHT(YEAR(A1),2)


--
Gary''s Student - gsnu200786