me needs some reminding (ms excel)

plthijinx • Apr 26, 2011 4:54 pm
i have a schedule spreadsheet for work i made some time ago in excel. what i want to do, but forgot how, is this: when the times are entered into the fields i want excel to add up the total hours there on the far right column. can't remember how to do that. help anyone?
HungLikeJesus • Apr 26, 2011 5:04 pm
The only way I know to do it would require entering the start and end time for each day in separate columns, preferably using 24 hour time. Then for each day, subtract the start time from the end time and add across.
BigV • Apr 26, 2011 5:18 pm
right.

you can't do math with letters. you have to have the terms be numeric (even time is numeric, but not the way you're displaying it there)... HLJ's right (as usual).
plthijinx • Apr 26, 2011 5:31 pm
that's what i thought but it's been so long since i've used formulas or excel for that matter, was hoping there was an easier way nowadays. thanks y'all!
HungLikeJesus • Apr 26, 2011 5:37 pm
Let me know if you need any help.
HungLikeJesus • Apr 27, 2011 5:36 pm
I sent you a simple Excel timesheet.
HungLikeJesus • Apr 30, 2011 11:22 am
I've updated it for shifts that extend beyond midnight. Check your e-mail.
skysidhe • Apr 30, 2011 12:10 pm
In I 11 type = sum then highlight the entire column.
HungLikeJesus • Apr 30, 2011 12:21 pm
The problem was calculating column 11 from the times entered in the columns to the left.
jimhelm • Apr 30, 2011 12:57 pm
i dicked around with it, but i couldn't get it to do the math on the hours properly. then I saw that you had helped out so i stopped trying.
HungLikeJesus • Apr 30, 2011 1:00 pm
Don't stop trying - my solution wasn't great. Maybe you can come up with something better.

It's always good to learn something new.
skysidhe • Apr 30, 2011 1:16 pm
oops:o

Unfortunately, you'll need to add additional columns. Fortunately it is easy. Right click at the top to insert columns for time in time out.

Here is a guide.

http://www.techrepublic.com/article/use-excel-to-calculate-the-hours-worked-for-any-shift/5756139
jimhelm • Apr 30, 2011 1:54 pm
[YOUTUBE]MtClZ6meTFg[/YOUTUBE]

was just getting into this, and work interrupted...as usual. stupid work.
jimhelm • Apr 30, 2011 3:27 pm
OK....

so the answer I needed was right at the end of that video.

Fred, You have to format the cells first.
skip two rows for label and header.

1. Highlight B3 over to O3 and down as many rows as you have people you want on your list.

2. right click, format cells, custom, and either select or manually enter this: h:mm am/pm [COLOR="Red"](see attached image for this)[/COLOR]

3. column A is for the emp name.

4. column b is mon in, c mon out, d tues in and so on out to column O sun out.

5. highlight column P and format like above, but put this in the Type field [h]:mm (the brackets allow your total to exceed 24 hours)

6. this is the formula for the total hours per week:

=SUM((C3-B3)+(E3-D3)+(G3-F3)+(I3-H3)+(K3-J3)+(M3-L3)+(O3-N3))

cut and past that into field P3

do you know how to drag the cross down from P3 to extend the formula to the adjacent cells?
jimhelm • Apr 30, 2011 3:29 pm
when you fill in your fields, be sure to follow the format:

8:00 am or 2:30 pm with a space before the am/pm part
jimhelm • Apr 30, 2011 3:35 pm
LOOKS LIKE THIS:
HungLikeJesus • Apr 30, 2011 5:39 pm
What happens if you put in a shift that runs beyond midnight (e.g. 1 PM to 1 AM)?
BigV • May 5, 2011 1:21 pm
just use julian time
plthijinx • May 5, 2011 7:42 pm
yeah, the file that HLJ sent me works just how i want. all i did was hide the daily total columns then i'm going to tweak it a little more.

new question:

msword. is there a way to print to a jpeg file? i know you can print to jpeg but it's been so dang long since i've worked with it so much has changed. kinda the same problem i had with excel......
skysidhe • May 5, 2011 10:41 pm
Insert > picture> browse location

My apologies if I misunderstood the question, again.:blush:
HungLikeJesus • May 6, 2011 8:19 am
If it's just a page or two you could do an alt-"print screen" and then paste back into a new document and crop out the extra part. (Or, if you're using Vista or newer, there's a snipping tool that lets you grab whatever part of the screen you want.)

You can also select print and print to a PDF (I don't know if that's included with Word, or if you have to have Adobe Writer/Pro).

Another option is to print to the XPS Document Writer.
plthijinx • May 8, 2011 11:17 am
yeah i did the print screen option. i did it's job. basically the GM at work had a logo for his pool league t-shirts and the printer needed a jpeg rather than the word file.

oh, and another thing, i've finished the time sheet. will post it later today or tomorrow. whenever i get the chance. most likely tomorrow.
plthijinx • May 9, 2011 12:38 am
here is the tweaked version. again thank you for all the help!!! this is exactly what i wanted!
HungLikeJesus • May 9, 2011 8:31 am
Looks good. I like your use of color.
plthijinx • May 9, 2011 12:42 pm
HungLikeJesus;732173 wrote:
Looks good. I like your use of color.


ty, makes it easier to read and follow. easy contrast to the eyes....
jimhelm • May 9, 2011 12:44 pm
HungLikeJesus;729246 wrote:
What happens if you put in a shift that runs beyond midnight (e.g. 1 PM to 1 AM)?

then you have to rewrite the code and it takes like twice as long. he talks about it in that video.