+ Reply to Thread
Results 1 to 6 of 6

Help with averages and vlookup

  1. #1
    Registered User
    Join Date
    12-20-2016
    Location
    Everett, WA
    MS-Off Ver
    windows 7 enterprise
    Posts
    17

    Question Help with averages and vlookup

    Hello,
    I'm trying to average a range of values within a given date range. I was attempting to use vlookup, but I'm not sure what the missing step for the averaging part is. Here is the formula I'm using so far (but it only returns one value, of course):

    =VLOOKUP(AH13,$F$6:$S$3693,14)

    The dates are in column F and the values are in column S. There are multiple entries for every date that I want to average into a simple table that will display daily averages. The dates have been validated into AG12 and a little table made beside it at AH13:AN14 with dates on top and the return values underneath. So far everything works okay, except it will only return one number instead of an average of all the numbers on that date (of course). This is a dynamic chart that should be able to look up any day in the year and return a full week of averages, so it wouldn't be useful to put an actual hard date range into the formula, I don't think.

    Any help on this issue would be greatly appreciated.

    Thank you,
    Maralita

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help with averages and vlookup

    Have you tried AVERAGEIF()

    Alternatively a Pivot Table will give you the same result but with a lot more flexibility.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,743

    Re: Help with averages and vlookup

    you need to use averageIF()

    =VLOOKUP(AH13,$F$6:$S$3693,14)

    =averageif($F$6:$F$3693, cell with the date , $S$6:$S$3693)


    so if the dates are in Ah13 - An13
    then in
    AH14 put
    =averageif($F$6:$F$3693, AH13 , $S$6:$S$3693)

    should average S column for the dates in F column that match the date in AH to AN
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    12-20-2016
    Location
    Everett, WA
    MS-Off Ver
    windows 7 enterprise
    Posts
    17

    Re: Help with averages and vlookup

    I haven't tried the pivot table, but I did try AVERAGEIF() with no success. I don't think I typed it out correctly. Do you have a formula sample I could try?

  5. #5
    Registered User
    Join Date
    12-20-2016
    Location
    Everett, WA
    MS-Off Ver
    windows 7 enterprise
    Posts
    17

    Re: Help with averages and vlookup

    okay, I'll try that. Thank you.

  6. #6
    Registered User
    Join Date
    12-20-2016
    Location
    Everett, WA
    MS-Off Ver
    windows 7 enterprise
    Posts
    17

    Re: Help with averages and vlookup

    Yes! I do believe you've solved it! thank you very much. That was much simpler than I had made it out to be.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 14
    Last Post: 09-17-2016, 12:48 PM
  2. [SOLVED] VLOOKUP from Dependant Dropdown with Weighted Averages
    By Phrick in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-14-2014, 05:31 PM
  3. [SOLVED] Averages help with Vlookup?
    By kevincoxshall in forum Excel General
    Replies: 3
    Last Post: 09-05-2013, 10:32 AM
  4. Averages of VLOOKUP Items
    By Brogus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2013, 12:36 PM
  5. Averages and vlookup solution?
    By Markshr in forum Excel General
    Replies: 10
    Last Post: 09-06-2010, 07:28 PM
  6. vlookup averages and pivot
    By shammi_Raj in forum Excel General
    Replies: 7
    Last Post: 07-12-2010, 03:51 PM
  7. Averages & VLOOKUP for Mulitple Values in Column
    By pmd in forum Excel General
    Replies: 2
    Last Post: 05-28-2010, 09:07 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1