How do I format Quarter with no given dates?

liloo

New Member
Joined
May 2, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi,
I'm given a spreadsheet with no actual dates but only FY and Quarters in two separate columns. How do I convert the Quarter column to reflect it is a date so I may use it in Power BI?
Many thanks in advance.

Here is a sample:
*The actual file is much larger with many more rows and jumps around between the quarters.
StoreTypeProduct LineFYQtrAmount
AForecasted SalesDairy
2024​
Q14,500
AForecasted SalesBakery
2024​
Q13,000
AForecasted SalesBeverage
2024​
Q14,500
BForecasted SalesDairy
2024​
Q13,000
BForecasted SalesBakery
2024​
Q15,700
BForecasted SalesBeverage
2024​
Q14,500
CForecasted SalesDairy
2024​
Q14,500
CForecasted SalesBakery
2024​
Q14,500
CForecasted SalesBeverage
2024​
Q15,500
AForecasted SalesDairy
2024​
Q23,750
AForecasted SalesBakery
2024​
Q24,200
AForecasted SalesBeverage
2024​
Q24,500
BForecasted SalesDairy
2024​
Q23,750
BForecasted SalesBakery
2024​
Q25,400
BForecasted SalesBeverage
2024​
Q24,800
CForecasted SalesDairy
2024​
Q24,500
CForecasted SalesBakery
2024​
Q24,500
CForecasted SalesBeverage
2024​
Q25,500
AForecasted SalesDairy
2024​
Q33,500
AForecasted SalesBakery
2024​
Q34,200
AForecasted SalesBeverage
2024​
Q35,400
BForecasted SalesDairy
2024​
Q33,900
BForecasted SalesBakery
2024​
Q35,500
BForecasted SalesBeverage
2024​
Q36,000
CForecasted SalesDairy
2024​
Q34,500
CForecasted SalesBakery
2024​
Q34,800
CForecasted SalesBeverage
2024​
Q35,750
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi,
I'm given a spreadsheet with no actual dates but only FY and Quarters in two separate columns. How do I convert the Quarter column to reflect it is a date so I may use it in Power BI?
Many thanks in advance.

Here is a sample:
*The actual file is much larger with many more rows and jumps around between the quarters.
StoreTypeProduct LineFYQtrAmount
AForecasted SalesDairy
2024​
Q14,500
AForecasted SalesBakery
2024​
Q13,000
AForecasted SalesBeverage
2024​
Q14,500
BForecasted SalesDairy
2024​
Q13,000
BForecasted SalesBakery
2024​
Q15,700
BForecasted SalesBeverage
2024​
Q14,500
CForecasted SalesDairy
2024​
Q14,500
CForecasted SalesBakery
2024​
Q14,500
CForecasted SalesBeverage
2024​
Q15,500
AForecasted SalesDairy
2024​
Q23,750
AForecasted SalesBakery
2024​
Q24,200
AForecasted SalesBeverage
2024​
Q24,500
BForecasted SalesDairy
2024​
Q23,750
BForecasted SalesBakery
2024​
Q25,400
BForecasted SalesBeverage
2024​
Q24,800
CForecasted SalesDairy
2024​
Q24,500
CForecasted SalesBakery
2024​
Q24,500
CForecasted SalesBeverage
2024​
Q25,500
AForecasted SalesDairy
2024​
Q33,500
AForecasted SalesBakery
2024​
Q34,200
AForecasted SalesBeverage
2024​
Q35,400
BForecasted SalesDairy
2024​
Q33,900
BForecasted SalesBakery
2024​
Q35,500
BForecasted SalesBeverage
2024​
Q36,000
CForecasted SalesDairy
2024​
Q34,500
CForecasted SalesBakery
2024​
Q34,800
CForecasted SalesBeverage
2024​
Q35,750
Add a Helper column to give you the firts day of the quarter.

Multi-level Bill Of Materials explosion.xlsm
BCDEFG
1TypeProduct LineFYQtrAmountFirst Day Of Quarter
2Forecasted SalesDairy2024Q14,50001/01/2024
3Forecasted SalesBakery2024Q23,00001/04/2024
4Forecasted SalesBeverage2024Q34,50001/07/2024
5Forecasted SalesDairy2024Q43,00001/10/2024
6Forecasted SalesBakery2024Q15,70001/01/2024
7Forecasted SalesBeverage2024Q14,50001/01/2024
Dates
Cell Formulas
RangeFormula
G2:G7G2=DATE(D2,(REPLACE(E2,1,1,"")*3)-2,1)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top