Sep 21 2023 08:09 AM
I need help making a IF function. We sell RVS and I made an Audit report stating what we have but when one sells I have a sold date. How do I make the IF formula for this? I need the Inventory Amount to go down with the sale. So if there is a sale date the amount in the $ will be deducted from the Sum function already there. IDK can someone help?
Sep 21 2023 11:25 AM
To create an IF formula in Excel that deducts the sale amount from the inventory amount when there is a sale date, you can use the IF function in combination with other functions like SUMIF or SUMIFS. I will provide you with a step-by-step guide:
Assuming you have your RV inventory data in columns A (RV Model), B (Inventory Amount), and C (Sale Date), and you want to calculate the updated inventory amount in column D, you can do the following:
=IF(C2<>"", B2, B2-SUMIF(C:C, "<>"&"", B:B))
Here is what this formula does:
This formula will update the inventory amount by deducting the sale amount (from column B) for each RV when a sale date is present in column C. If there is no sale date, it will leave the inventory amount unchanged.
Make sure that the column references (A, B, C) match the actual columns in your Excel spreadsheet.
The text and steps were edited with the help of AI.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark them as helpful and like it!
This will help all forum participants.
Sep 21 2023 12:49 PM
Sep 21 2023 08:52 PM
SolutionYou can create a single formula to calculate the total inventory amount by subtracting the sale amounts for items with sale dates. You can use the SUMIFS function to achieve this. Here's how:
Assuming you have your RV inventory data in columns A (RV Model), B (Inventory Amount), and C (Sale Date), and you want to calculate the total inventory amount in a single cell (e.g., in a cell at the bottom of your inventory list), you can do the following:
=SUM(B2:B9) - SUMIFS(B2:B9, C2:C9, "<>")
Here is what this formula does:
Now, when you update your inventory and add sale dates, the total inventory amount in cell B10 will automatically reflect the correct total after deducting the sold items. Just make sure to adjust the cell references (B2:B9 and C2:C9) to match the actual range of your inventory data. The text and steps were edited with the help of AI.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark them as helpful and like it!
This will help all forum participants.