V
viangogh
Hello
I've been trying to find out help without posting, reading other posts
but didn't...
So here goes my problem:
(I only discovered EXCEL last week...!)
I want to create a workbook that calculates my salary automaticaly jus
by entering the day of work and the hour I started and the hour I go
out (I get payed by the day).
1. So, first I need to calculate the TOTAL of hours of work in a give
day knowng the hour I started and the hour I finished.
EX:
A B
08:00 20:00 - Starting hour
22:00 07:00 - Ending hour
14 11 - TOTAL in HOURS (without minutes)
2. Then, here's the tricky part... My salary changes if it is a wee
day, or a weekend day (and holiday).
So, I need EXCEL to know the weekday of the date I insert (ex: I inser
08.03.2004 and EXCEL reconizes it as MONDAY), and from there multipl
the number of HOURS of that day in one of two charts I have in anothe
sheet; one for MON, TUE, WED, THU, FRI, and the other for SAT, SUN an
HOLIDAY...
What I did so far:
I have a 1st sheet like this:
A B
1 DAY Day1
2 DATE 08.03.2004
3 WEEKDAY monday
4 FROM 08:00
5 TO 22:00
6 TOTAL 14
I want to enter B2 and EXCEL imediately fills B3 with the week day.
I want to enter B4 and B5 and EXCEL automaticaly discovers B6 - th
TOTAL of hours (even if it goes over midnight).
Then, already knowing if I worked in a weekday or a weekend day (ar
holidays even possible?), EXCEL grabs the TOTAL of hours of that day
and multiplies it by either one or the other chart I have in Sheet2.
Any help apreciated!
Thanks,
Mm Via
I've been trying to find out help without posting, reading other posts
but didn't...
So here goes my problem:
(I only discovered EXCEL last week...!)
I want to create a workbook that calculates my salary automaticaly jus
by entering the day of work and the hour I started and the hour I go
out (I get payed by the day).
1. So, first I need to calculate the TOTAL of hours of work in a give
day knowng the hour I started and the hour I finished.
EX:
A B
08:00 20:00 - Starting hour
22:00 07:00 - Ending hour
14 11 - TOTAL in HOURS (without minutes)
2. Then, here's the tricky part... My salary changes if it is a wee
day, or a weekend day (and holiday).
So, I need EXCEL to know the weekday of the date I insert (ex: I inser
08.03.2004 and EXCEL reconizes it as MONDAY), and from there multipl
the number of HOURS of that day in one of two charts I have in anothe
sheet; one for MON, TUE, WED, THU, FRI, and the other for SAT, SUN an
HOLIDAY...
What I did so far:
I have a 1st sheet like this:
A B
1 DAY Day1
2 DATE 08.03.2004
3 WEEKDAY monday
4 FROM 08:00
5 TO 22:00
6 TOTAL 14
I want to enter B2 and EXCEL imediately fills B3 with the week day.
I want to enter B4 and B5 and EXCEL automaticaly discovers B6 - th
TOTAL of hours (even if it goes over midnight).
Then, already knowing if I worked in a weekday or a weekend day (ar
holidays even possible?), EXCEL grabs the TOTAL of hours of that day
and multiplies it by either one or the other chart I have in Sheet2.
Any help apreciated!
Thanks,
Mm Via