Evaluate Criteria

I have a column D, that has an abbreviated time in this format hhZ, (12Z, 15Z, 18Z, 21Z, and so on)  I need to evaluate each row starting from D5 that is closest to the time on Sheet 2, A1.  make column Z=true, else false.  ONce you found true then make everything below that true.  I have attached a worksheet
SAMPLE.xlsx
macone1976Incident ResponderAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Danny ChildIT ManagerCommented:
OK, there's 3 stages to this
1 - find the closest match between your target value and your source range.
2 - search the range to find this value
3 - then fill subsequent formulae with TRUE from that point down.

I think the options here for
=MATCH(MIN(ABS(A1:Z1-A2)),ABS(A1:Z1-A2),0))
Confirm with CTRL+SHIFT+ENTER
will get there, but still working on it, perhaps with some helper rows to remove your Z character.  
However, gotta go now, can come back later...

http://www.mrexcel.com/forum/excel-questions/629441-how-find-closest-value-range-given-lookup-value.html
macone1976Incident ResponderAuthor Commented:
I column Z i removed the "Z" character
aikimarkCommented:
Look at the formulas in AA:AB of the attached workbook.
SAMPLE--3-.xlsx
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

macone1976Incident ResponderAuthor Commented:
aikimark, thanks I did have one additional thing I thought I could use that sample formula for other data on the page but it is not working.  I have about 5 sets of data. The new data started on row 51, but the formula does not work with that new set of data.  Any ideas
Copy-of-SAMPLE--3-.xlsx
aikimarkCommented:
some of the range references, with the $, are absolute references
=MATCH(MIN($AB$5:$AB$49),$AB$5:$AB$49,0)<=ROW()

If you have different ranges, you will probably need to have a different formula for each range, each with its own absolute references.  Alternatively, you can create named ranges and use these in your formulas.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rob HensonFinance AnalystCommented:
So did we not resolve this in this question:

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28628678.html

With formula:

=OR(Z5>=MROUND(Sheet6!$A$1,3),COUNTIF(AA$4:AA4,TRUE)>0)
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.