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