mole999
Well-known Member
- Joined
- Oct 23, 2004
- Messages
- 10,524
- Office Version
- 2019
- 2016
- 2013
- Platform
- Windows
Any idea how to modify this to ignore blank cells. with the exact range encompassed it works to return the highest alphanumeric value
={INDEX(A2:A7,MATCH(MAX(COUNTIF(A2:A7,"<"&A2:A7)),COUNTIF(A2:A7,"<"&A2:A7),0))}
I want to use the value to allow SQL to import greater than the max value, from a column that is often sorted, and I can't predict where the max value might be sitting at the time of updated, currently over 24,000 rows and growing.
I could code it to return at that moment in time, but would prefer persistence of vision
={INDEX(A2:A7,MATCH(MAX(COUNTIF(A2:A7,"<"&A2:A7)),COUNTIF(A2:A7,"<"&A2:A7),0))}
I want to use the value to allow SQL to import greater than the max value, from a column that is often sorted, and I can't predict where the max value might be sitting at the time of updated, currently over 24,000 rows and growing.
I could code it to return at that moment in time, but would prefer persistence of vision