#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default hour

I have a sheet for employee's with the number of hours worked in a week in
one column (example 37.5) and the number of hours available (example 28.15)
in another - I have the format for each set at text so excel won't reformat
the data.

Now, I need to know the % of weekly hours that someone was available and I
can't get the formula to calculate correctly. I'm assuming that it is
because of the format of the original cells ?? any ideas? I don't want to
change how the hours are recorded (about 100 employees) imput their own
hours. The # of hours available is pulled from our phone program. Plus, I
would rather not figure out the % myself and I'm thinking that Excel can do
this for me!
Please help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default hour

A few things.

Why do you make it text, you can format it however you want?

Even as text, Excel should workout the value okay, unless you have some
other text in the cell as well as the time (e.g. 37.5 hours)



--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Char" wrote in message
...
I have a sheet for employee's with the number of hours worked in a week in
one column (example 37.5) and the number of hours available (example
28.15)
in another - I have the format for each set at text so excel won't
reformat
the data.

Now, I need to know the % of weekly hours that someone was available and I
can't get the formula to calculate correctly. I'm assuming that it is
because of the format of the original cells ?? any ideas? I don't want
to
change how the hours are recorded (about 100 employees) imput their own
hours. The # of hours available is pulled from our phone program. Plus,
I
would rather not figure out the % myself and I'm thinking that Excel can
do
this for me!
Please help!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,091
Default hour

Formatting of numbers is for human consumption. You can havea number in a
cell and format it as you want it to appear. For calculations, Excel uses
the number that's in the cell, not the formatted appearance.

Tyro

"Char" wrote in message
...
I have a sheet for employee's with the number of hours worked in a week in
one column (example 37.5) and the number of hours available (example
28.15)
in another - I have the format for each set at text so excel won't
reformat
the data.

Now, I need to know the % of weekly hours that someone was available and I
can't get the formula to calculate correctly. I'm assuming that it is
because of the format of the original cells ?? any ideas? I don't want
to
change how the hours are recorded (about 100 employees) imput their own
hours. The # of hours available is pulled from our phone program. Plus,
I
would rather not figure out the % myself and I'm thinking that Excel can
do
this for me!
Please help!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default hour

On Sat, 23 Feb 2008 22:24:00 -0800, Char
wrote:

I have a sheet for employee's with the number of hours worked in a week in
one column (example 37.5) and the number of hours available (example 28.15)
in another - I have the format for each set at text so excel won't reformat
the data.

Now, I need to know the % of weekly hours that someone was available and I
can't get the formula to calculate correctly. I'm assuming that it is
because of the format of the original cells ?? any ideas? I don't want to
change how the hours are recorded (about 100 employees) imput their own
hours. The # of hours available is pulled from our phone program. Plus, I
would rather not figure out the % myself and I'm thinking that Excel can do
this for me!
Please help!


IT's not very difficult, and has nothing to do with you formatting your entry
as text. But you do have to format the result as a number or as a per cent.

The formula for % of weekly hours available is:

number of hrs available / total weekly hours.

So if:

A1: 28.15 (formatted as text)
B1: 37.5 (formatted as text)
C1: =A1/B1 will give the % hrs worked.
--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overtime for 8 hour and 40 hour Curtis Excel Discussion (Misc queries) 1 June 7th 07 07:32 PM
convert decimal numbers to a fraction of an hour for payroll hour Flower Excel Worksheet Functions 4 February 10th 06 07:46 PM
Subtracting date:hour from date:hour [email protected] Excel Worksheet Functions 4 August 26th 05 08:35 AM
convert time from 60 minute hour to 100 minute hour Jboerding Excel Discussion (Misc queries) 2 July 6th 05 11:30 PM
How can I round an hour to the nearest 1/4 hour? Ms Chewie Excel Worksheet Functions 5 December 21st 04 05:05 AM


All times are GMT +1. The time now is 12:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"