
Hi.
Can you provide the range of conditions corresponding to different colors?
I created a sample about your requirement:
Red color: =0 Out of stock
Yellow color: >=1, <=400 Low inventory
Green color: >400 Healthy
- Select the range C2:C10, go to Home- Conditional Formatting- select New Rule...
- Select Use a formula to determine which cells to format- then enter the formula for different color and set the cell formatting: Red:
=B2=0
Yellow:=AND(B2>=1,B2<=400)
Green:=B2>400
- Then enter the formula in cells:
=IF(B2=0,"Out of stock",IF(AND(B2>=1,B2<=400),"Low inventory",IF(B2>400,"Healthy","")))
Hope the steps will help.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.