Maybe I am missing something, but what is the point of the first part of the formula, what is the logical test of F402, just to see if there is something there?
The way you have written it, the "33" is associated with the FALSE part of when C402 < 501
and the "" is associated with the FALSE part of when LEN(B402) < 9 So change your 33 and "" accordingly.
The IF statement has both a TRUE and a FALSE argument. When you nest them, the TRUE/FALSE argument for each nested IF may not be right next to each other.
Work from the inside out (starting with the inner-most IF).
Can you please just list out all the conditions/criteria in plain English for us, describing what should happen in each instance, and what the order should be?
I find it is much easier to write the formula based on the conditions, then try to guess what the user wants to happen from errant formulas.
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.