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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
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)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,853
Messages
5,833,991
Members
430,250
Latest member
Reggie Mcqueen

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
Top