Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Need help with average/lookup formula

Hi everyone,

Hope someone can help me with a formula. I am looking for a formula to put into sheet 1 that will average column I in sheet2 (averaging only numbers that are 10 or below) that appear between two dates (in sheet1 - month start/end dates, weekly mon/sun dates), I have tried several different types of formulas I have searched for online without any luck.

I have attached a small sample file of my data.

Hope someone can help, let me know if I dont make any sense - really sorry in advance this is my first time on these forums
Attached Files
File Type: zip Sample Data.zip (92.1 KB, 41 views)
  #2   Report Post  
Junior Member
 
Posts: 20
Default

Quote:
Originally Posted by TTTNT View Post
Hi everyone,

Hope someone can help me with a formula. I am looking for a formula to put into sheet 1 that will average column I in sheet2 (averaging only numbers that are 10 or below) that appear between two dates (in sheet1 - month start/end dates, weekly mon/sun dates), I have tried several different types of formulas I have searched for online without any luck.

I have attached a small sample file of my data.

Hope someone can help, let me know if I dont make any sense - really sorry in advance this is my first time on these forums
Paste following to cellB7

Then drag across

=+AVERAGEIFS(Sheet2!$I:$I, Sheet2!$H:$H, "="&LEFT(Sheet1!F$6,5)&"/2013", Sheet2!$I:$I,"<10",Sheet2!$H:$H, "<="&RIGHT(Sheet1!F$6,5)&"/2013")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Need help with average/lookup formula

Hi,

Am Tue, 20 Aug 2013 05:03:35 +0100 schrieb TTTNT:

I am looking for a formula to
put into sheet 1 that will average column I in sheet2 (averaging only
numbers that are 10 or below) that appear between two dates (in sheet1 -
month start/end dates, weekly mon/sun dates), I have tried several
different types of formulas I have searched for online without any
luck.


in B2 try:
=AVERAGE(IF(TEXT(Sheet2!$A$2:$A$1200,"MMMM")=B1,Sh eet2!$I$2:$I$1200))
and enter the array formula with CTRL+Shift+Enter and drag to F2
in B7 try:
=AVERAGEIFS(Sheet2!$I$2:$I$1200,Sheet2!$A$2:$A$120 0,"="&H6,Sheet2!$A$2:$A$1200,"<="&H7)
or
=AVERAGE(IF((Sheet2!$A$2:$A$1200=H6)-(Sheet2!$A$2:$A$1200H7),Sheet2!$I$2:$I$1200))
The formula above is an array formula. Enter with CTRL+Shift+Enter


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
lookup (match?) & average BD Excel Worksheet Functions 14 March 6th 09 07:19 PM
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Average using lookup function [email protected] Excel Discussion (Misc queries) 9 June 25th 06 06:12 PM
LOOKUP/AVERAGE problem JjL Excel Worksheet Functions 3 March 19th 06 04:37 AM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


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