Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Formual for using and or

Posted on 2014-03-12
4
Medium Priority
?
117 Views
Last Modified: 2014-03-17
I need a formula that will do the following.

If F5 =0," "

else if

If F5 is not null  and I5 = "yes" ,  value from A5 should be entered

else if

if F5 is not null and IF = "no", value from A5 should be entered.


Note:  same values just different scenarios....
0
Comment
Question by:leezac
4 Comments
 
LVL 53

Expert Comment

by:Rgonzo1971
ID: 39924200
HI,

pls try

=IF(F5=0;"";IF(OR(I5="yes",I5="no"),A5,""))

Open in new window

Regards
0
 
LVL 13

Accepted Solution

by:
Santosh Gupta earned 2000 total points
ID: 39924260
pls try this

=IF(F5=0,"",IF(AND(F5>0,I5="yes"),F5,IF(AND(F5>0,I5="no"),F5)))

Open in new window


also some confusion in cell addresses, pls write address in Capital.
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39924496
Try this
IF(F5=0,"",IF(AND(F5<>"",OR(I5="yes",I5="no")),A5,""))
0
 

Author Comment

by:leezac
ID: 39927756
we are still testing.... so far so good
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

877 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