+ Reply to Thread
Results 1 to 6 of 6

Converting Quarter to Date

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    22

    Converting Quarter to Date

    Hi,

    I need help for converting Quarter to date. Example: 3Q 2019 should show 09/30/2019.

    Thanks!
    Last edited by maxi0009in; 03-16-2020 at 01:06 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Converting Quarter to Date

    1 way...
    =--(INDEX({"1/1","4/1","7/1","10/1"},MATCH(N3,{"1q","2q","3q","4q"},0))&"/2019")
    where N3 would contain your Q3

    OR
    create a small table with Q's and dates and use vlookup...
    N
    O
    3
    1q
    1/1/2019
    4
    2q
    4/1/2019
    5
    3q
    7/1/2019
    6
    4q
    10/1/2019
    7
    8
    2q
    4/1/2019
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Converting Quarter to Date

    Or try:

    =DATE(RIGHT(A1,4),LEFT(A1,1)*3+1,0)

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Converting Quarter to Date

    Quote Originally Posted by Phuocam View Post
    Or try:

    =DATE(RIGHT(A1,4),LEFT(A1,1)*3+1,0)
    ooops I forgot the Q included the year - thanks for (indirectly) pointing that out

    Changes to my suggestion...
    =--(INDEX({"1/1","4/1","7/1","10/1"},MATCH(LEFT(N8,2),{"1q","2q","3q","4q"},0))&"/2019")
    or
    N
    O
    3
    1q
    1/1/2019
    4
    2q
    4/1/2019
    5
    3q
    7/1/2019
    6
    4q
    10/1/2019
    7
    8
    2q 2019
    4/1/2019


    Phuocam's suggest might be a better approach than mine

  5. #5
    Registered User
    Join Date
    11-14-2012
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    22

    Re: Converting Quarter to Date

    Thanks! That works

  6. #6
    Registered User
    Join Date
    11-14-2012
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    22

    Re: Converting Quarter to Date

    Thanks both!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Calculate Quarter (date) and Calculate Average of Quarter and Sum of Quarter
    By Bobbbo in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-26-2020, 06:16 PM
  2. [SOLVED] Converting 1 to January so you can then GROUP by quarter in PIVOT
    By BigErnKingpin in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-05-2019, 04:09 AM
  3. [SOLVED] Formula for converting a date to quarter and leaving blank cell for no date values
    By jayc2111 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-10-2019, 12:57 AM
  4. [SOLVED] Converting Fiscal Periods to quarter number
    By ahuang3433 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-18-2017, 02:21 PM
  5. [SOLVED] Formula Error for converting date to quarter and year
    By jayc2111 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2013, 01:26 PM
  6. Replies: 0
    Last Post: 08-23-2005, 11:59 AM
  7. Converting a date in Excel 2002 to a Year/Quarter format
    By Jim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2005, 04:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1