Thread: [Solved] Multiple If statements,
View Single Post
 
Old 07-29-2013, 01:30 AM
Jamal NUMAN Jamal NUMAN is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Nov 2010
Posts: 615
Jamal NUMAN is on a distinguished road
Question

Quote:
Originally Posted by Pecoflyer View Post
Sorry you don't seem to understand my question
Hope someone else can help you
Thank you for the prompt help.

Apologies to not be able to well explain what I want. If you allow me, I’ll be trying to explain what I need once more.

Please, consider the values of A and B and the calculated value of X (attached)

A
B
X
1
11
12
2
-12
14
-5
12
-22
-1
-1
-2


These calculations are made based on the conditions below

if A>0 and B>0 then X=A+B
If A>0 and B<0 then X=A-B
If A<0 and B>0 then X=2*A-B
If A<0 and B<0 then X=3B-A


My issue here is that I couldn’t code these conditions in excel

Best

Jamal
Attached Images
File Type: jpg Clip_17.jpg (64.6 KB, 43 views)
Attached Files
File Type: xlsx MF_02.xlsx (9.4 KB, 9 views)
Reply With Quote