Work Spread sheet.

dvincer23

New Member
Joined
Mar 4, 2009
Messages
5
Im trying to design a spreadsheet for work that calculates pre approved absences from my workers. So far i hvae design the spreadsheet but im running into problems. Here is a small example of what i have:
(the dots are to keep my table in shape)
......A .......|....B......|...C...|.....D | E
1|Names....|............|John..|.Carm.| Jill
2|Absences|VAC used| 0.....| 0.....| 0
3\.............|SL used | 0.....| 0....| 0
4|.............|PL used | 0.....| 0.....| 0
5|.............|LOA used| 0.....| 0.....| 0
6| JULY......|.......1....|.......|.......|
7|.............|.......2....|.......|.......|
8|.............|.......3....|.......|.......|
9|.............|.......4....|.......|.......|

ok so whats going on here is that in the months boxes i created drop down menus that contain the flowing data:
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=64 border=0><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: #ffc000; BORDER-LEFT: #e0dfe3; WIDTH: 48pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" width=64 height=17>LOA</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17>PL</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: #009999; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>VAC 0,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: #009999; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>VAC 1</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 0,50</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 1</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 1,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 2</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 2,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 3</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 3,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 4</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 4,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 5,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 6</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 6,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 7</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 7,5</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BACKGROUND: red; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 12.75pt; mso-pattern: black none" height=17>SL 8</TD></TR></TBODY></TABLE>

When i select any of these i want them to count in the cells C2 to C5 (for the first user) But the problem i am having is that i can get it to count (for example) VAC 1 because its whole number. But when i select VAC 0.5 i want it to add as a .5 value.

example:

John has taken a VAC 1 on July 1st and VAC 0.5 on July 2nd and i want to total beside "VAC used" to be 1.5


......A .......|....B......|...C......|.....D | E
1|Names....|............|John....|.Carm.| Jill
2|Absences|VAC used| 1.5....| 0.....| 0
3\.............|SL used | 0.......| 0....| 0
4|.............|PL used | 0.......| 0.....| 0
5|.............|LOA used| 0.......| 0.....| 0
6| JULY......|.......1....|VAC1..|.......|
7|.............|.......2....|VAC0.5|.......|
8|.............|.......3....|.......|.......|
9|.............|.......4....|.......|.......|

is there any way to do this? Help is greatly appreciated!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Excel Workbook
ABCDEF
1NAMEBaillargeon RobertBeaulieu MichelBoisvert MarcBoivenue Michel
2ABSENCEID #1045108712101205
3VAC earned28
4VAC used0000
5SL used0000
6PL used0001
7LOA used0000
8JULY1SL 3
92
103
114VAC 1
125
136PL
147
158
169
1710
1811
1912
2013
2114
2215
2316
2417
2518
2619
2720
2821
2922
3023
3124
3225
3326
3427
3528
3629
3730
3831
Absences
 
Upvote 0
When i select any of these i want them to count in the cells C2 to C5 (for the first user) But the problem i am having is that i can get it to count (for example) VAC 1 because its whole number. But when i select VAC 0.5 i want it to add as a .5 value.

When running your count if formula for anything thats .5 could you not divide the result by 2?
 
Upvote 0
When running your count if formula for anything thats .5 could you not divide the result by 2?

The formulas i have there count the basics. i dont know were to go to count 1 & 0.5. the problem i run into is that i hvae to turn the text into the number i want e.g VAC 1 = 1 and VAC 0.5 = 0.5 . I have no idea what to do. I looked and looked and im running out of ideas.
 
Upvote 0
The formulas i have there count the basics. i dont know were to go to count 1 & 0.5. the problem i run into is that i hvae to turn the text into the number i want e.g VAC 1 = 1 and VAC 0.5 = 0.5 . I have no idea what to do. I looked and looked and im running out of ideas.

Not sure why your doing that, I'd recommend you go through the below helpful examples on COUNT and see if you can change your approach

http://www.contextures.com/xlFunctions04.html

http://office.microsoft.com/en-us/excel/HP052090291033.aspx
 
Upvote 0
is there not a way were i can turn the text into Values? such as VAC1 into 1 and VAC 0.5 into 0.5... and so on?
 
Upvote 0

Forum statistics

Threads
1,214,621
Messages
6,120,563
Members
448,972
Latest member
Shantanu2024

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