If Statement Help!

innoin

New Member
Joined
May 4, 2017
Messages
33
Hello everyone! Can someone help me with the formulas below? I have the first formula in cell GA4 and the second formula is right below it in cell GA5. For some reason it's giving a "0" no matter what number is in cell GA4. I've done this on numerous other columns and it worked perfectly, but now all of a sudden it's not. I think maybe it has to do with the ISBLANKS? It's the only difference I can see. I basically want it to read the number in GA4 and if it's between two other numbers on a tolerance tab, I want it to read 0. If it's not between those two numbers then I want it to perform the subtraction formula and report the difference.

Cell GA4 contains this formula: =IF(ISBLANK(Data!E1),"Removed",IF(AND(ISBLANK(Tolerances!$B$10),ISBLANK(Tolerances!$C$10)),"Removed",(COUNTIF(GA5:GA1000,"Yes"))))

Cell GA5 contains this formula: =IFERROR(IF(SEARCH("Removed",GA4,1),"Removed"),(IF(GA4>Tolerances!$C$10,(GA4-Tolerances!$C$10),IF(GA4<Tolerances!$B$10,(GA4-Tolerances!$B$10),"0"))))

Thanks for any help!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Nevermind! I'm an idiot...

I didn't notice that somehow my countif in the first formula was referencing GA5. Typos always stump me longer than the bigger problems...
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,240
Members
448,555
Latest member
RobertJones1986

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