Formula converts date to quarter and year in Excel
A1 contains a date formatted cell as dd/mm/yr, say 01/15/06. What formula, in B1, would convert this date to: Q1-06?
Answer
use this formula if the date in cell A1 ="Q"&(ROUNDUP((MONTH(A1)/3),0)&"-"&RIGHT(YEAR(A1),2))
(for formulas, depending on your country, you might have to change ; with , or the opposite