IF(IFERROR(MATCH

luisitocarrion1900

Board Regular
Joined
Oct 30, 2017
Messages
194
Office Version
  1. 365
Platform
  1. Windows
I have the below formula but am trying to add that if AI Status'!E:E is blank or contain semi column : enter the words "AI Pending Submission"

=IF(IFERROR(MATCH([@[Business Unit]],'AI Status'!B:B,0),0)=0,"Pending AI Submission",IF(INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)="A/LM/PMP/PM Approved","PM Approved",IF(INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)="Extension","AI Extension",IF(INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)="PMO Approved","Waiting PM Approval",IF(INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)="Waiver","PM Waiver",IF(INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)="PM Certified","PM Certified",IF(AND(DATEVALUE([@[Extension Date]])<TODAY(),OR(INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)<>"A/LM/PMP/PM Approved", INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)<>"PM Approved")),"Delinquent","No AI Status")))))))
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I'd make life easier by simplifying as follows:

ABCDE
1
2BlahBusiness unitExtension DateMyFormula
31ABCPM waiver
42XYZPM approved
5
6
7MyTable
8A/LM/PMP/PM ApprovedPM approved
9ExtensionAI Extension
10PMO approvedWaiting PM approval
11WaiverPM waiver
12PM CertifiedPM Certified
Sheet1
Cell Formulas
RangeFormula
E3:E4E3=LET(x,INDEX('AI Status'!E:E,MATCH([@[Business unit]],'AI Status'!B:B,)),VLOOKUP(x,MyTable,2,))
Named Ranges
NameRefers ToCells
MyTable=Sheet1!$C$8:$D$12E3:E4


ABCDE
1
2
3
4
5ABCWaiver
6
7
8XYZA/LM/PMP/PM Approved
9
AI Status


I'm not sure about the date part of your formula. You don't need this test: INDEX('AI Status'!E:E, MATCH([@[Business Unit]],'AI Status'!B:B,0),1)<>"A/LM/PMP/PM Approved" because it will necessarily be true (your formula has already tested for equality). Is "PM approved" a value you need to test for?

And when you say: AI Status'!E:E ... contain semi column, do you mean a single character ";" or a semi-colon anywhere in the cell?
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,704
Members
449,048
Latest member
81jamesacct

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