If statement issue

Monjavz

New Member
Joined
May 8, 2019
Messages
12
I need help please, I have various conditions and got this far

=IF(AND(W687>0;X686>0);(W687*Y687*G687)+X686*Y687*G687;0)

only problem is that if cell W687 is negative it should still perform the calculation for X686 if this cell is positive.

How can I change the formula to do this.

Thank you very much
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
The incorrect line is calculated with this formal
=IF(OR(V193>0;W192>0;V193<0);(V193*X193*G193)+W192*X193*G193;0)
 
Upvote 0
This produces the same answers as your answers far as i can tell. Im not sure what the *1 is for?

=IF(X3>0,(W2*(X3-1)*G3)+(W3*G3),0)
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,847
Members
452,361
Latest member
d3ad3y3

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