Multiple criteria with VLOOKUP and SUMIF

Tim0705

New Member
Joined
Jan 12, 2021
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet where i need to add up the number of days worked based on mutliple criteria and multiple sheets. What formula should i use?

What i need to do is:

1. Take the Full Name from Column C in Sheet 1 and match every entry in Sheet 2 Column C where there could be multiple rows with that person's name. (Sheet2 being raw data and Sheet 1 being a summary).
2. Once the above has been carried out i then need to add all the days worked (Column G SHeet2) where that person has worked and the Type (Column H in SHeet 2) matches the merged cell G1 (in this example reads 138s).

In the end it should add up all the days worked on the type of vessel for each individual in Column I on Sheet 1.

Not sure how to do it but have tried SUMIFS, VLOOKUP and COUNTIF.

Appreciate the guidance

Regards,

Tim.
 

Attachments

  • SHEET1.jpg
    SHEET1.jpg
    28.9 KB · Views: 17
  • SHEET2.jpg
    SHEET2.jpg
    27.7 KB · Views: 19

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Will this work?
Cell I3 and downward
=SUMIFS(Sheet2!G:G,Sheet2!C:C,Sheet1!C3,Sheet2!H:H,Sheet1!$G$1)
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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