new to excel but learning fast... iferror with exceptions from multiple cells.

fibertech

New Member
Joined
Nov 30, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
excel.PNG

currently what I have is:
in Q columns- =IFERROR(IF([@QTY]<=[@[Reorder QTY]],1,0),0) and I have changed it to read as a text "reorder" instead of a one and added the flag
i have also added the auto highlighting based on conditioning word "reorder/1" with code =$Q5=1 with red highlight
i then added formula: =$B5="ordered" with a no color highlight to remove the red highlight when we order equipment
***My question is this.
When column B says "ordered" how do i also remove, cancel out, negate column Q's "IFERROR" code so it removes the "1/Reorder" and the flag? and obviously i want the "IFERROR" code to still function like normal as long as "ordered" isnt in B2.
thanks in advance
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try

Excel Formula:
=IF(B2="Ordered","",IFERROR(IF([@QTY]<=[@[Reorder QTY]],1,0),0)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(and([@Notes]="ordered",[@QTY]>[@[Reorder QTY]]),0,1)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(and([@Notes]="ordered",[@QTY]>[@[Reorder QTY]]),0,1)
perhaps I'm inputting the formula in wrong but I'm getting a syntax error when entered as a conditional formatting the entire table. or it just simply doesn't work when entered into the Q column
 
Upvote 0
Try

Excel Formula:
=IF(B2="Ordered","",IFERROR(IF([@QTY]<=[@[Reorder QTY]],1,0),0)
perhaps I'm inputting the formula in wrong but I'm getting a syntax error when entered as a conditional formatting the entire table. or it just simply doesn't work when entered into the Q column
 
Upvote 0
That formula is meant to go in col Q not the conditional formatting rule.
 
Upvote 0
That formula is meant to go in col Q not the conditional formatting rule.
I slightly modified your answer to =IF(AND([@Notes]="ordered",[@QTY]<=[@[Reorder QTY]]),0,1) and it worked (Column Q)! Thank you for putting me in the right direction.
 
Upvote 0
I slightly modified your answer to =IF(AND([@Notes]="ordered",[@QTY]<=[@[Reorder QTY]]),0,1) and it worked (Column Q)! Thank you for putting me in the right direction.
i changed the grater than to Less than equal to.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
Try

Excel Formula:
=IF(B2="Ordered","",IFERROR(IF([@QTY]<=[@[Reorder QTY]],1,0),0)
I have retried this again and i gave you the wrong response. its saying the formual is missing an opening or closing parenthesis.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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