And the Occums Razor Solution award goes to @ThereseLogeais Thanks, The simplest solution and the only one that actually worked. @KellySappington your solution was including items with zero QtyOnHand and they have too many warehouses to apply your second formula. @DougHiggs your formula excludes all items that have FS as the first two characters, the formula would also have to test for len(itemcode) = 2 to only exclude the one itemFS, @LarryBradford thanks for your help today.