Subtract Min() from MAX()
=SMALL(A1:A10,COUNTIF(A1:A10,"<=0")+1)-MAX(A1:A10)
--
Best Regards,
Luke M
*Remember to click "yes" if this post helped you!*
"airgrz" wrote:
I am trying to Subtract the MIN of a group from the MAX of a group!
How do I only use 0 numbers in the group!
Example:
1 $500
2 $300
3 $0 or blank
4 $50
I need $50 - $500 = $450
Not $0 - $500 = $500
Thank you in advance for your help!
|