How to Index on Columnal data

melodramatic

Board Regular
Joined
Apr 28, 2003
Messages
180
Office Version
  1. 365
Platform
  1. Windows
OK, I copied an Index formula earlier, and finally realized it's not working because my data is in columns, not in row. I think, at least.

I've got two separate tables.

Table #1 (Table Name is "W_B3") is used to schedule personnel to work on projects. Each project will have its own line, and on the day of scheduling, you put in the initials of personnel working that project.

Table #2 (Table Name is "W_Techs") is used to show which personnel are scheduled, and the project/equipment for their schedule on any specific day.

My messed-up formula is intended to work in Table #2, by searching the day column in the B3 table, sarching for the Employee initials, and then put in the cell for the project/equipment. The whole thing is mussed up.

I'm putting in a screen capture of what I'm getting as my answers - and hoping that someone can give me a lesson in how to do it right.

Thank you in advance!!!

1660176185148.png
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
As you have more than one set of initials in the cell you need to do a wildcard match like
Excel Formula:
match("*"&[@Employee]&"*",
 
Upvote 0
OK, I tried the following:

Code:
=INDEX(W_B3[Descript],MATCH("*"&[@Employee]&"*",W_B3[Mon]))

And now all of the cells have #N/A (Value not Available to the formula or function)

1660230517822.png
 
Upvote 0
Try adding 0 as the final argument in the match function.
 
Upvote 0
Solution
Code:
=INDEX(W_B3[Descript],MATCH("*"&[@Employee]&"*",W_B3[Mon],0))

And THIS is why I use MrExcel - the fantastic geniuses willing to help out us Excel minions.

Thank you so much, Fluff! The "*"s, along with the "0" did the trick!!!!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,428
Members
449,083
Latest member
Ava19

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