+ Reply to Thread
Results 1 to 6 of 6

Vlookup data then average the value

  1. #1
    Registered User
    Join Date
    08-28-2018
    Location
    London
    MS-Off Ver
    365 Subscription
    Posts
    6

    Vlookup data then average the value

    Hi,


    Image 1 shows the raw data, and I would like to make a summary worksheet that average the whole day value. I can use the VLOOKUP function to lookup ONE value...how can I lookup all value and average them.

    problem_01.png

    Thanks!

    TSX

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    40,671

    Re: Vlookup data then average the value

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    08-28-2018
    Location
    London
    MS-Off Ver
    365 Subscription
    Posts
    6

    Re: Vlookup data then average the value

    Hi Ali,

    Thank you for your advice.

    Worksheet attached.

    I would like to get the final result like the highlight cell in sheet-data.

    Thanks a lot.

    TSX
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    40,671

    Re: Vlookup data then average the value

    Which version of Excel do you have? In words, please, not numbers.

    If you have Excel 2016, you can use this:

    =AVERAGEIFS('RAW Data'!$C$2:$C$4,'RAW Data'!$A$2:$A$4,Data!A2)

  5. #5
    Registered User
    Join Date
    08-28-2018
    Location
    London
    MS-Off Ver
    365 Subscription
    Posts
    6

    Re: Vlookup data then average the value

    Thanks Ali.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    40,671

    Re: Vlookup data then average the value

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. VLookup - aggregating data to return average values
    By bdav1216 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2016, 12:48 PM
  2. Replies: 3
    Last Post: 08-26-2014, 02:09 AM
  3. average and vlookup
    By SAsplin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-26-2013, 12:21 PM
  4. [SOLVED] Help please - need formula to sum and average data using multiple vlookup (s)
    By ACLARKE in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2013, 11:35 AM
  5. VLOOKUP - AVERAGE on Imported XML data
    By hditano in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2013, 06:21 PM
  6. Replies: 9
    Last Post: 03-19-2012, 12:18 PM

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