index/match multiple criteria - cant figure out how to return multiple results

damondickeys

New Member
Joined
Apr 21, 2017
Messages
3
StoreEmployeeJob CodePay RateTotal HoursTotal Pay
CO-00202020employee # 1CASHIER$7.5089.82$898.20
CO-00202020employee # 2CATERING JOB CODE$7.502.62$28.82
CO-00202020employee # 3*******$7.50126.82$1,268.20
CO-00202020employee # 4*******$7.50238.30$2,859.60
CO-00202020employee # 5CASHIER$7.5057.16$628.76
CO-00202020employee # 6CASHIER$7.50198.75$2,086.86
CO-00202020employee # 7CASHIER$7.50260.47$3,386.10

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>

The above is the "raw" data.

This is what I'm using to get the data I'm looking for, but need to return multiple results. This is currently matching the store number and the job code just fine, but i need to see all the matches for the variables.

this gets me the total pay, by job code - but i need to get all of them across multuple columns

=IFERROR(INDEX('Labor Hours - Pay by Day'!$A$1:$F$3110,MATCH(1,('Labor Hours - Pay by Day'!$A$1:$A$3110=Sheet4!C2)*('Labor Hours - Pay by Day'!$C$1:$C$3110=Sheet4!$F$1),0),6),"none")

I also have another "helper" cell to count how many of each type of job codes are assigned to each store

=COUNTIFS('Labor Hours - Pay by Day'!$A:$A,Sheet4!C2,'Labor Hours - Pay by Day'!$C:$C,Sheet4!$F$1)

My summary sheet looks like this

RDSTotalGMsGeneral ManagerGeneral ManagerGeneral ManagerGeneral Manager
45CA-20202020 $ 6,801.421 $ -
45CA- $ - 2 $ -
45CA-0568 $ 191.451 $ -
45CA-0723 $ 2,398.190 none

<colgroup><col span="2"><col><col><col><col span="4"></colgroup><tbody>
</tbody>

can you help?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hello Aladin - sorry for not replying earlier, took a couple of days off from work!

I wound up using a pivot table to organize the data. It worked for the most part.

Many thanks!
 
Upvote 0

Forum statistics

Threads
1,214,899
Messages
6,122,155
Members
449,068
Latest member
shiz11713

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