Lookup Multiple Columns for Value to Input

Kybred4492

New Member
Joined
Jan 11, 2010
Messages
5
I have a spreadsheet of employees, with multiple positions, at multiple stores, and multiple pay rates, as below:

HJohnCook10.00
KJohnPorter9.00
EBobCashier8.00
HBobCook10.00

<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>
</tbody>

I want to use a lookup, that will take what I have in one table, which will be timecard records, and look in the second table, above, to look for matching location (column A), matching name (column B), matching position (column C), AND then use the rate (column D) if all of that matches. It should then pull that rate for that person, if all areas match, over to the timecard table.

If there is no exact match, then "False" could be the entry, meaning I do not have a rate for that person, positiion, and/or store.

I have tried several ways and still cannot get it to work out for me. Is there anyone interested in helping me with this?

Thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
LocatioonNamePositionRate
KJohnPorter9

<COLGROUP><COL style="WIDTH: 48pt" span=4 width=64><TBODY>
</TBODY>

i added this to kolumns F to I, but you can change it and adjust the formula:
Code:
=SUMPRODUCT((--(A1:A1000=F2))*(--(B1:B1000=G2))*(--(C1:C1000=H2))*D1:D1000)
 
Upvote 0
LocatioonNamePositionRate
KJohnPorter9

<tbody>
</tbody>

i added this to kolumns F to I, but you can change it and adjust the formula:
Code:
=SUMPRODUCT((--(A1:A1000=F2))*(--(B1:B1000=G2))*(--(C1:C1000=H2))*D1:D1000)


That formula, even with my making the changes and setting it up like you have, it does not work and returns a value error.
 
Upvote 0

Forum statistics

Threads
1,216,520
Messages
6,131,135
Members
449,626
Latest member
Stormythebandit

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