Return False Formula (somewhat complicated)

ScottTemple

Board Regular
Joined
Dec 28, 2023
Messages
103
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have the following formula in cell T2: IF(E2),IF(F2),IF(R2),((F2)*4)/(R2*(E2)^)/12))

However, when the value in R2 is either a blank or a 0, I get either a #DIV/0 or #VALUE error. I would ideally like to return a FALSE value in cell T2.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
You have at least one error in the calculation part of your formula (no number after the "^").
When you get that corrected, try a formula structured like this:
Rich (BB code):
=IF(AND(E2<>0,F2<>0,R2<>0),your corrected calculation formula,FALSE)
 
Upvote 1
You have at least one error in the calculation part of your formula (no number after the "^").
When you get that corrected, try a formula structured like this:
Rich (BB code):
=IF(AND(E2<>0,F2<>0,R2<>0),your corrected calculation formula,FALSE)

I'm unable to get that formula to work, can you verify if the FALSE is in the right location on my formula below:

IF(AND(E2<>0,F2<>0,R2<>0),((F2)*4)/(R2*(E2)^)/12),FALSE))
 
Upvote 0
You did not fix the error that was pointed out @Joe4 . see what is underlined below:
IF(AND(E2<>0,F2<>0,R2<>0),((F2)*4)/(R2*(E2)^)/12),FALSE))
you need a number after the ^ and before the ).
 
Upvote 0
You did not fix the error that was pointed out @Joe4 . see what is underlined below:
IF(AND(E2<>0,F2<>0,R2<>0),((F2)*4)/(R2*(E2)^)/12),FALSE))
you need a number after the ^ and before the ).
Must have accidently deleted that when I pasted it over, there should be a 2 there.

IF(AND(E2<>0,F2<>0,R2<>0),((F2)*4)/(R2*(E2)^2)/12),FALSE))
 
Upvote 0
you have some misplaced and unnecessary parentheses:


Book1
EFRT
1
22340.0625
Sheet5
Cell Formulas
RangeFormula
T2T2=IF(AND(E2<>0,F2<>0,R2<>0),((F2)*4)/(R2*(E2)^2)/12,FALSE)



If that isn't the formula you want processed. Remove the error checking IF statement and rebuild the formula with all conditions good. Then wrap the error around the corrected formula.
 
Upvote 0
My apologies, I don't know what I did when I inputted that first formula. I've copied it again in full below, I was missing divide by pi:

IF(AND(F2<>0,H2<>0,R2<>0),(((H2*4)/3.14)/(R2*(F2^2)))/12)
 
Upvote 0
so, is it still wrong? If so, build the formula with TRUE conditions in cells F2, H2, and R2. when you get that working. Then put the IF and AND statements in.
 
Upvote 1
Solution

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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