If it has combo boxes or other controls, please make sure that the references of cells are intact. Also, you can send a copy of the Excel file by uploading it to http://wikisend.com and then give me the 6-digit File ID so that I can download your sample Excel file.

Thank you for waiting. Instead of using AND, we need to use OR. AND logic means that ALL conditions must be TRUE so that it will result to true. Otherwise, it will result to false.

The OR logic however gives TRUE if ANY one of the logic is TRUE. In the new OR formula, if A3 > 5000 OR A3 < 5999, it will result to true and will calculate the TRUE statement.

Sorry for the confusion, but the logic should be AND because it is inclusive. That is, A3 MUST BE greater that 5000 but less than 5999. If it is an OR, if the truck number is XXXXX it must be false, but the OR formula gives a TRUE because A3 Here is the formula: =IFERROR(IF(AND(A3>5000,A3<5999),(E3+500)-C3,""),"")

IFERROR means, if the result is an error, it will show "" (blank). If there is no error, it will show the results of the formula.

Here is the formula with NO iferror encapsulation: =IF(AND(A3>5000,A3<5999),(E3+500)-C3,"")

The problem WHY the results are not displayed is because the numbers in the truck # XXXXX is set to TEXT, not numbers. I changed them to number format so it works now.