Help, i'm stumped

tasar

New Member
Joined
Nov 17, 2010
Messages
1
Just looking for a little help with this formula as I cant seem to get it to work. Basically I'm looking to return an F if the "PP - 3" is greater than 0. Returning a P if "pp - 1" + "PP - 2" is greater than 0 and if when you add all three together it returns a 0 then leave the cell bank.


If there are results greater than 0 in the first two calculations, then the F overrides the P.



Here is what I have so far.



=IF(COUNTIFS(BPA!AK:AK,BN$4,BPA!AU:AU,$G8,BPA!$BF:$BF,"**PP - 3**") > 0, "F", IF(SUM(COUNTIFS(BPA!AK:AK,BN$4,BPA!AU:AU,$G8,BPA!$BF:$BF,"**PP - 1**")+(COUNTIFS(BPA!AK:AK,BN$4,BPA!AU:AU,$G8,BPA!$BF:$BF,"**PP - 2**")) > 0, "P", IF(SUM(COUNTIFS(BPA!AK:AK,BN$4,BPA!AU:AU,$G8,BPA!$BF:$BF,"**PP - 1**")+COUNTIFS(BPA!AK:AK,BN$4,BPA!AU:AU,$G8,BPA!$BF:$BF,"**PP - 2**")+COUNTIFS(BPA!AK:AK,BN$4,BPA!AU:AU,$G8,BPA!$BF:$BF,"**PP - 3**")) = 0, "")))




Thanks in advance




Chris
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the Board!

How about:

=MID(" PPFFF",SUMPRODUCT(--(COUNTIFS(BPA!AK:AK,BN$4,BPA!AU:AU,$G8,BPA!$BF:$BF,{"**PP - 3**","**PP - 1**","**PP - 2**"})>0),{3,1,1})+1,1)
 
Upvote 0

Forum statistics

Threads
1,223,157
Messages
6,170,419
Members
452,325
Latest member
BlahQz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top