add <> condition to formula

Hi

I have a formula that works perfectly, however I need to add two conditions and I got a bit lost.
here is the formula
IF(P15>Q$13,SQRT(P15-P$13)+((F16*P15)/P$13),
((F16*P15)/P$13))/2.5
I've shown the two conditions on two lines for easier identification.
You can see there are two conditions
The extra two conditions I would like to add to both of the above two conditions
1)  IF(F60>50
2) AND(H16<1.1
Return zero if both conditions qualify. I want to apply to both of the conditions in the formula.
Please refer to attached sheet
Thanks
Ian
Add-2-conditions.xlsx
Ian BellretiredAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Ejgil HedegaardCommented:
Use this
IF(AND(F60>50,H16<1.1),0,
IF(P15>Q$13,SQRT(P15-P$13)+((F16*P15)/P$13),
((F16*P15)/P$13))/2.5 )

F60 is empty, so I guess it should be F16 and not F60, and then it is
=IF(AND(F16>50,H16<1.1),0,IF(P15>Q$13,SQRT(P15-P$13)+((F16*P15)/P$13),((F16*P15)/P$13))/2.5)
Add-2-conditions.xlsx
1

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
Ian BellretiredAuthor Commented:
Hi Ejgil, it works fine thank you. Can I ask one more add on and that is either condition result should not exceed
a value of 1000. If result exceeds 1000 then 1000 otherwise etc. To be applied to both conditions
Thanks if you can help.
Ian
0
Ian BellretiredAuthor Commented:
please ignore last request and modify original formula below to give a max result of 1,000 for both conditions
Thanks

IF(P15>Q$13,SQRT(P15-P$13)+((F16*P15)/P$13),
((F16*P15)/P$13))/2.5
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Ian BellretiredAuthor Commented:
This was my best effort but is wrong :(

=IF(IF(P15>Q$13,SQRT(P15-P$13)+((F16*P15)/P$13>1000,1000)),
IF(((F16*P15)/P$13>1000,1000,((F16*P15)/P$13))/2.5)

ps..... yes you were right about the F16 being correct cell... sorry
0
Ian BellretiredAuthor Commented:
No reply yet from my extra request which I may ask again on a separate question.
However the original question was answered successfully- Well Done Ejgil
and will close the question shortly and award you full points. Thanks
Ian
0
Ejgil HedegaardCommented:
Try this
=IF(AND(F16>50,H16<1.1),0,IF(P15>Q$13,IF(SQRT(P15-P$13)+((F16*P15)/P$13)>1000,1000,SQRT(P15-P$13)+((F16*P15)/P$13)),IF(F16*P15/P$13>1000,1000,F16*P15/P$13))/2.5)

Open in new window

1
Ian BellretiredAuthor Commented:
That's great, Thanks
0
Ian BellretiredAuthor Commented:
Thanks Ejgil, your expert solution was much appreciated.
HNY   Ian
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.