Not sure which formula to use...

M
     T  
     W
     T
     F 

A
 4 
     1
     CLN
     3

B
 1
     2
     2
     2

C
 3
     STK
     STK

 
The table represents my employee schedule for one week.
1, 2, CLN and STK are 6 hour shifts.
3 and 4 are 8 hour shifts.
I need to know which formula or function to use to give me the total hours each individual employee will work for the week (for example,
employee A works 28 hours during the week).

 
Thanks in advance!

Keys to the Problem Not sure which formula to use...


Assuming your data above is in columns A to F and starts at row 2 then put this formula in G2 and drag down

=SUMPRODUCT((B2:F2=1;2;"CLN";"STK")*6)+SUMPRODUCT((B2:F2=3;4)*8)


Click here to download the registry repair application


Another Safe way to Repair the problem: Not sure which formula to use...:

Click here to download the registry repair application .

How to Fix Not sure which formula to use... with SmartPCFixer?

1. Download SmartPCFixer. Install it on your system.

2. After the scan is done, you can see the errors and problems which need to be repaired.

3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.


Related: [Solved] Creating labels in Microsoft Word Starter,How to defrag my system? [Anwsered],Solution to Error: I can't find windows journal in my Windows 7 OS. It is included in the Starter edition?,Scripted Diagnostics Native Host not working,How to Resolve - system restore points keep vanishing in windows 7?,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22),Troubleshooting:pfstudiox Error,[Solved] Svchost Helper,[Solution] Sm1bg exe,How to Fix Problem - Io Device?,Fast Solution to Problem: I Can Error Code 0x6d9
Read More: Fast Solution to Error: Numeric keypad not working on the computer.,Troubleshooting:"A disk Error Has Occurred" Error,How to Fix not enough disk space to create a system image error,How to Fix Problem - Numeric keypad not working?,How to Fix Problem - "appcrash" pro tools se 8.0.3 in Windows 7 Service pack1?,Need to change the programs in Start Up mode.,needing to correct error- 0x80070002,New windows7 machine won't connect to my older vista network/workgroup,New Dell Inspiron 20 mouse will not work,New Windows 7 Asus laptop won't connect to internet