• 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

INDEX and MATCH values between dates|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / INDEX and MATCH values between dates|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…INDEX and MATCH values between date…
sp_PrintTopic sp_TopicIcon
INDEX and MATCH values between dates
Avatar
Christopher Turner

Active Member
Members

Excel Analysis Toolpak
Level 0
Forum Posts: 5
Member Since:
February 13, 2018
sp_UserOfflineSmall Offline
1
April 16, 2018 - 3:43 am
sp_Permalink sp_Print

I am using this formula =INDEX('OEE Report'!$C:$C,MATCH($A4,'OEE Report'!$B:$B,0)) to see which part numbers are running on a specific molder. I want to ensure that I am seeing the most recent part number based on yesterday's date. 

The formula is in the Master Downtime Analysis 2018 worksheet in Column B - Part Numbers. I was trying to insert an IF statement to only show part numbers on each molder from yesterday's date in Cells D1 and D2. Not having much success, so any help would really be appreciated. I have tried several iterations of the formula with an IF Statement but now I'm lost. 

=INDEX(('OEE Report'!$C:$C,MATCH(IF($A4="","",$A4,'OEE Report'!$A:$A,">=D$1,'OEE Report'!$A:$A,<=$D$2,($A4,'OEE Report'!$B:$B,0))

 

Any help would be truly appreciated. 

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
April 16, 2018 - 12:51 pm
sp_Permalink sp_Print

Hi Chris

What is it that is not working? Can you give an example of which cell is not correct and what is the expected value?

I noted that you are using TODAY()-1 to get yesterday's date.

If you open your file today (16/04/2018), yesterday's date will be 15/04/2018.

Your formula win not be able to extract any data as your data's last date is only up till 13/04/2018.

Could this be the problem?

Sunny

Avatar
Christopher Turner

Active Member
Members

Excel Analysis Toolpak
Level 0
Forum Posts: 5
Member Since:
February 13, 2018
sp_UserOfflineSmall Offline
3
April 17, 2018 - 5:33 am
sp_Permalink sp_Print

HI SunnyKow,

I appreciate your valuable feedback. Yes, the OEE report table is updated on a daily basis with data from yesterday production runs, so the formulae work as soon as the data is entered and I refresh the pivot tables for yesterday, past 7 days and overall totals.

I was just trying to amend the part number formula to make sure that molders running specific part numbers were being updated if any changes occurred during the previous 24 hours when yesterdays data is added to the OEE report worksheet. 

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
April 17, 2018 - 1:20 pm
sp_Permalink sp_Print

Hi Chris

Give this a try. The formula is in column F. It will extract the part number based on the Molder (column A) and yesterday's date (cell D1)

It is an array formula so you will need to press CTRL+SHIFT+ENTER instead of a normal ENTER to complete the entry.

The formulas are currently showing errors but once you have the correct data, it will show the part number.

Hope this helps.

Sunny

Avatar
Christopher Turner

Active Member
Members

Excel Analysis Toolpak
Level 0
Forum Posts: 5
Member Since:
February 13, 2018
sp_UserOfflineSmall Offline
5
April 18, 2018 - 4:12 am
sp_Permalink sp_Print

SunnyKow, 

Thank you so much for your help. The array formula works perfectly. I am able to now see the latest product number for each molder. I really appreciate you taking the time to help me with this issue. 

Chris

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
April 18, 2018 - 9:02 am
sp_Permalink sp_Print

Hi Chris

Thanks for your feedback.

Glad to know it is working for you.

Cheers

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: adam elias
Guest(s) 10
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:
Lawrence Miu
Jo Saies
Paul Pritchard
Monique Roussouw
Keith Aul
Richard Dunks
Manjula Mangalmurti
Thomas Quidort
Jamie Preece
Bob Smith
Forum Stats:
Groups: 3
Forums: 24
Topics: 6192
Posts: 27146

 

Member Stats:
Guest Posters: 49
Members: 31847
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.