Good afternoon community,
I have two sheets where the first (we'll call this one Inventory Math) has a formula written to look at the second sheet (we'll call this one Inventory Cost). In this formula, we are looking for specific criteria on the cost sheet and then subtract from a specific cell on the math sheet. The formula works and looks like this:
=INDEX(COLLECT({2025 Inventory Cost Sheet Range 7}, {2025 Inventory Cost Sheet Range 80}, HAS(@cell, "Harnesses - Check Date (4)")), 1) - [Harness - Check Dates]@row
I'm trying to take this a step further. I need this formula to now incorporate if certain criteria are meet from the math sheet. Meaning, I have a dropdown column with the following options:
Full Inventory - 1 Truck - 5500
Full Inventory - Box Truck 1
Full Inventory - Box Truck 2
I have three columns, one for each dropdown option.
I need the formula to do the math it is doing above, but also look at the dropdown options on the math sheet and only do the math in that column if the corresponding option is selected.
I have tried a number of combinations that include 'IF' or 'CONTAINS' but I can't seem to figure it out.