Johnboy28

Board Regular
Joined
Jun 22, 2013
Messages
172
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2010
Platform
  1. Windows
Hi,
Is there a formula that can look up both WE dates and match the category to give you the labour cost? The first row shows the result I'm after.

Thank you.

Production
Category
WE Date
Category
Labour Cost
WE DateDay 1Day 2Day 3Day 4Day 5Day 6
Sun 19/11/17Day 3$1.15Sun 19/11/17$1.55$1.65$1.15$2.95$2.19$1.02
Sun 26/11/17
Day 4??Sun 26/11/17$1.20$1.74$0.95$1.98$2.45$1.65
Sun 26/11/17Day 3??
Sun 03/12/17$1.10$1.61$0.75$1.75$1.95$2.93
Sun 26/11/17Day 1 Sun 10/12/17$1.50$1.25$1.65$1.38$1.75$1.73
Sun 03/12/17Day 6
Sun 03/12/17Day 6
Sun 03/12/17Day 1
Sun 03/12/17Day 2
Sun 10/12/17Day 3
Sun 10/12/17Day 1
Sun 10/12/17Day 1
Sun 10/12/17Day 5

<colgroup><col style="mso-width-source:userset;mso-width-alt:4571;width:94pt" width="125"> <col style="mso-width-source:userset;mso-width-alt:4096;width:84pt" width="112"> <col style="mso-width-source:userset;mso-width-alt:5010;width:103pt" width="137"> <col style="mso-width-source:userset;mso-width-alt:1280;width:26pt" width="35"> <col style="mso-width-source:userset;mso-width-alt:3986;width:82pt" width="109"> <col style="mso-width-source:userset;mso-width-alt:3364;width:69pt" width="92"> <col style="mso-width-source:userset;mso-width-alt:4059;width:83pt" width="111"> <col style="mso-width-source:userset;mso-width-alt:3547;width:73pt" width="97"> <col style="mso-width-source:userset;mso-width-alt:5266;width:108pt" width="144"> <col style="mso-width-source:userset;mso-width-alt:3401;width:70pt" width="93"> <col style="mso-width-source:userset;mso-width-alt:4132;width:85pt" width="113"> </colgroup><tbody>
</tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Thanks for your reply. No, I haven't. I tried sumproduct, I count not get it to work.
 
Upvote 0
Code:
=INDEX($E$2:$K$6,MATCH(A3,$E$2:$E$6,0),MATCH(B3,$E$2:$K$2,0))

asuming that your data is placed in A1:K14
 
Upvote 0
Thanks for your help. That worked great.
 
Upvote 0

Forum statistics

Threads
1,216,077
Messages
6,128,673
Members
449,463
Latest member
Jojomen56

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