Link to home
Start Free TrialLog in
Avatar of Mohammad Alsolaiman
Mohammad AlsolaimanFlag for Saudi Arabia

asked on

Excel function or VBA to compere between two columns.

Hi,
in my Excle sheet
Which is happen first according StockMarketTime
The highest score in (highScore column) OR the lowest score in (lowScore column).
In my example, the equation should return with the row 7, of StockMarketTime = 12:00 and the highScore = 19, because it happen before the lowest score at row 11,  StockMarketTime = 02:00 and the lowScore= 12
So the comparison should always happen in between these two results only (the highest score in column StockMarketTime, and the lowest score in column  lowScore)
I need the result to highlight the row that match my needs.
please help.
there is attached Excel file
User generated imagestock-market.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mohammad Alsolaiman

ASKER

wonderful Martin Liss
You’re welcome and I’m glad I was able to help.

If you expand the “Full Biography" section of my profile you’ll find links to some articles I’ve written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange Most Valuable Expert (MVE) 2015, 2017
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2018
              Experts Exchange Top Expert VBA 2018
              Experts Exchange Distinguished Expert in Excel 2018
EXTREMELY HELPFUL