Convert historical date to same date in FY 2022

estephenkim

New Member
Joined
Feb 6, 2016
Messages
27
Office Version
  1. 365
Platform
  1. Windows
I'm trying to convert a historical date to the same date in U.S. Government fiscal year 2022 and could use some help with the formula. For illustration, I've provided below a sample historical date which I want to convert to the same date in FY22.

  • Sample historical date: 07/23/01
  • Fiscal year 2022 date: 07/23/22

Formula =DATE(YEAR(IF(MONTH([Historical date])>=10,2021,2022)),MONTH([Historical date]),DAY([Historical date]))

I've tried the above formula, but I'm noticing that Excel is reading my IF THEN ELSE formula options of 2021 and 2022 as serial numbers, and thus returning 07/23/05. I'm drawing a blank as to how to properly construct the formula and would appreciate some suggestions. I'm also open to using a different formula, so if you have a clean, efficient way to structure this, then I would welcome your ideas.

Thanks,

Stephen
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
How about
Excel Formula:
=DATE(IF(MONTH([@[Historical date]])>=10,2021,2022),MONTH([@[Historical date]]),DAY([@[Historical date]]))
 
Upvote 0
That worked - nice!!! It looks like I didn't need the YEAR function after all. Thanks so much!
 
Upvote 0
You're welcome & thanks for the feedback.

I would also suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,223,887
Messages
6,175,199
Members
452,617
Latest member
Narendra Babu D

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