• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

IF Statement to identify Overdue and Future Delivery Dates in a particular Fiscal Year|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / IF Statement to identify Overdue and Future Delivery Dates in a particular Fiscal Year|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…IF Statement to identify Overdue an…
sp_PrintTopic sp_TopicIcon
IF Statement to identify Overdue and Future Delivery Dates in a particular Fiscal Year
Avatar
Amien Attwood
Cape Town
Member
Members
Level 0
Forum Posts: 18
Member Since:
May 8, 2018
sp_UserOfflineSmall Offline
1
August 11, 2020 - 3:55 am
sp_Permalink sp_Print

I would appreciate if anyone or Mynda herself can please assist.

Two weeks ago Mynda posted a video on YouTube explaining "Convert Dates to Fiscal Periods".

Our financial year also runs from Jul-June, so say all the dates in Column A are Delivery Dates e.g. 15/03/2019; 03/07/2019; 15/12/2020, etc. I know now how to extract the Fiscal Years (FY) for these dates thanks to Mynda's video. However, I want to join the following to Mynda's formula in Column B but struggle to get it right:

If the Delivery Date is greater than or equal to Today's Date, then return the text string "Future" otherwise if the Delivery Date is any date prior to Today's Date then return the text string "Overdue in FY????" e.g.

15/03/2019 to be "Overdue in FY2019"

03/07/2019 to be "Overdue in FY2020"

15/12/2020 to be "Overdue in FY2021";etc.

All within Mynda's formula where the fiscal year is extracted.

Thanks

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4447
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
August 11, 2020 - 11:44 am
sp_Permalink sp_Print

Hi Amien,

You can try this formula where your delivery dates are in the 'Date' column of an Excel Table:

=IF([@Date]<TODAY(),"Overdue in ","Future ")&IF(MONTH([@Date])<7,YEAR([@Date]),YEAR([@Date])+1)

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
Amien Attwood
Cape Town
Member
Members
Level 0
Forum Posts: 18
Member Since:
May 8, 2018
sp_UserOfflineSmall Offline
3
August 12, 2020 - 6:29 am
sp_Permalink sp_Print

Wow! Works perfect. Mynda, you are awesome as always.

I notice the ConCat in there.

Thanks and much apreciated.Laugh

Avatar
Amien Attwood
Cape Town
Member
Members
Level 0
Forum Posts: 18
Member Since:
May 8, 2018
sp_UserOfflineSmall Offline
4
August 23, 2020 - 6:52 am
sp_Permalink sp_Print

Hi Mynda

I wanna take this a step further. If my table/data (without any formulas) is imported into Power Pivot, do I add a Measure to get to the same result as per your solution in the normal table and how do I write the formula in the Measure?  OR if a Measure is not workable how do I write the same formula (your solution) in the first blank column of the table in Power Pivot?

Whether it is a Measure or an add on column with the formula, I wanna use it in a Pivot Table to build my interactive Dashboard based on the Fiscal Year in which the Delivery Dates are Overdue or Future.

Hope you can refer to my initial question for the Data and help with this.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Shanna Henseler
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Forum Stats:
Groups: 3
Forums: 24
Topics: 6210
Posts: 27236

 

Member Stats:
Guest Posters: 49
Members: 31888
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.