Meth0dman27
New Member
- Joined
- May 6, 2018
- Messages
- 5
Hi All,
Looking for a possible answer to an excel issue I'm having. I would need to be able to return multiple values using an index search, but also using multiple criteria. I have two sheets that I'm working with
First sheet is set up as such:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Shift[/TD]
[TD]Section[/TD]
[TD]Employee #[/TD]
[TD]Name[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[/TR]
[TR]
[TD]CKFT[/TD]
[TD]CK[/TD]
[TD]111[/TD]
[TD]John[/TD]
[TD]6am[/TD]
[TD]off[/TD]
[/TR]
[TR]
[TD]CKFT[/TD]
[TD]CK[/TD]
[TD]222[/TD]
[TD]Jane[/TD]
[TD]off[/TD]
[TD]6am[/TD]
[/TR]
[TR]
[TD]HKFT[/TD]
[TD]HK[/TD]
[TD]333[/TD]
[TD]Joe[/TD]
[TD]6am[/TD]
[TD]VAC[/TD]
[/TR]
[TR]
[TD]HKFT[/TD]
[TD]HK[/TD]
[TD]444[/TD]
[TD]Joanne[/TD]
[TD]6am[/TD]
[TD]6am[/TD]
[/TR]
[TR]
[TD]HKFT[/TD]
[TD]HK[/TD]
[TD]555[/TD]
[TD]Jim[/TD]
[TD]VAC[/TD]
[TD]3pm[/TD]
[/TR]
</tbody>[/TABLE]
This is a pretty simplified version as it spans multiple sections, days and employees
The issue I'm having is trying to populate another sheet using this data source. What I want to do is be able to use a formula to populate the names into the below format. The qualifying criteria that would be used are listed at the top and can be assumed to just be A2,B2,C2 respectively
Sheet 2:
DATE: Monday
SECTION: HK
SHIFT: 6AM (search for "6AM" text string within Column E & F)
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]EMP no.[/TD]
[TD]NAME[/TD]
[TD]HR[/TD]
[TD]OT[/TD]
[TD]Comment[/TD]
[TD]Replace[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Joe[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Joanne[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm looking to solve for only column B in this chart. The only formula I've tried so far was an array formula, however it didn't allow to solve for two lookup criteria, and returned an error only.
Looking for a possible answer to an excel issue I'm having. I would need to be able to return multiple values using an index search, but also using multiple criteria. I have two sheets that I'm working with
First sheet is set up as such:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Shift[/TD]
[TD]Section[/TD]
[TD]Employee #[/TD]
[TD]Name[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[/TR]
[TR]
[TD]CKFT[/TD]
[TD]CK[/TD]
[TD]111[/TD]
[TD]John[/TD]
[TD]6am[/TD]
[TD]off[/TD]
[/TR]
[TR]
[TD]CKFT[/TD]
[TD]CK[/TD]
[TD]222[/TD]
[TD]Jane[/TD]
[TD]off[/TD]
[TD]6am[/TD]
[/TR]
[TR]
[TD]HKFT[/TD]
[TD]HK[/TD]
[TD]333[/TD]
[TD]Joe[/TD]
[TD]6am[/TD]
[TD]VAC[/TD]
[/TR]
[TR]
[TD]HKFT[/TD]
[TD]HK[/TD]
[TD]444[/TD]
[TD]Joanne[/TD]
[TD]6am[/TD]
[TD]6am[/TD]
[/TR]
[TR]
[TD]HKFT[/TD]
[TD]HK[/TD]
[TD]555[/TD]
[TD]Jim[/TD]
[TD]VAC[/TD]
[TD]3pm[/TD]
[/TR]
</tbody>[/TABLE]
This is a pretty simplified version as it spans multiple sections, days and employees
The issue I'm having is trying to populate another sheet using this data source. What I want to do is be able to use a formula to populate the names into the below format. The qualifying criteria that would be used are listed at the top and can be assumed to just be A2,B2,C2 respectively
Sheet 2:
DATE: Monday
SECTION: HK
SHIFT: 6AM (search for "6AM" text string within Column E & F)
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]EMP no.[/TD]
[TD]NAME[/TD]
[TD]HR[/TD]
[TD]OT[/TD]
[TD]Comment[/TD]
[TD]Replace[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Joe[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Joanne[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm looking to solve for only column B in this chart. The only formula I've tried so far was an array formula, however it didn't allow to solve for two lookup criteria, and returned an error only.