LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Ltat42a
 
Posts: n/a
Default Help with two items


Hi...maybe you can help.
I made a spreadsheet to track monies spent on overtime. I have over 20
people that I'm tracking for. I have their name, number of hours, their
hire date, and their hourly rate.

I need help with two items -
1. I have a section of the spreadsheet that summarizes everyone's name
and the entire amount spent on OT. I'm using the formula =B2 to copy
their name from cell B2 to L121. If there is no name listed in B2, L121
returns a value of 0. How can I show L121 as blank instead of 0? If a
name is listed in B2, then it will appear in L121.

2. I'm using a date calculation to tell me how long they have been
employed -
=DATEDIF(A7,TODAY(),"m")/12.
This gives me their time in service on the job. It gives me the
calculation in a 2 decimal format. I need it in a whole number. When I
change the format to a whole number, Excel rounds the number up if the
value is more than .50 (i.e. 20.75 is rounded up to 21). How can I keep
Excel from rounding the number up?
20.75 years should read as 20 years instead of 21 years.

Any suggestions?
Thanx in advance......Ltat42a


--
Ltat42a
------------------------------------------------------------------------
Ltat42a's Profile: http://www.excelforum.com/member.php...o&userid=24735
View this thread: http://www.excelforum.com/showthread...hreadid=466602

 
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
Pivot Table - untick all items in row field DD1 Excel Discussion (Misc queries) 6 May 3rd 06 07:17 PM
multiple items in database Peter Excel Worksheet Functions 2 June 15th 05 08:19 PM
Computing totals for tax and non-tax items Dan Wilson Excel Worksheet Functions 2 March 31st 05 01:05 AM
Pivot Table unable to Include Hidden Items In Subtotals TC319 Charts and Charting in Excel 0 February 24th 05 08:53 PM
Can't group pivot table items by month in Excel scott_ensley Excel Discussion (Misc queries) 1 February 1st 05 08:41 PM


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