Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
How can I format a date 01/01/05 to show up as Qrt1, 04/01/05 to show up as
Qrt2 and so on? Any help appreciated. Thanks |
#2
![]() |
|||
|
|||
![]()
Perhaps an alternative to try:
Assuming dates are in col A, A1 down Put in B1: =IF(A1="","",VLOOKUP(MONTH(A1),{1,"Qtr1";4,"Qtr2"; 7,"Qtr3";10,"Qtr4"},2)&", "&TEXT(A1,"mm/dd/yy")) Copy B1 down Col B will display what you want -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "sacredarms" wrote in message ... How can I format a date 01/01/05 to show up as Qrt1, 04/01/05 to show up as Qrt2 and so on? Any help appreciated. Thanks |
#3
![]() |
|||
|
|||
![]()
Thank you for the help. Much appreciated.
"Max" wrote: Perhaps an alternative to try: Assuming dates are in col A, A1 down Put in B1: =IF(A1="","",VLOOKUP(MONTH(A1),{1,"Qtr1";4,"Qtr2"; 7,"Qtr3";10,"Qtr4"},2)&", "&TEXT(A1,"mm/dd/yy")) Copy B1 down Col B will display what you want -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "sacredarms" wrote in message ... How can I format a date 01/01/05 to show up as Qrt1, 04/01/05 to show up as Qrt2 and so on? Any help appreciated. Thanks |
#4
![]() |
|||
|
|||
![]()
You're welcome !
Thanks for the feedback -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "sacredarms" wrote in message ... Thank you for the help. Much appreciated. |
#5
![]() |
|||
|
|||
![]()
Put in B1:
=IF(A1="","",VLOOKUP(MONTH(A1),{1,"Qtr1";4,"Qtr2"; 7,"Qtr3";10,"Qtr4"},2)&", "&TEXT(A1,"mm/dd/yy")) On 2nd reading, think the suggested formula was "overdone" due to a slight over-interp of the orig. post <g It should have been just in B1: =IF(A1="","",VLOOKUP(MONTH(A1),{1,"Qtr1";4,"Qtr2"; 7,"Qtr3";10,"Qtr4"},2)) to return just: "Qtr1" or "Qtr2", etc -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format date dd.mm.yyyy to dd/mm/yyyy | Excel Discussion (Misc queries) | |||
USING THE DATE FORMAT IN EXCEL | Excel Discussion (Misc queries) | |||
Date format collapses diagram | Excel Discussion (Misc queries) | |||
prevent 4/5 in a cell automatically transfer to a date format | Excel Discussion (Misc queries) | |||
Problem with Date format from VBA code | Excel Discussion (Misc queries) |