+ Reply to Thread
Results 1 to 3 of 3

Combine sales average between 3 stores

  1. #1
    Registered User
    Join Date
    08-16-2018
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    1

    Combine sales average between 3 stores

    Hello,

    I am trying to figure out how to add info from three spread sheets and get the average sales from each product. For instance, I have the sales of three different stores. I have combined all three of them into one and sorted by UPC for each product. I then did a Vlookup to identify the duplicate UPCs. It then identifies them and the column next to it gives me the sales number from each of the three stores from the same UPC. So what I am trying to do is combine the two or three same products that the store caries and average the units sold. What I'm having to do is manually go through each product and get the average but there are over 1100 items on my list so I am wondering if there is a formula in which will make it easier.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,791

    Re: Combine sales average between 3 stores

    here is how I would approach this. Highlight column B. Click on Sort and Filter--->Advanced. Check the unique box and select where you would like the results.

    Then in an adjacent column to the unique codes, use the =Sumif function for each item. This will give you the total for each item. You can then average it in the next column.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Combine sales average between 3 stores

    I used this formula to run the average...
    =IF(COUNTIF($B$2:B2,B2)>1,"",AVERAGEIF($B$2:$B$1116,B2,$D$2:$D$1116))

    All you need to do now, is filter that column to exclude blanks, and you should have your list.

    I also dont really see a need for what you have in col C?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Average sales per week per sales representative in pivot table
    By R12345 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-15-2016, 07:16 AM
  2. Count average sales of distinct stores in excel
    By eastofwestla in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2016, 10:32 AM
  3. [SOLVED] Weekly sales tracker - weekly average sales amount
    By rossw8 in forum Excel General
    Replies: 2
    Last Post: 09-01-2015, 08:02 AM
  4. [SOLVED] Fast way to calculate number of stores that represent X% of sales
    By msluggett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-01-2013, 10:24 PM
  5. Combine and Total sales data into new sheet
    By kelemvor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2011, 03:16 PM
  6. Using SubQuery to Count 0 Sales Stores
    By lazyme in forum Access Tables & Databases
    Replies: 4
    Last Post: 06-14-2011, 01:37 PM
  7. [SOLVED] combine sales forecast from multiple representatives
    By kcip in forum Excel General
    Replies: 1
    Last Post: 08-22-2006, 01:45 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