How let the error message work?

Romano_odK

Active Member
Joined
Jun 4, 2020
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Good evening,
Made this formula, but I ran into this problem. I need the cell n5 to come up with and error message "GROSSIER" if (J5+L5)<((j5+l5)-N5);"GROSSIER"; but I can't get his to work. Is there a way to do this?

Thank you for your time,

Romano


Excel Formula:
=IFERROR(IFS(AND($M$3>0;$N$3>0);(J5*$M$3)/(100%-$N$3);
AND($K$3>0;$N$3>0);(J5+L5)/(100%-$N$3);
AND($M$3>0;N5>0);((J5*$M$3)/(100%-N5));
AND(K5>0;$N$3>0);((J5+L5)/(100%-$N$3));
AND($K$3>0;$M$3>0);"FOUT";
AND(K5>0;M5>0);"FOUT";
$K$3>0;(J5+L5)/(100%-N5);
K5>0;(J5+L5)/(100%-N5);
$M$3>0;(J5*$M$3)/(100%-$N$3);
M5>0;(J5*M5)/(100%-N5);
$M$3>0;(J5*$M$3)/(100%-N5));
(J5+L5)<((j5+l5)-N5);"GROSSIER";
"")
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
What result are you getting instead?

Are all the other conditions FALSE?

This formula doesn't mean much out of context. Can you provide sample data for us to try your formula and reproduce your result?
 
Upvote 0
It looks as though you have a bracket in the wrong place, also you don't need to use iferror if you are trying to prevent an error if there is no match.
Try
Excel Formula:
=IFS(AND($M$3>0;$N$3>0);(J5*$M$3)/(100%-$N$3);
AND($K$3>0;$N$3>0);(J5+L5)/(100%-$N$3);
AND($M$3>0;N5>0);((J5*$M$3)/(100%-N5));
AND(K5>0;$N$3>0);((J5+L5)/(100%-$N$3));
AND($K$3>0;$M$3>0);"FOUT";
AND(K5>0;M5>0);"FOUT";
$K$3>0;(J5+L5)/(100%-N5);
K5>0;(J5+L5)/(100%-N5);
$M$3>0;(J5*$M$3)/(100%-$N$3);
M5>0;(J5*M5)/(100%-N5);
$M$3>0;(J5*$M$3)/(100%-N5);
(J5+L5)<((j5+l5)-N5);"GROSSIER";
1;"")
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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