Hi,
I need help for converting Quarter to date. Example: 3Q 2019 should show 09/30/2019.
Thanks!
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.
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 31q 1/1/2019 42q 4/1/2019 53q 7/1/2019 64q 10/1/2019 7 82q 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
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 31q 1/1/2019 42q 4/1/2019 53q 7/1/2019 64q 10/1/2019 7 82q 2019 4/1/2019
Phuocam's suggest might be a better approach than mine
Thanks! That works
Thanks both!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks