Solved

IF statement

Posted on 2014-03-25
8
97 Views
Last Modified: 2014-03-25
This is driving me crazy, can an expert resolve it please

I need to say:

IF C4 = Commission and E4  = VS then the answer is C

IF C4 = Commission and E4  = XG then the answer is B

Thanks
0
Comment
Question by:Jagwarman
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 5

Expert Comment

by:indrajitmahajan
ID: 39952776
hi...

below URL should resolve your problem:

http://www.techonthenet.com/excel/formulas/if_nested.php
0
 
LVL 26

Accepted Solution

by:
Shaun Kline earned 500 total points
ID: 39952780
If you are looking for a formula solution, you can use:

=if(c4="commission", if(e4="vs", "c", if(e4="xg", "b", ""), ""), "")
0
 

Author Comment

by:Jagwarman
ID: 39952804
indrajitmahajan unfortuantely that did not help me
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:Jagwarman
ID: 39952806
Shaun I took off the last two ""  and it works. Thanks

=if(c4="commission", if(e4="vs", "c", if(e4="xg", "b", "")))
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39952811
Try this
=IF(AND(C4="Commission",E4="VS"),"C",IF(AND(C4="Commission",E4="XG"),"B",""))

Open in new window

0
 
LVL 5

Expert Comment

by:indrajitmahajan
ID: 39952814
Jagwarman thats fine.. more important is to get your solution :)
0
 

Author Comment

by:Jagwarman
ID: 39952842
itjockey that works too thanks. Sorry I can't give you any points as they already went
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39952849
I am not after points, I am learning every day    :)


Thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question