Hi guys,
I've got a bit of a complex problem in Excel and was wondering if anyone would be able to help? It's essentially a conditional formatting rule but one that requires multiple changes based on certain criteria being met. It's easier to show than explain, so I've attached a sample file.
Basically, I'd like to be able to insert a date into the "Stock Check Date" and then have any stock which has not arrived within a month to be highlighted orange, and any stock that has arrived but not been sold within a month to be highlighted in red. I'll then be able to apply a filter and custom sort the data as need be.
The problems I've encountered are:
- I can get the row to highlight orange by subtracting the check date from the purchase date and telling it to highlight if this value is greater than 31 days, but it will still be highlighted even when the stock has sold, which I don't want.
- If stock was highlighted in red as not selling after a month but then does sell, how can I tell Excel to remove the highlight? Currently, the area will still stay highlighted red even if the stock was eventually sold. I only want it to be red if it hasn't sold within a month but then go away when it eventually did sell.
- Same as above, but for the orange highlight. Even if the stock took longer than a month to arrive but eventually did arrive, how can I tell Excel to remove the highlight? At the moment, it will still stay orange even when the stock did arrive.
I tried tinkering with IF formulas and conditional formatting but I can't get it exactly right. I don't think I'm using the right formula and I'm not sure if this is even possible to do, but would somebody be able to help?
Many thanks.![]()
Bookmarks