Formula Help?

starky5

New Member
Joined
Jun 23, 2004
Messages
3
Here is an exampl of my data on a spreadsheet related to tracking the hours of team members for each project we are working on:

Jan Feb Mar Apr Total
Project A
John - Primary 5 10 20 5 40
Joe - Secondary 5 5 10 5 25

Project B
Joe Primary 5 30 20 5 60
Sue Secondary 5 5 5 5 20

Project C
Bill Primary 20 20 30 10 80
John Seecondary 5 10 20 5 40

What I want to do on another sheet is create a summary table that would have data like this:

John Primary hours = ??
John Secondary hours = ??
Joe Primary hours = ??
Joe Secondary hours = ??
Sue Primary hours = ??
Sue Secondary hours = ??
Bill Primary hours = ??
Bill Secondary hours = ??


Basically the logic needs to lookat column A1:A20, and if it equals "John Primary", keep a running total of the hours in the last column.

Is this possible?

Thanks...
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
starky5 said:
Here is an exampl of my data on a spreadsheet related to tracking the hours of team members for each project we are working on:

Jan Feb Mar Apr Total
Project A
John - Primary 5 10 20 5 40
Joe - Secondary 5 5 10 5 25

Project B
Joe Primary 5 30 20 5 60
Sue Secondary 5 5 5 5 20

Project C
Bill Primary 20 20 30 10 80
John Seecondary 5 10 20 5 40

What I want to do on another sheet is create a summary table that would have data like this:

John Primary hours = ??
John Secondary hours = ??
Joe Primary hours = ??
Joe Secondary hours = ??
Sue Primary hours = ??
Sue Secondary hours = ??
Bill Primary hours = ??
Bill Secondary hours = ??


Basically the logic needs to lookat column A1:A20, and if it equals "John Primary", keep a running total of the hours in the last column.

Is this possible?

Thanks...

With E2 housing a value like John Primary:

=SUMIF(Source!$A$2:$A$100,E2,Source!$G$2:$G$100)
 
Upvote 0

Forum statistics

Threads
1,214,570
Messages
6,120,297
Members
448,954
Latest member
EmmeEnne1979

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