Finding Employees on a Different Sheet

Robby19

Board Regular
Joined
Mar 19, 2018
Messages
227
Good day,

I have a full list of employees on one sheet (master sheet). And a few other sheets (sheet 1, 2, 3, etc...) that will be filled in with the employees name.

What I need is to have a formula on the master sheet that looks at Column C, Row 4 and down on each sheet to compare the same employee number. If it can find the number, then the result of the formula should be "Y" or "Yes." If it cannot find the same number on any of the other sheets, then the result should be "N" or "No."

I cannot change the layout of the other sheets or I would just combine them all together and use an Index(Match)) statement.

See below for a visual;

Master Sheet
Number
Attending?
123456789
No
987654321
Yes

<TBODY>
</TBODY>

The result on the Master sheet for Attending 987654321 is Yes since the same number appears on Sheet 1. The result for 123456789 is No because it does not appear on either sheet 1 or 2.

Sheet 1
Number
Table
123456888
2
987654321
2

<TBODY>
</TBODY>


Sheet 2
Number
Table
112345678
5
111345678
4

<TBODY>
</TBODY>
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Or using VLOOKUP
- in this formula, Table # is in column 4 in each table and EDIPI is in column 1

formula looks a bit more digestible :)
=IFNA(VLOOKUP([@EDIPI],Table1t24,4,0),IFNA(VLOOKUP([@EDIPI],Table25t50,4,0),IFNA(VLOOKUP([@EDIPI],Table51t76,4,0),IFNA(VLOOKUP([@EDIPI],Table77t107,4,0),IFNA(VLOOKUP([@EDIPI],Table108t115,4,0),IFNA(VLOOKUP([@EDIPI],TableHead,4,0),"NOT FOUND"))))))
 
Upvote 0
Unfortunately the EDIPI is in the 4th column and I am not allowed to move it, so VLOOKUP does not work.

Here is another fun one for you. How can I show how many guests each person is bringing on the master sheet. For example;

Master Sheet
Paid?Table #Seat ## of GuestsEDIPI
2123456789
0987654321

<TBODY>
</TBODY>

Table1t24
First NameLast NameEDIPIGuest
aa132456789
bbYes
ccYes
dd987654321

<TBODY>
</TBODY>

The guest will always be directly under the "sponsor."
 
Upvote 0
Now it is your turn... :)

Something worth a try is Search and Replace on the formula

Replace
Table #
with
# of Guests
 
Last edited:
Upvote 0
The easy answer is to use the same EDIPI for each guest that matches the sponsor and do a count of that, however that will make the Table1t24 tab look unpleasing to the eyes. Other than that I am at a loss. Maybe an Count of Indirect(Search) or some sort? Lol :confused:
 
Upvote 0
Is it either 1 guest or none (based on Yes in that column) OR is there an additional column holding number of guests?


PS - it would be much easier if all the feeder tables were combined into ONE table with an extra column added containing ExcelTableRef :)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,550
Messages
6,131,304
Members
449,642
Latest member
jobon

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