+ Reply to Thread
Results 1 to 2 of 2

From a filtered list, need to get avg of values from data on 2 other columns

Hybrid View

hiro.shim From a filtered list, need to... 01-07-2012, 02:08 PM
jaslake Re: From a filtered list,... 01-07-2012, 06:27 PM
  1. #1
    Registered User
    Join Date
    01-07-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    1

    From a filtered list, need to get avg of values from data on 2 other columns

    Hi there... I can use excel on a basic level so I'm challenged here to use the correct terminology to describe my excel issue. I'm trying to do some analysis on data for a friend. I have a few pieces of data I'm trying to get so I'll start with the first one. All help will be gratefully appreciated.

    From a filtered list of Type=P (Column G), I'm trying to get an average of total prices (column F) based on multiple rows of matching Invoice (Column A).

    The data detail is line item invoice detail. I want to get an average for all invoices for amount and qty. An invoice can have multiple rows of detail (items) with different costs and quantities. The data shows 8 unique invoice numbers. I'm trying to get two numbers here but I believe the formula would be similar (_I believe_)

    I've attached the file with calculations I've done by hand with the goal in the yellow boxes. Please let me know if I'm not clear enough.

    Thanks so much in advance.
    Hiro


    qtyprice-avg.xlsx

    qtyprice-avg.xlsx

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: From a filtered list, need to get avg of values from data on 2 other columns

    Hi hiro.shim...Welcome to the Forum!

    Try the SubTotal Function. For example, place this Formula in Cell I23
    =SUBTOTAL(1,I2:I17)
    See this link for more information
    http://office.microsoft.com/en-us/ex...010062463.aspx
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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