Match Index Formula

NVRensburg

Board Regular
Joined
Jul 1, 2014
Messages
100
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi there
This is the table that I have populated, now in the bottom table I want to use formula's to find the match the information from the Rows and Columns to put the names in the table from above (if that makes any sense). Please could someone help me with the correct formula.
 

Attachments

  • site example.png
    site example.png
    48.3 KB · Views: 22

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
What's going to happen when two workers attend the same site, on the same day? For example Hargreaves on Monday 16th, has both Person B, and person J attending. What would you expect the result to be, in B17?
 
Upvote 0
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version.

Also, can you give us the sample data again (with expected results) using XL2BB?
Most helpers are not so keen on manually typing out so much sample data to test their ideas. ;)
 
Upvote 0
What's going to happen when two workers attend the same site, on the same day? For example Hargreaves on Monday 16th, has both Person B, and person J attending. What would you expect the result to be, in B17?
I'm not sure, what would you suggest?
 
Upvote 0
I'm not quite sure how to get the XL2BB to work. Can I not attach a sample sheet to this thread? I've also updated my profile as requested :)
 
Upvote 0
I've used the web to upload the file so it can be downloaded if that helps?
 
Upvote 0
I'm not quite sure how to get the XL2BB to work.
If you follow the link I provided it details the steps to install and use XL2BB.


I've also updated my profile as requested
Thanks, that helps as it means you have the TEXTJOIN function. Therefore, this may be what you are after to work in both versions you have?
Formula copied across and down. First though you will need to remove the space characters from the end of all the names in A16:A23 so they match exactly the names in the top section.

NVRensburg.xlsx
ABCDEFG
1WEEK STARTING16/03/202017/03/202018/03/202019/03/202020/03/202021/03/2020
2NAMEMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAY
3Person ASpencerSpencerSpencerSpencerTraining
4Person BHargreavesHargreavesHargreavesHargreavesHargreaves
5Person CTropicanaTropicanaTropicanaTropicanaTropicanaTropicana
6Person DDNWDNWDNWShore JunctionNo workDNW
7Person EHouse 1House 2House 3DNWDNWDNW
8Person FTropicanaTropicanaTropicanaTropicanaTraining
9Person GConstellationConstellation
10Person HM OneM OneM OneConstellationShore Junction
11Person I
12Person JHargreavesHargreavesHargreavesHargreavesHughes and Tuke
13Person KSale MasonrySale MasonrySale MasonrySale MasonryTraining
14Person LCMPCMPCMPCMPCMP
15SITEMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAY
16SpencerPerson APerson APerson APerson A  
17HargreavesPerson B, Person JPerson B, Person JPerson B, Person JPerson B, Person JPerson B 
18Princes Street      
19Mercy      
20M OnePerson HPerson HPerson H   
21Constellation Bus Station      
22Sale MasonryPerson KPerson KPerson KPerson K  
23Ryman Healthcare      
16 MARCH 2020
Cell Formulas
RangeFormula
B16:G23B16=TEXTJOIN(", ",1,IF(B$3:B$14=$A16,$A$3:$A$14,""))
 
Upvote 0
Thank you so much, that looks perfect....however I'm getting a #VALUE when I put those formula's in. Any idea's why?
 
Upvote 0
To avoid #value use the below instead and copy it across in all range

=IFERROR(TEXTJOIN(", ",1,IF(B$3:B$14=$A16,$A$3:$A$14,"")),"")
Cheers
Mede
 
Upvote 0

Forum statistics

Threads
1,214,560
Messages
6,120,217
Members
448,951
Latest member
jennlynn

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