Hi,
I have a large data set which include a date on each line. This ranges back to 2009. I need a formula which can identify which quarter each line fits into ie: date is 1/12/2011 - should read 'Q4 2011'
I have come up with a long winded formula of:
=YEAR(K173)&IF(MONTH(K173)<=3,"Q1",IF(AND(MONTH(K173)>3,MONTH(K173)<=6),"Q2",IF(AND(MONTH(K173)>6,MONTH(K173)<=9),"Q3","Q4")))
But is there a more efficient formula I could use?
Thank you
I have a large data set which include a date on each line. This ranges back to 2009. I need a formula which can identify which quarter each line fits into ie: date is 1/12/2011 - should read 'Q4 2011'
I have come up with a long winded formula of:
=YEAR(K173)&IF(MONTH(K173)<=3,"Q1",IF(AND(MONTH(K173)>3,MONTH(K173)<=6),"Q2",IF(AND(MONTH(K173)>6,MONTH(K173)<=9),"Q3","Q4")))
But is there a more efficient formula I could use?
Thank you