Problem with formula

Dmrs92

New Member
Joined
Jun 1, 2018
Messages
31
[TABLE="class: forumline, width: 100%"]
<tbody>[TR]
[TD="class: row1, width: 150, align: left"]
Posty: 3
online.gif

[/TD]
[TD="class: {.ROW_CLASS}, width: 100%"][TABLE="width: 100%"]
<tbody>[TR]
[TD]Wysłany: Dzisiaj 18:12 Pomysł na formułe[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD="colspan: 2"]
[/TD]
[/TR]
[TR]
[TD="colspan: 2"]Hi,
I need your help with this formula:
If.error( If(t2>=0;Z2=t2 but if t2 is bigger than y2 show y2 and the second part is iF(Y2+T2<0;-Y2;T2);""). But how to merge it ?

Something like that =If.error(IF(t2+y2>=0;z2=t2<=y2);IF(Y2+T2<0;-Y2;T2);"")

But it is not working, please help.

Thank you in advance,[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
drop the if.error first of all, it dose.nt have a dot and will stop you from debugging initally
 
Upvote 0
Sorry, i know normally i'm using diffrent laguage. Of course in english it should be without dot. But still, it's not working.The problem is the part after first If.
 
Upvote 0
This is not a valid formula in VBA:
Code:
[COLOR=#333333]z2=t2<=y2[/COLOR]
It would need to be:
Code:
=AND(z2=t2;t2<=y2)
 
Upvote 0

Forum statistics

Threads
1,225,759
Messages
6,186,864
Members
453,380
Latest member
ShaeJ73

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