excel noob looking for some help

tminogue

New Member
Joined
Apr 13, 2015
Messages
3
Hi,

At work we have a Rota as people work on shift patterns and then I have to look at the rota and complete a separate spreadsheet basically translating the rota in numbers for a monthly total (in hours)

This is extremely boring and time consuming and I have been trying to work out the right formula to make this task simple.

E.G

in the rota people wither work Early shifts, Late shifts or Long Days:
E = 7.5
L = 7.5
LD = 10
DO = 0 (Day off)

I have created a spreadsheet using list's so that you can only put certain words in cells (E, L, LD, DO) but I firstly don't know how to assign a value to "E" so that every time an E is input the spreadsheet knows its value is 7.5 and then can sum the total hours for all the E (early Shifts) worked that month



nameMonTueWedThuFridTotal
JohnLDELDLDDO37.5
JaneDODOEEDO15

<tbody>
</tbody>


so i want the table to look at Johns weekly schedule and calculate total hours worked by looking at his shifts LD, E, LD, E, LD, DO and know that it actually means 10 + 7.5 + 10 + 10 + 0 and give a total (37.5)

I hope this makes sense, and thanks in advance for any help you can provide
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
This one is better, in case there are blanks.
Must be entered with Ctrl, Shift & Enter

=SUM(IFERROR(LOOKUP(B2:F2,{"DO","E","L","LD"},{0,7.5,7.5,10}),0))
 
Upvote 0

Forum statistics

Threads
1,215,389
Messages
6,124,662
Members
449,178
Latest member
Emilou

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