Problem with formula

Dmrs92

New Member
Joined
Jun 1, 2018
Messages
31

Posty: 3
online.gif

Wysłany: Dzisiaj 18:12 Pomysł na formułe

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,

<tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
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,215,454
Messages
6,124,933
Members
449,195
Latest member
Stevenciu

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