ok I have searched everywhere but cannot solve this problem I've been dealing with for over half a year. I have an excel sheet with a daily schedule of items. equipment id is the left column and dates across the third row. I need to find text in the sheet and get the date it falls under, but only if it is in the future. I have several years of dates and one column for each day going to the right. in sheet2 I have a summary of items coming due and what date they are under, in which I manually type in the due dates from sheet1. basically I scroll until I find the item then I go to sheet2 and type the date that it fell under. when items are scheduled on sheet1 by other users, I don't always know about it and then I have to go in frequently and look for new items. what I would like to do is just have the summary sheet2 read from sheet1 so that I can just see the upcoming items due at a glance.
I have tried to do a named dynamic range in which the name represents a date range of today and all dates in the future. unsuccessful. I cant ever get the today part to work. here is what I tried. I set cell A1 to =today().
named range
I tried to do a few index match functions but they get hung up on dates from the past and future where the same items are found.
and
those last two codes are the closest I have to working correctly. only problem is that if multiple "oil change" results are present in row 5 then I get wrong dates. in the past or future. can anyone help me? thank you.
I have tried to do a named dynamic range in which the name represents a date range of today and all dates in the future. unsuccessful. I cant ever get the today part to work. here is what I tried. I set cell A1 to =today().
named range
Code:
=INDEX(SHEET1!$3:$3,MATCH(SHEET1!A1,SHEET1!$3:$3,0)):INDEX(SHEET1!$3:$3,COUNTA(SHEET1!$3:$3))
I tried to do a few index match functions but they get hung up on dates from the past and future where the same items are found.
Code:
=IF(INDEX(SHEET1!3:3,MATCH("*"&"oil change"&"*",SHEET1!5:5,0))>=TODAY(),INDEX(SHEET1!3:3,MATCH("*"&"oil change"&"*",SHEET1!5:5,0)),"not scheduled")
Code:
=IFERROR(INDEX(SHEET1!3:3,MATCH("*"&"oil change"&"*",INDEX((LEFT(SHEET1!5:5,10)="*"&"oil change"&"*")*(SHEET1!3:3>=TODAY()),0),0)),"not scheduled")
those last two codes are the closest I have to working correctly. only problem is that if multiple "oil change" results are present in row 5 then I get wrong dates. in the past or future. can anyone help me? thank you.