Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Convert date to yyQn
how to return a date to YYQN (eg 08Q1, 08Q2)?
thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Convert date to yyQn
With date in A1
=TEXT(A1,"yy")&"Q"&INT((MONTH(A1)-1)/3)+1 HTH. Best wishes Harald "Christine" wrote in message ... how to return a date to YYQN (eg 08Q1, 08Q2)? thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Convert date to yyQn
Based on a calender quarter:
With a date in A1: =TEXT(A1,"yy")&"Q"&CEILING(MONTH(A1)/3,1) Based on today's date: =TEXT(NOW(),"yy")&"Q"&CEILING(MONTH(NOW())/3,1) -- Biff Microsoft Excel MVP "Christine" wrote in message ... how to return a date to YYQN (eg 08Q1, 08Q2)? thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Convert date to yyQn
Christine,
I dont know of a way to return the Quarter in a Custom Format, or any other. However, there is a formula to use to do this yourself: =IF(MONTH(A1)<10,IF(MONTH(A1)<7,IF(MONTH(A1)<4,TEX T(A1,"yy")&"Q1",TEXT(A1,"yy")&"Q2"),TEXT(A1,"yy")& "Q3"),TEXT(A1,"yy")&"Q4") -- --Thomas [PBD] Working hard to make working easy. Answered your question? Click ''Yes'' below. "Christine" wrote: how to return a date to YYQN (eg 08Q1, 08Q2)? thanks |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Convert date to yyQn
Please do not double post your questions.
-- John C "Christine" wrote: how to return a date to YYQN (eg 08Q1, 08Q2)? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do you convert an uncoded date (e.g., 20080304) to a date form | Excel Worksheet Functions | |||
Help: How do I convert a text date into a real date format | Excel Worksheet Functions | |||
Convert a julian gregorian date code into a regular date | Excel Worksheet Functions | |||
how to convert julian date to regular calendar date | Excel Worksheet Functions | |||
Convert date to length of time in months from set date | Excel Worksheet Functions |