sumproduct or sun if formula

Hi Experts

Need a formula to do the following:

Column A                         Column B                                Column C
England                             12                                           1

Look in column A if the text is england and the value in column c is 1 then return the same of the values in column B...
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.

I think this formula will work for you

=IF(AND(A2="England",C2=1),B2,"No Result")

happy coding
route217JuniorAuthor Commented:
hi experts
this does not give me the value in column b
how about this, just a guess

=IF(AND(UCASE(A2)="ENGLAND",C2=1),B2,"No Result")

assuming you are on row 2 of course.
if not replace 2 for the row you are evaluating

Experts Exchange Solution brought to you by

Your issues matter to us.

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

Start your 7-day free trial
route217JuniorAuthor Commented:
sorry if I was not clear I want to show the value 12 in column d...
whichever cell you put that formula in should display the value in B if it meets the criteria.
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.