Timesheet formula / Resource Planning

SCG

Board Regular
Joined
May 27, 2010
Messages
52
Probably a really easy one guys. Want to create a resource plan for myself. Each day is split up into a morning session and afternoon session with each session being 3 hours long.

On my spreadsheet was looking at entering companies names with in the morning session or afternoon session throughout the week. At the end I would have a formual looking up each company and adding together all the hours. For example Company A, had five sessions during the week, so a lookup or IF statement would look for the name Company A and multiple the number of times it found it by 3. E.g. 5 x 3 = 15 hrs that week. Any thoughts?

MondayTuesdayWednesdayThursday
Morning (3hrs)Comp AComp BComp BComp B
Afternoon (3hrs)Comp AComp AComp BComp B

<tbody>
</tbody>
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Try

=SUMPRODUCT(($B$2:$E$3=$A7)*3)

or

=COUNTIF($B$2:$E$3,$A7)*3

Code:
[TABLE="width: 325"]
<tbody>[TR]
[TD="width: 65"][/TD]
[TD="width: 65"]Monday[/TD]
[TD="width: 65"]Tuesday[/TD]
[TD="width: 65"]Wednesday[/TD]
[TD="width: 65"]Thursday[/TD]
[/TR]
[TR]
[TD]Morning (3hrs)[/TD]
[TD]Comp A[/TD]
[TD]Comp B[/TD]
[TD]Comp B[/TD]
[TD]Comp B[/TD]
[/TR]
[TR]
[TD]Afternoon (3hrs)[/TD]
[TD]Comp A[/TD]
[TD]Comp A[/TD]
[TD]Comp B[/TD]
[TD]Comp B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Comp A[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Comp B[/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,939
Members
449,094
Latest member
teemeren

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