Solved

Formual for using and or

Posted on 2014-03-12
4
107 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 49

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 500 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:itjockey
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

920 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

13 Experts available now in Live!

Get 1:1 Help Now