find a maximum number if value is > 0

Hello, I'm not quite sure where to go with this... I'm trying to work out the maximum lead time, but only if an item is required (greater than 0 in "quantity"). I've tried, but I know I've got the first part wrong - I'm not sure what command to use!!



So the result should be "10" (the lead time for the window, which is the the longest that is being used), as there are no "blinds" (with a longer lead time) required.


Cheers


Ric

MacBook Pro 15″, macOS 12.7

Posted on Dec 28, 2023 7:53 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 28, 2023 8:25 AM

=MAXIFS(C,A,">0")


Using "entire column" addressing (i.e., A vs A2:A5) captures the entire column without having to adjust the formula/ranges when you add new rows.

5 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

find a maximum number if value is > 0

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.