Solved

IF statement

Posted on 2014-03-25
8
95 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
Comment Utility
hi...

below URL should resolve your problem:

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

Accepted Solution

by:
Shaun Kline earned 500 total points
Comment Utility
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
Comment Utility
indrajitmahajan unfortuantely that did not help me
0
 

Author Comment

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

=if(c4="commission", if(e4="vs", "c", if(e4="xg", "b", "")))
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 8

Expert Comment

by:itjockey
Comment Utility
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
Comment Utility
Jagwarman thats fine.. more important is to get your solution :)
0
 

Author Comment

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

Expert Comment

by:itjockey
Comment Utility
I am not after points, I am learning every day    :)


Thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now