If function required??

iazcac

New Member
Joined
Sep 26, 2007
Messages
26
Hi

I have a spreadsheet where people enter the time they have spent on a project. A number of rows can be added for each project

What I want to do is calculate the total time in Column C (Total Time) and display it on each row


Project......... TimeSpent....... Total Time
Project A............5......................8
Project A............3...................... 8
Project B............2.....................3
Project B............1......................3


Do I need an IF formula to do this? Tried lots of combinations but not having any luck, and pretty sure it is possible!

Thanks
C
 

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.
Hi

I have a spreadsheet where people enter the time they have spent on a project. A number of rows can be added for each project

What I want to do is calculate the total time in Column C (Total Time) and display it on each row


Project......... TimeSpent....... Total Time
Project A............5......................8
Project A............3...................... 8
Project B............2.....................3
Project B............1......................3


Do I need an IF formula to do this? Tried lots of combinations but not having any luck, and pretty sure it is possible!

Thanks
C
Try this...

Enterd in C2 and copied down:

=SUMIF(A$2:A$5,A2,B$2:B$5)
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,319
Members
452,905
Latest member
deadwings

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