New Criteria For Formula

tkbuc155

New Member
Joined
Aug 4, 2017
Messages
2
I've been asked to add two new additional criteria to the formula below.

=IFERROR(IF((ISNUMBER(MATCH(D2,'GOSC Docs'!$A$2:$A$16,0))*(D2<>"SMILE_ERR")+(D2="SMILE_ERR")*(O2="B07")+(D2="SMILE_ERR")*(O2="B36"))*(AK2="GOSC")=1,IF(OR(P2="",P2="STR"),VLOOKUP(AF2,'GOSC SM'!$C$2:$H$32,6,0),IFERROR(VLOOKUP(P2,'GOSC RM'!B:F,5,0),VLOOKUP(AF2,'GOSC SM'!$C$2:$H$32,6,0))),""),"")

New CRITERIA:
1. If column D = "Refund" OR if column W = "Y", then the formula should provide a blank assignment.
2. In the event that column P is populated with initials that aren’t recognized by the lookup to the "GOSC RM" tab AND column AL contains either "AD-TPA", "AD-Assoc" or "AD-PEO", could we have the formula populate the cell with “SPM”?

Would someone be able to provide me the modified formula?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,216,119
Messages
6,128,947
Members
449,480
Latest member
yesitisasport

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