Merging two working formulas

I have the following working formula

=IF($Q$11<>""," "&$Q$11&" ","You must enter a the Company's City and State in Q11!")

Which yields City, State & Zip Code, i.e. New York City, New York 12345

And this formula

=LEFT($Q$11,FIND("",$Q$11,FIND(", ",$Q$11)+3))

Which yields City and State with no Zip Code, i.e. New York City, New York

I need to combine the second formula with the first formula.  A snippet with all pertinent cells is attached.
Bill GoldenExecutive Managing MemberAsked:
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.


pls try

=IF($Q$11<>""," "&LEFT($Q$11,FIND("",$Q$11,FIND(", ",$Q$11)+3))&" ","You must enter a the Company's City and State in Q11!")

Open in new window


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
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:

not sure I completely understand what you want to achieve, but if you want to plug the result of the second formula into the IF statement of the first formula, then maybe

=IF($Q$11<>""," "&LEFT($Q$11,FIND("",$Q$11,FIND(", ",$Q$11)+3))&" ","You must enter a the Company's City and State in Q11!")

cheers, teylyn
Bill GoldenExecutive Managing MemberAuthor Commented:
Thanks, both solutions work perfectly because they were identical.  I do stop and examine each correct answer to learn, albeit somewhat slowly, how to do this myself.

Working on this project helps get through the chemo and radiation treatments. Some of you will never know how much EE has meant to me during this difficult time.

Thanks again!
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.