+ Reply to Thread
Results 1 to 3 of 3

Formula to Populate the Total Number of Data in Separate Workbook

  1. #1
    Registered User
    Join Date
    12-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question Formula to Populate the Total Number of Data in Separate Workbook

    HELP!

    I am working on a data list which includes store names, address, city, province, postal code, contact details, sales rep. I need the total number of stores, total stores per sales rep and total number of each city per sales rep.

    For example:
    Detailed Workbook has the following information:
    McDonald's - 123 Ave - Toronto - Ontario - 416-555-5235 - Bill
    McDonald's - 458 Street - Toronto - Ontario - 647-555-8942 - George
    McDonald's - 45 Street - Niagara Falls - Ontario - 519-555-4579 - Jill
    McDonald's - 24 Road - Niagara Falls - Ontario - 519-555-6347 - George
    KFC - 124 Ave - Toronto - Ontario - 579-555-8521 - George
    KFC - 1 Street - Niagara Falls - Ontario - 519-555-6663 - Jill

    Summary Workbook would then total the number of stores:
    McDonald's = 4
    KFC = 2

    total stores per sales rep:
    Bill = Total Stores 1
    George = Total Stores 3
    Jill = Total Stores 2

    and total number of each city per sales rep:
    Bill
    Toronto - 1

    George
    Toronto - 2
    Niagara Falls - 1

    Jill
    Niagara Falls - 2



    Is there a formula that will populate the totals from a Detailed Workbook into a Summary Workbook?

    Any help will be very much appreciated!! If you have any tips of a better way to organize the information, this would also be great help!

    Thank you.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Formula to Populate the Total Number of Data in Separate Workbook

    Your summarized information (and much more) would be easiest to obtain with Pivot Table - if you do not know this tool - start with tutorials published on Microsoft pages.
    You will regret no single minute spent on learning basics of Pivot Tables.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Formula to Populate the Total Number of Data in Separate Workbook

    You will have to organize your summary workbook, then construct the formulas while both workbooks are open. After that, once they are working, you will be able to close the reference workbook and the formulas will keep working.


    THe function for summing a range of values on various criteria is SUMIF() for one criteria, and SUMIFS() for multiple criteria. This function only works of the referenced workbook is open. The alternate function you can use is SUMPRODUCT.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. Replies: 1
    Last Post: 02-13-2013, 03:37 PM
  2. [SOLVED] Extract data from one workbook and populate a separate workbook
    By gobeavers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2012, 05:45 PM
  3. Function to Total the Number of Rows with data in A workbook
    By jo15765 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-19-2012, 04:34 PM
  4. Formula to Calculate total number of formulas in a workbook
    By bluke12312 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-13-2010, 04:43 PM
  5. Populate Userform Combobox From Separate Workbook
    By Mooseman60 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-26-2010, 06:39 AM

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