IFS formula doesn't work

Romano_odK

Active Member
Joined
Jun 4, 2020
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Good morning,

I have a some disagreement with the below formula. What I want to accomplish is when the value of cell L6 and O6 are the same I get "ok", but that doesn't happen. I tried rounding this part (P6*$O$2)+P6), but didn't succeed either. Does anymore have an idea how to accomplish this.

Thank you for your time and efford

Romano



Excel Formula:
=IFERROR(IFS(((P6*$O$2)+P6)-L6="0";"ok";P6<>0;(100%-((L6*AU6/P6)))*-100%-$O$2);"")

Artikelen beheren XML 5.05.xlsm
ABCDEFGHIJKLMNOP
1Importdatum15/12/2023C:\TEMP\ART038_2023-12-15.XMLC:\TEMP\VKP038_2023-12-15.XMLC:\TEMP\KP038_2023-12-15.XMLOpslag
2Resource10058,553%
3ValutaEUR
4Teller38
5ArtikelcodeZoekcodeOmschrijvingStatusStartdatumVerkoopprijsVerkoopprijs nieuwVkp + opslagKp +opslagKp +margeEenheidKostprijsKostprijs nieuwIkp +opslag%Afwijking % OpslagInkoopprijs
61000088712759037955Vito Glaserfix 111 9x3 mm wit - 10x25 mA24/09/201930,61 pak8,55 0,0000000%8,30
Items
Cell Formulas
RangeFormula
B1B1=TODAY()
C1C1=TEXT("C:\TEMP\ART",0)&TEXT($B$4,"000")&"_"&TEXT($B$1,"JJJJ")&"-"&TEXT($B$1,"MM")&"-"&TEXT($B$1,"DD")&".XML"
F1F1=TEXT("C:\TEMP\VKP",0)&TEXT($B$4,"000")&"_"&TEXT($B$1,"JJJJ")&"-"&TEXT($B$1,"MM")&"-"&TEXT($B$1,"DD")&".XML"
L1L1=TEXT("C:\TEMP\KP",0)&TEXT($B$4,"000")&"_"&TEXT($B$1,"JJJJ")&"-"&TEXT($B$1,"MM")&"-"&TEXT($B$1,"DD")&".XML"
M2M2=(P6*$O$2)+P6
G6G6=IFERROR(IFS(J6>0,L6/(1-J6),I6>0,L6*(1*I6)+L6,H6>0,F6*(1*H6)+F6),"")
M6M6=IFERROR(IFS(N6>0,AN6*(1*N6)+AN6)/AU6,"")
O6O6=IFERROR(IFS(((P6*$O$2)+P6)-L6="0","ok",P6<>0,(100%-((L6*AU6/P6)))*-100%-$O$2),"")
P6P6=[@Inkoopprijs]
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O6:O4980Cell Valuecontains "inkoopprijs"textNO
O6:O4980Cell Valuenot between -0,3% and 0,3%textNO
C6:C4980Expression=LEN(C6)>60textNO
B6:B4980Cell ValueduplicatestextNO
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
=IFERROR(IFS(((P6*$O$2)+P6)-L6="0"..
Without going any further, delete the double quotes around 0, they make it text instead of a number so
=IFERROR(IFS(((P6*$O$2)+P6)-L6=0 ....
( Don't know if that solves your problem though..)
 
Upvote 0
=IFERROR(IFS(((P6*$O$2)+P6)-L6="0"..
Without going any further, delete the double quotes around 0, they make it text instead of a number so
=IFERROR(IFS(((P6*$O$2)+P6)-L6=0 ....
( Don't know if that solves your problem though..)
Thank you but no it does not.
 
Upvote 0
@Romano_odK
If you have found a solution and would like to post the details, then it is fine to mark your own post as the solution. Otherwise, please do not mark a post that doesn't contain a solution. (I have removed the mark from post #3.)
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,953
Members
449,095
Latest member
nmaske

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