IF Formula - Stuck

ScottishPeter

New Member
Joined
Apr 22, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

Struggling I have a fairly large spreadsheet that allows me to highlight when a product if potentially low in stock and at risk of going out of stock.
However I need it to highlight when its already out of stock.

Column F3 has the actual stock holding
Column F4 has the average days cover we have
Column M4 has the average daily sales (days cover) for a large customer.

I have the following formula, =IF(AND(F4<10,M4>10),"Yes","No")
Which shows give us a ‘Yes’ the stock is at risk, if F4 is less than 10 days & M4 is greater than 10 days (ie sales may out strip demand).

However I also need it to give a ‘Yes’ result is the stock holding is already 0.

I’ve been working too long and just stuck, can someone help me out.

Thanks
Peter
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Maybe this?

Excel Formula:
=IF(F3=0,"Yes",IF(AND(F4<10,M4>10),"Yes","No"))
 
Upvote 0
@ScottishPeter , I am pleased you found a solution here. And, welcome to the Mr. Excel Forum!

If you think one of the post here has provided you with that solution, please mark it as the answer.

Best Wishes!
 
Upvote 0

Forum statistics

Threads
1,214,628
Messages
6,120,618
Members
448,973
Latest member
ChristineC

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top