Index Formula returning unwanted results due to similar cell values

u4carson

New Member
Joined
May 21, 2018
Messages
12
The following Index formula returns both "Assessing Official" and "Assessing Official Rep" ... I am hoping to limit the results to only "Assessing official"... any assistance would be greatly appreciated.

=INDEX($V:$V, MATCH($O2&"Assessing Official",$O:$O&$W:$W, 0))
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Thank you for the response... yes, I am using CTRL+SHIFT+ENTER... the issue is that it is returning a result for both "assessing official" and "assessing official rep" ... I assume because both contain the text "assessing official." I need for it to only return a result for cells that exactly match "Assessing Official." FYI, the only two instances containing that text are these two, so omitting cells that contain "Rep" would work too.
 
Upvote 0
No luck with the above... I should have posted more information... there is likely a better solution than mine.


I am looking to have column (K) populate with user name (V) when there is an "Assessing Official" (W) associated with the contract number (O) for every instance of the contract number. In the example below BBBBBB2 shows Alan on every occurrence of BBBBBB2. Also, CCCCCC3 has no one listed because Lauren is an "Assessing Official REP" not an "Assessing Official."




KOVW
Assessing OfficialAll Contract NumbersUser NameUser Role
AMBER AAAAAA1AMBER Assessing Official
ALANBBBBBB2LAUREN Assessing Official Rep
ALAN BBBBBB2ALAN Assessing Official
ALAN BBBBBB2AMYReviewing Official
CCCCCC3LAUREN Assessing Official Rep

<tbody>
</tbody><colgroup><col><col><col><col></colgroup>
 
Upvote 0
A
B
C
D
1
Assessing OfficialAll Contract NumbersUser NameUser Role
2
AMBERAAAAAA1AMBERAssessing Official
3
ALANBBBBBB2LAURENAssessing Official Rep
4
ALANBBBBBB2ALANAssessing Official
5
ALANBBBBBB2AMYReviewing Official
6
CCCCCC3LAURENAssessing Official Rep
Sheet: Sheet64

Array formula in cell A2:

=IFNA(INDEX($C$2:$C$6,MATCH(B2&"Assessing Official",$B$2:$B$6&$D$2:$D$6,0)),"")
 
Upvote 0
=IFNA(INDEX($C$2:$C$6,MATCH(B2&"Assessing Official",$B$2:$B$6&$D$2:$D$6,0)),"")

This worked, thank you!
 
Upvote 0

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

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