AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,072
- Office Version
- 2019
- 2010
- Platform
- Windows
Hunting for this I found
But oddly I can't get them working
MsgBox [min(if(a1:a100<>0,a1:a100))]
I changed this to MsgBox [min(if(y23:cp23<>0,y23:cp23))]
It results in 0 which is wrong. Is it because the intent is a vertical range and mine is horizontal?
Finding lowest non zero value in excel VBA
How can i get the lowest non zero value among a set of integers within excel VBA ?
www.mrexcel.com
But oddly I can't get them working
MsgBox [min(if(a1:a100<>0,a1:a100))]
I changed this to MsgBox [min(if(y23:cp23<>0,y23:cp23))]
It results in 0 which is wrong. Is it because the intent is a vertical range and mine is horizontal?