Nested If Statement Returns False instead of a value

Frank J

Board Regular
Joined
Feb 17, 2011
Messages
104
Office Version
  1. 365
Platform
  1. Windows
I'm trying to calculate the Fees we pay based on a set of parameters that have a minimum Fee and a maximum Fee, anything that falls between is a formula of the amount multiplied by 0.03. There are 2 conditions I need to consider, is the Wager Amount 1.00 or 5.00>=.

I've attached an image showing my work but if you look to the right by the blue box you'll see the problem. What am I doing wrong?

Nested If statement.2.png
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Your then statements all evaluate to a boolean (true/false). "If condition is true then x else y" will return either x or y.'
In your case you have - If condition is true then x>y else z
which will return true or false (x is either > y or it isn't, true or false) if condition is true and z if condition is false.

It may be that you're trying to code the then statements as "then if x>y" but you have left out the "if." Hard to discern much more from a blurry image.
 
Upvote 0

Forum statistics

Threads
1,223,693
Messages
6,173,877
Members
452,536
Latest member
Chiz511

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