+ Reply to Thread
Results 1 to 5 of 5

Vlookup Avearge same day flow

  1. #1
    Registered User
    Join Date
    11-19-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Vlookup Avearge same day flow

    Hi Everyone,

    Wonder if anyone can help with this.... Trying to get an average daily reading from multiple entries on the same day using the V lookup function.
    So far the Vlookup is working but it is only picking one value. Is there a way for the function to pick all the entries for the same day and average them ( and disregard the cell with zeros)



    Many Thanks

    H.B


    16/11/2017 0 16/11/2017 7.519999981 0
    16/11/2017 0 17/11/2017 7.574999809 0
    16/11/2017 7.315000057 18/11/2017 0
    16/11/2017 7.519999981 19/11/2017 0
    17/11/2017 0 20/11/2017 0
    17/11/2017 0 21/11/2017 0
    17/11/2017 7.739999771 22/11/2017 0
    17/11/2017 0.07 23/11/2017 0
    17/11/2017 7.574999809 24/11/2017 0
    Attached Files Attached Files
    Last edited by Ben_H; 11-19-2018 at 08:27 AM. Reason: Attachment Added

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Vlookup Avearge same day flow

    Hi,

    have you tried the =AVERAGEIFS() function? That might be quicker and easier.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    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,036

    Re: Vlookup Avearge same day flow

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly 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 solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. 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.
    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

  4. #4
    Registered User
    Join Date
    11-19-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Vlookup Avearge same day flow

    Thanks Glenn.

    spreadsheet attached.

    H.B


    Quote Originally Posted by Glenn Kennedy View Post
    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly 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 solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. 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.

  5. #5
    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,036

    Re: Vlookup Avearge same day flow

    You attached an xlsx.... so I assume your prfile (Excel 2003) is incorrect. if so, please amend it.

    =IFERROR(AVERAGEIFS(B:B,A:A,E2,B:B,">0"),"")

    copied down.

+ 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. Physics Question. Electron Flow and Current flow
    By JimmyWilliams in forum Excel General
    Replies: 4
    Last Post: 11-08-2017, 12:01 AM
  2. Replies: 4
    Last Post: 07-23-2017, 11:21 PM
  3. Avearge in range with zeroes
    By ExceLLemon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2013, 02:00 PM
  4. Replies: 6
    Last Post: 08-19-2009, 08:16 AM
  5. fluid flow
    By ethyl in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-14-2008, 12:48 PM
  6. Flow chart of code? Is there a way to produce a graphical flow chart?
    By Craigm in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-23-2005, 05:05 AM
  7. [SOLVED] Cash Flow
    By Omalley in forum Excel General
    Replies: 1
    Last Post: 07-28-2005, 07:40 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