Tweak in existing IF conditions to give a certain output only for a set of accounts

roingro89

New Member
Joined
May 4, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Good evening,

I am trying to change an existing IF conditions I have attached the sample file,

Change required in Column "AH" and "AP"

Only for a few set of accounts in REF sheet to have 60/20 only for those tagged as "CR" in column "AB"

This is the formula to add but I dont know how to add with existing conditions meet than 60/20

=IF(SUM((AB2="CR")*(A2=REF!$A$2:$A$13)),60

Current formula in AH is (=IF(AND(AG2=0,OR(G2=J2, AND(G2<>J2,S2<>"RH"),J2="")),(IF(AND(AB2="NCRF",U2="Yes",OR(S2="RJ",S2="T1",S2="T7",S2="RH",S2="T5", S2="T6")),30,IF(AND(AB2="CRIM",U2="Yes",OR(S2="RJ",S2="T1",S2="T7",S2="RH",S2="T5", S2="T6")),50,0))),0)

Current formula in AP is =IF(AO2="",0,IF(OR(AB2="NCRF",AB2="CRIM"),(IF(COUNTIF($AO:$AO,D2&G2)=1,10,0)),0))

Account Numbers are in Ref Sheet and they are on Column A in the data file

1651676054298.png

Thank you,
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,223,896
Messages
6,175,260
Members
452,627
Latest member
KitkatToby

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