PC Review


Reply
Thread Tools Rate Thread

Average Times by Possible Named Ranges

 
 
Karen
Guest
Posts: n/a
 
      5th Mar 2009
I have a spreadsheet that I record data every day. In column A, I have (for
example) Mon, Tue, Wed, etc. Then in column H, I have recorded times (for
example) 16:20, 17:30, 15:00 etc. I want averages for (All Days), (Weekdays),
(Weekends) and (Tue, Wed, Thu). Right now I have a simple average formula set
up and each month I have to change the formula to fit the month because the
rows will change. How can I set this up so regardless of the month, the
formula will only look at whether or not it's a Mon, Tue, Wed, Thu, etc in
column A and average the time in column H for their respective days?
I hope I explained this well enough.
ANY help would be greatly appreciated
Thank you, Karen
 
Reply With Quote
 
 
 
 
Ron@Buy
Guest
Posts: n/a
 
      6th Mar 2009
Karen
Your description is not clear!
1. "In column A, I have (for example) Mon, Tue, Wed, etc." - what is etc?
the whole month? Are dates associated with the day names?
2. "in column H, I have recorded times (for example) 16:20, 17:30, 15:00
etc." and "the formula will only look at whether or not it's a Mon, Tue, Wed,
Thu, etc in column A and average the time in column H for their respective
days?" How are the recorded times entered into column H - manually, by
formula or VBA?
3. "because the rows will change" How do they change and from what to what?
4. "I have to change the formula to fit the month" What is the formula and
where is it?
Answers to the above may help someone to get closer to a solution for you.


"Karen" wrote:

> I have a spreadsheet that I record data every day. In column A, I have (for
> example) Mon, Tue, Wed, etc. Then in column H, I have recorded times (for
> example) 16:20, 17:30, 15:00 etc. I want averages for (All Days), (Weekdays),
> (Weekends) and (Tue, Wed, Thu). Right now I have a simple average formula set
> up and each month I have to change the formula to fit the month because the
> rows will change. How can I set this up so regardless of the month, the
> formula will only look at whether or not it's a Mon, Tue, Wed, Thu, etc in
> column A and average the time in column H for their respective days?
> I hope I explained this well enough.
> ANY help would be greatly appreciated
> Thank you, Karen

 
Reply With Quote
 
Karen
Guest
Posts: n/a
 
      6th Mar 2009
I'm sorry about the lack of explanation.
I have to record times in column H (manually)
Below is an example of the spreadsheet for March
A B H
Row 1 Day Date Time
Row 2 Sun 1 17:45
Row 3 Mon 2 15:30
Row 4 Tue 3 14:00
Row 5 Wed 4 16:30

When I create a spreadsheet for April, it will look like the below because
the day and date change.
A B H
Row 1 Day Date Time
Row 2 Wed 1 15:45
Row 3 Thu 2 15:00
Row 4 Fri 3 14:30
Row 5 Sat 4 15:45

I need to know 4 different averages
The average of all the days (From the 1st day of the month to the last)
The average of the weekdays (Mon, Tue, Wed, Thu & Fri)
The average of the weekend (Fri, Sat & Sun) and
the average of Tue, Wed & Thu (however manys of those days fall within that
month)

For example: Let's say I want to average the weekend days.
Is there a way to have a formula look up column A and find which days are
Fri, Sat & Sun, then look in column H for their respective times and then
average those times?

I hope that this was a better explanation.
Thank you for your time
Karen







"Ron@Buy" wrote:

> Karen
> Your description is not clear!
> 1. "In column A, I have (for example) Mon, Tue, Wed, etc." - what is etc?
> the whole month? Are dates associated with the day names?
> 2. "in column H, I have recorded times (for example) 16:20, 17:30, 15:00
> etc." and "the formula will only look at whether or not it's a Mon, Tue, Wed,
> Thu, etc in column A and average the time in column H for their respective
> days?" How are the recorded times entered into column H - manually, by
> formula or VBA?
> 3. "because the rows will change" How do they change and from what to what?
> 4. "I have to change the formula to fit the month" What is the formula and
> where is it?
> Answers to the above may help someone to get closer to a solution for you.
>
>
> "Karen" wrote:
>
> > I have a spreadsheet that I record data every day. In column A, I have (for
> > example) Mon, Tue, Wed, etc. Then in column H, I have recorded times (for
> > example) 16:20, 17:30, 15:00 etc. I want averages for (All Days), (Weekdays),
> > (Weekends) and (Tue, Wed, Thu). Right now I have a simple average formula set
> > up and each month I have to change the formula to fit the month because the
> > rows will change. How can I set this up so regardless of the month, the
> > formula will only look at whether or not it's a Mon, Tue, Wed, Thu, etc in
> > column A and average the time in column H for their respective days?
> > I hope I explained this well enough.
> > ANY help would be greatly appreciated
> > Thank you, Karen

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Named ranges and pasting formulas with named references Dude3966 Microsoft Excel Programming 2 8th Oct 2008 04:15 PM
Named Ranges & Calculation Times Query Mathew P Bennett Microsoft Excel Misc 5 29th Jul 2008 09:51 PM
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... christian_spaceman Microsoft Excel Programming 3 24th Dec 2007 01:15 PM
Copy data in named ranges to a newer version of the same template to identical ranges handstand Microsoft Excel Programming 0 21st Aug 2006 03:51 PM
Like 123, allow named ranges, and print named ranges =?Utf-8?B?V1A=?= Microsoft Excel Misc 1 8th Apr 2005 06:07 PM


Features
 

Advertising
 

Newsgroups
 


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