Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kevin
 
Posts: n/a
Default Multiple Functions

I already asked a question similar to this one, but I thought I should try
and be more specific. This is what I am trying to do, I want one cell to be
able to calculate all of these times together so I can keep a running total
for the year. I need that cell to calculate 8 hours a month of comp time and
we also get 1 hour for every 8 hours of standby. I have one reply to my first
message stating that it would probably be easier to use 2 columns, which I
will probably have to do if I can't get any other suggestions for my problem.
Thanks again for any help that may be provided!
Kevin.
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

When you have dates in column A, and standby times as numbers in column B,
with data p.e. in range A2:B1000, then the summary standby time for p.e.
February of current year will be:
=SUMPRODUCT(--(Year($A$2:$A$1000)=2500),--MONTH($A$2:$A$1000)=2),$B$2:$B$100
0)
formatted as general or number.
The number of 8-hour time intervals will be the formula above divided by 8.

When standby times are entered in time format, like 4:00 or 8:00, then
formula for summary time is same, but you have to format the cell with
formula as Custom "[h]" or "[h]:mm". To calculate the number of 8-hour time
intervals, multiply the formula with 24*60, and divide by 8.

When the workbook contains dates from one single year, then you can omit the
first comparision, the one with YEAR function, in formula(s). You also can
then use SUMIF function instead of SUMPRODUCT.

When calculating same figures for year, you omit the month comparision in
SUMPRODUCT formula. You also can use SUMIF instead of sumproduct. When the
workbook contains data from single year only, you can summarize standbay
times simply with formula
=SUM(B:B)


Arvi Laanemets


"Kevin" wrote in message
...
I already asked a question similar to this one, but I thought I should try
and be more specific. This is what I am trying to do, I want one cell to

be
able to calculate all of these times together so I can keep a running

total
for the year. I need that cell to calculate 8 hours a month of comp time

and
we also get 1 hour for every 8 hours of standby. I have one reply to my

first
message stating that it would probably be easier to use 2 columns, which I
will probably have to do if I can't get any other suggestions for my

problem.
Thanks again for any help that may be provided!
Kevin.



  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

LOL


=SUMPRODUCT(--(Year($A$2:$A$1000)=2500),--MONTH($A$2:$A$1000)=2),$B$2:$B$100
0)
must be of-course

=SUMPRODUCT(--(Year($A$2:$A$1000)=2005),--MONTH($A$2:$A$1000)=2),$B$2:$B$100
0)


Arvi Laanemets


  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Did you try that other suggested formula?

Kevin wrote:

I already asked a question similar to this one, but I thought I should try
and be more specific. This is what I am trying to do, I want one cell to be
able to calculate all of these times together so I can keep a running total
for the year. I need that cell to calculate 8 hours a month of comp time and
we also get 1 hour for every 8 hours of standby. I have one reply to my first
message stating that it would probably be easier to use 2 columns, which I
will probably have to do if I can't get any other suggestions for my problem.
Thanks again for any help that may be provided!
Kevin.


--

Dave Peterson
  #5   Report Post  
Kevin
 
Posts: n/a
Default

Thanks for the help. What I did was Sum 1-31 cells and then divided by 8 and
then ensured my cell for stndby hours also calculated using that cell. Seems
to work...

"Kevin" wrote:

I already asked a question similar to this one, but I thought I should try
and be more specific. This is what I am trying to do, I want one cell to be
able to calculate all of these times together so I can keep a running total
for the year. I need that cell to calculate 8 hours a month of comp time and
we also get 1 hour for every 8 hours of standby. I have one reply to my first
message stating that it would probably be easier to use 2 columns, which I
will probably have to do if I can't get any other suggestions for my problem.
Thanks again for any help that may be provided!
Kevin.

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
Multiple functions in one cell Kevin Excel Worksheet Functions 2 March 13th 05 03:21 AM
3 questions about automated c++ com add-in worksheet functions gert Excel Worksheet Functions 0 March 10th 05 09:57 AM
Multiple FIND functions in Conditional Formatting RocketFuMaster Excel Worksheet Functions 2 March 2nd 05 06:09 PM
how do I use multiple nested functions? TeeJay Excel Worksheet Functions 3 February 20th 05 05:09 PM
Multiple IF functions sonicj Excel Worksheet Functions 3 February 2nd 05 03:31 AM


All times are GMT +1. The time now is 01:47 AM.

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"