Need some help here with creating a formula with which to check the if the individual quantities of each type of item is not less than its previous balance.
I'd like my table to look something like the following:
Category Initial Count Balance Check Type X 100 200 OK Type Y 50 80 OK Type Z 10 15 OK Type X 250 300 OK Type Z 18 20 OK Type Y 70 90 Error
Problem is, I don't quite know how to write the formula for the logic check, such that whenever I check the initial count of an item type, it should always be at least equal to or more than the balance of the last occurrence of that item type.
In the example above, Type Y returns an error in the check, as it starts with 70 the second time, when it ended with a balance of 80.
I'm guessing I'll need to use an array to do the initial check of matching the categories in the first column to every other one, but I'm not quite sure how to do that.
Would really appreciate any help here, thanks!
Bookmarks