How do I create this conditional formula

Closed
Dlene03 - Updated on Oct 9, 2017 at 05:08 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Oct 10, 2017 at 11:31 AM
How do I create this formula?
If A2, B2, and C2 has a combination of H, H, HP (it doesn't matter what order it is in), returns a score of 98 in cell D2.

H= Honors
HP = High Pass

2 responses

Blocked Profile
Oct 9, 2017 at 04:47 PM
You can nest IF OR & AND. take a look at the example, and have fun!

=IF(AND(A3>B2,A3<C2),TRUE,FALSE)

You can read more here:
https://support.microsoft.com/en-us/office/using-if-with-and-or-and-not-functions-d895f58c-b36c-419e-b1f2-5c193a236d97?ui=en-us&rs=en-us&ad=us

Once again, have fun!
0
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 552
Oct 10, 2017 at 11:31 AM
Hi Dlene,

Give the following formula a try:
=IF(IF(A2="H",1,IF(A2="HP",3,0))+IF(B2="H",1,IF(B2="HP",3,0))+IF(C2="H",1,IF(C2="HP",3,0))=5,98,"")

Best regards,
Trowa
0