# IF AND

I am trying to create a formula on a Tab called Static Data that refers to a Tab called International. My formula is:

I am saying If G27 is Blank and G28 is Blank return the No 10, if G27 is not blank and G28 is Blank return the No 5 and if G27 and G28 are not blank Return 0

Any assistance greatly appreciated.
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ConsultantCommented:
=IF(International!G28="",IF(International!G27="",10,5),0)

Kevin
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

IT Services ConsultantCommented:
Hi,

I noted your other question earlier today:

"IF AND statement"
[ http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28253184.html ]

(So I am saying If G27 is Blank and G28 is Blank return the No 10 but if G27 is not blank return the No 5)

=IF(AND('International!G27="",'InternationalChecklist'!G28=""),10,5)

Just to confirm:

Your revised requirements do not need to use the [InternationalChecklist] worksheet?  Is that correct?

BFN,

fp.
0
DirectorCommented:
I think you are looking for something like:
``````if(G28="",if(G27="",10,5),if(G27="","",0))
``````

This should return the following:

G27 = Blank and G28 = Blank  Return 10
G27 = Not Blank and G28 = Blank  Return 5
G27 = Blank and G28 = Not Blank Return Blank
G27 = Not Blank and G28 = Not Blank  Return 0
0
IT Services ConsultantCommented:
Well done, again, Kevin ;)

At least I don't feel bad because my question was ignored.  Everybody was.
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.