Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default worksheet trouble

Hi, I have a worksheet for counting working hours. In one coloumn I have
"Work" og "Freetime". One for each day on the calender. can I sum the numbers
of "Work" and Freetime"? If it is Work...I have to add 8 hours of work to my
time,, but if it is "Free" I have to (-) 8 hours. It is for seeing how many
hours I have in rest.
--
Toro
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default worksheet trouble

What you have described doesn't work. for example in 30 days if you work 15
and have 15 free the result of the logic below gives zero which is not what i
suspect you want. However you may be able to build on this which looks at A1
to A30 and does what you require i.e. adds 8 hours to the total for work and
subtracts 8 for free

=COUNTIF(A1:A30,"=work")*8-(COUNTIF(A1:A30,"=freetime")*8)

Mike

"Toro" wrote:

Hi, I have a worksheet for counting working hours. In one coloumn I have
"Work" og "Freetime". One for each day on the calender. can I sum the numbers
of "Work" and Freetime"? If it is Work...I have to add 8 hours of work to my
time,, but if it is "Free" I have to (-) 8 hours. It is for seeing how many
hours I have in rest.
--
Toro

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
Trouble with sorting and Worksheet protect Eileen Excel Discussion (Misc queries) 3 January 24th 07 05:22 PM
Trouble with Cell/Worksheet Protection... jk Excel Discussion (Misc queries) 1 January 23rd 06 12:46 PM
Trouble sorting linked worksheet - need help [email protected] Excel Discussion (Misc queries) 2 December 5th 05 09:39 PM
Trouble with Image Control on a worksheet MChrist Excel Worksheet Functions 0 August 19th 05 01:18 PM
I have had trouble with textbox text to worksheet Thomas Excel Discussion (Misc queries) 1 March 10th 05 03:23 AM


All times are GMT +1. The time now is 09:06 PM.

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

About Us

"It's about Microsoft Excel"