Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have a column of dates. I need to write a formula that will check the date
and the result will be the correct quarter. How do I write the formula? 6/25/05 Q2 1/15/05 Q1 12/4/05 Q4 9/30/05 Q3 3/25/05 Q1 Thanks in advance, Cheryl |
#2
![]() |
|||
|
|||
![]()
On Fri, 9 Sep 2005 09:18:03 -0700, cheryl
wrote: I have a column of dates. I need to write a formula that will check the date and the result will be the correct quarter. How do I write the formula? 6/25/05 Q2 1/15/05 Q1 12/4/05 Q4 9/30/05 Q3 3/25/05 Q1 Thanks in advance, Cheryl =INT((MONTH(A1)-1)/3)+1 and format as: Format/Cells/Number Custom Type: \Q0 or, if you don't mind the result being TEXT, you could use: =TEXT(INT((MONTH(A1)-1)/3)+1,"\Q0") --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
help with formulas and dates??? | Excel Discussion (Misc queries) | |||
Array Formulas take waaaay too long... | Excel Worksheet Functions | |||
Problem with named formula's | Excel Worksheet Functions | |||
How do I sort a column of formulas in Excel? | Excel Discussion (Misc queries) | |||
calculating formulas for all workbooks in a folder | Excel Worksheet Functions |