Solved

Formual for using and or

Posted on 2014-03-12
4
106 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 48

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

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,…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

746 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

12 Experts available now in Live!

Get 1:1 Help Now