V-Lookup, Match, Index combo for project status look up

dcotex

New Member
Joined
Jul 31, 2017
Messages
5
Hi Excel Nation,

I am currently working with 2 lists of data on 2 separate worksheets. By using the project ID numbers and the phase specified by the corresponding column, I am trying to return the status of the phases' QA status. For the below example, I want to return the status of the Define QA for project ID 310122...


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD]Column Headers
[/TD]
[TD]Project ID #
[/TD]
[TD]Project Name
[/TD]
[TD]Define QA Status
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]310122
[/TD]
[TD]Money Service
[/TD]
[TD="align: center"]?
[/TD]
[/TR]
</tbody>[/TABLE]



Worksheet 2, this is where I am pulling the status of the Define QA Status for project 310122 Money Service...this extensive list includes other project IDs as well.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[/TR]
[TR]
[TD]Project ID
[/TD]
[TD]Project Name
[/TD]
[TD]Phase
[/TD]
[TD]Status
[/TD]
[/TR]
[TR]
[TD]310126
[/TD]
[TD]AML Card
[/TD]
[TD]Approved
[/TD]
[TD]Define
[/TD]
[/TR]
[TR]
[TD]310126
[/TD]
[TD]AML Card
[/TD]
[TD]Approved
[/TD]
[TD]Expand
[/TD]
[/TR]
[TR]
[TD]310122
[/TD]
[TD]Money Service
[/TD]
[TD]Approved
[/TD]
[TD]Define
[/TD]
[/TR]
[TR]
[TD]310122
[/TD]
[TD]Money Service
[/TD]
[TD]Unapproved
[/TD]
[TD]Expand
[/TD]
[/TR]
</tbody>[/TABLE]


The 'Approved' status above is what I am trying to return in cell C2, and will ultimately do this for all other projects and phases in question. Just trying to get an idea how to build this out from the inside out.

Any assistance is appreciated!


-DCotex
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi Excel Nation,

I am currently working with 2 lists of data on 2 separate worksheets. By using the project ID numbers and the phase specified by the corresponding column, I am trying to return the status of the phases' QA status. For the below example, I want to return the status of the Define QA for project ID 310122...


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]Column Headers[/TD]
[TD]Project ID #[/TD]
[TD]Project Name[/TD]
[TD]Define QA Status[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]310122[/TD]
[TD]Money Service[/TD]
[TD="align: center"]?[/TD]
[/TR]
</tbody>[/TABLE]



Worksheet 2, this is where I am pulling the status of the Define QA Status for project 310122 Money Service...this extensive list includes other project IDs as well.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]Project ID[/TD]
[TD]Project Name[/TD]
[TD]Phase[/TD]
[TD]Status[/TD]
[/TR]
[TR]
[TD]310126[/TD]
[TD]AML Card[/TD]
[TD]Approved[/TD]
[TD]Define[/TD]
[/TR]
[TR]
[TD]310126[/TD]
[TD]AML Card[/TD]
[TD]Approved[/TD]
[TD]Expand[/TD]
[/TR]
[TR]
[TD]310122[/TD]
[TD]Money Service[/TD]
[TD]Approved[/TD]
[TD]Define[/TD]
[/TR]
[TR]
[TD]310122[/TD]
[TD]Money Service[/TD]
[TD]Unapproved[/TD]
[TD]Expand[/TD]
[/TR]
</tbody>[/TABLE]


The 'Approved' status above is what I am trying to return in cell C2, and will ultimately do this for all other projects and phases in question. Just trying to get an idea how to build this out from the inside out.

Any assistance is appreciated!


-DCotex

C2 = INDEX(Sheet2!$C$2:$C$5,MATCH($A2&$B2&"Define",Sheet2!$A$2:$A$5&Sheet2!$B$2:$B$5&Sheet2!$D$2:$D$5,0)) press CTRL+SHIFT+ENTER
 
Upvote 0
Hmm, almost but that's returning the phase "Improve". It's my fault anyway, I made a slight mistake in the column headers and status options on my first post. Here is the correction to sheet 2. I'm looking for 1 of the 3 types of statuses according to the project ID, project Name, and the current phase Define (in header) from worksheet 1 on previous post.

So the return value I am looking for is "Approved" in cell C2

Worksheet 1 - OK
[TABLE="class: cms_table_grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]Column Headers[/TD]
[TD]Project ID #[/TD]
[TD]Project Name[/TD]
[TD]Define QA Status[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]310122[/TD]
[TD]Money Service[/TD]
[TD="align: center"]?[/TD]
[/TR]
</tbody>[/TABLE]


Worksheet 2 - Corrected
[TABLE="class: cms_table_grid, width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]Project ID[/TD]
[TD]Project Name[/TD]
[TD]Status[/TD]
[TD]Phase[/TD]
[/TR]
[TR]
[TD]310126[/TD]
[TD]AML Card[/TD]
[TD]Approved[/TD]
[TD]Define[/TD]
[/TR]
[TR]
[TD]310126[/TD]
[TD]AML Card[/TD]
[TD]Not Started[/TD]
[TD]Expand[/TD]
[/TR]
[TR]
[TD]310122[/TD]
[TD]Money Service[/TD]
[TD]Approved[/TD]
[TD]Define[/TD]
[/TR]
[TR]
[TD]310122[/TD]
[TD]Money Service[/TD]
[TD]Pending[/TD]
[TD]Expand[/TD]
[/TR]
[TR]
[TD]310122[/TD]
[TD]Money Service[/TD]
[TD]Not Started[/TD]
[TD]Define Yr End[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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