+ Reply to Thread
Results 1 to 3 of 3

Averageif for a range matching to a cell

  1. #1
    Registered User
    Join Date
    01-23-2019
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    1

    Averageif for a range matching to a cell

    Hi,

    I am trying to combine a vlookup and average if for a range of data based on a table of information based on a differing starting period for the range for each data set.

    I started using the below formula:

    =VLOOKUP(Site#,Data Range,MATCH(Start week,All time periods)), but it does not average the amounts

    Please help

    I attached an example of the type of data I am working with
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,056

    Re: Averageif for a range matching to a cell

    Not only are you asking us to guess the expected answer... you also seem to be asking us to guess the question. For which inputs, what is your expected answer?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Averageif for a range matching to a cell

    A wild guess. I don't think VLOOKUP is going to help find an average.

    Try this in G3 and filled down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I can not discern where the Site# applies though.

    Can you help us out?
    Dave

+ 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. AVERAGEIF with dynamic range?
    By ceght in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2017, 08:17 AM
  2. [SOLVED] Alter Matching Sub From matching two Ranges to matching one range and list
    By capson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2015, 10:48 PM
  3. [SOLVED] Averageif(range,monthcriteria,[average range])???
    By athyeh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-19-2013, 12:09 PM
  4. Using averageif with dynamic range
    By davetcw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2013, 07:17 PM
  5. [SOLVED] AVERAGEIF if an adjacent cell falls within a certain RANGE
    By jesilva82 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2013, 11:52 AM
  6. Replies: 2
    Last Post: 08-30-2012, 09:25 AM
  7. AverageIF excluding matching columsn over a number
    By los318 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-01-2011, 05:02 PM

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