Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default mixed text and formula results

I need to track the hours of part time employees to ensure that the average
number hours per week they work does not exceed 18. Calculating the average
is easy enough but I would like the cell to display how many hours over the
average they have worked. For example, if the employee worked 37 hours in
two weeks the cell should say €śExceeded allotted hours by 1.00€ť. The formula
so far is =IF(AVERAGE(B3:B16)18,"exceeds allowable hours by",
AVERAGE(B3:B16))
Thank you

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default mixed text and formula results

Change your fomula to:

=IF(AVERAGE(B3:B16)18,"exceeds allowable hours by "&(AVERAGE(B3:B16)-18)&"
hours",AVERAGE(B3:B16))

--
Kevin Backmann


"johnu" wrote:

I need to track the hours of part time employees to ensure that the average
number hours per week they work does not exceed 18. Calculating the average
is easy enough but I would like the cell to display how many hours over the
average they have worked. For example, if the employee worked 37 hours in
two weeks the cell should say €śExceeded allotted hours by 1.00€ť. The formula
so far is =IF(AVERAGE(B3:B16)18,"exceeds allowable hours by",
AVERAGE(B3:B16))
Thank you

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
formula mixed text and values tsunami Excel Discussion (Misc queries) 1 December 7th 07 03:52 PM
Counting a mixed text/number column based on text in another colum Sierra Vista Steve Excel Discussion (Misc queries) 3 December 17th 06 05:30 PM
Need to export to text results not formula Muaitai Excel Discussion (Misc queries) 2 July 6th 06 04:51 PM
Incrementing Mixed text & numbers Janet T Excel Discussion (Misc queries) 8 November 9th 05 01:02 AM
Stripping mixed number and text Kevin Excel Worksheet Functions 2 December 9th 04 05:49 PM


All times are GMT +1. The time now is 10:32 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"