+ Reply to Thread
Results 1 to 2 of 2

Find values in an adjacent cell based on the value in cell A and average these

Hybrid View

  1. #1
    Registered User
    Join Date
    09-10-2014
    Location
    Australia
    MS-Off Ver
    Office 2010
    Posts
    1

    Find values in an adjacent cell based on the value in cell A and average these

    Hi Guys,

    I have got a data set which in column A has got all the dates and in other columns contains values. Now some days I have got 5 values and others I might have 6, 3 or whichever. what I want to do is get an average for each day. So basically I want a formula that looks up all cells which have got the same date in column A and create an average of this. I have been trying to muck around with Vlookup but that just seems to be able to only get one value.

    Thanks,

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find values in an adjacent cell based on the value in cell A and average these

    Try this...

    Data Range
    A
    B
    C
    D
    E
    1
    Date
    Value
    ------
    Date
    Average
    2
    9/18/2014
    97
    9/28/2014
    43.33333
    3
    9/28/2014
    33
    4
    9/25/2014
    89
    5
    9/4/2014
    49
    6
    9/4/2014
    93
    7
    9/15/2014
    51
    8
    9/28/2014
    29
    9
    9/13/2014
    81
    10
    9/28/2014
    68


    This formula entered in E2:

    =AVERAGEIF(A2:A10,D2,B2:B10)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. [SOLVED] VBA help needed to Fill cell values based on Adjacent Cell values
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-06-2014, 07:08 AM
  2. [SOLVED] copy cell values in one cell based on value of adjacent cells
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-20-2014, 08:48 AM
  3. Macro to find all specific values in column and replace adjacent cell values
    By dblock02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2013, 06:03 AM
  4. Average / SD values based on condition in adjacent cell
    By gypsyeyes in forum Excel General
    Replies: 3
    Last Post: 07-30-2009, 09:23 PM
  5. UDF code to find specific text in cell comments, then average cell values
    By bruch04 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2005, 06:10 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