+ Reply to Thread
Results 1 to 24 of 24

How do I create spreadsheets that auto populate using information from main spreadsheet

  1. #1
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    How do I create spreadsheets that auto populate using information from main spreadsheet

    Hello,

    I have a main spreadsheet that I am consistenty adding information to. The columns are : Company name, Contact, Territory, and Status. The main spreadsheet is titled "Main". I want 5 additional spreadsheets in the same workbook that are automatically pulling information from the "Main" spreadsheet, and populating the appropriate spreadsheet . For example...I have 500 entries of different companies in "Main".
    All of these companies are either categorized as "North, South, East, West, Offshore" in the Territory column. So, I would like my workbook to have 6 tabs...one "Main, North, South, East, West, Offshore." As of right now, I am Sorting the column, then copy and pasting into correct spreadsheet manually. Just hoping to simplify. thank you for any help.

  2. #2
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Hi and welcome to the forum

    I would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

  3. #3
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Sample.xls Please see attached document for sample of what I am looking for. I want to enter records into the "Main" Tabe...and have the appropriate tab populated. All records with North..put on North spreadsheet. All South...put into the South spreadsheet.

  4. #4
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Thanks for the file

    In Main E2,m copied down, use this...
    =B2&COUNTIF($B$2:B2,B2)
    Then use this in North A2, copied down and across...
    =IFERROR(INDEX(Main!$A$1:$D$12,MATCH("North"&ROW(A1),Main!$E$1:$E$12,0),MATCH(A$1,Main!$A$1:$D$1,0)),"")

    copy this to the other sheets and change the North to South etc

  5. #5
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    FDibbins,
    I thank you so much..but please excuse my ignorance. "m copied down"?? I am not sure what you mean. Also, "copied down and across"...does this mean selecting the cells down and then pasting the formula you provided?? Sorry it is very late here and I am exhausted mentally and physically. I really appreciate your patience for this young and frustrated user

  6. #6
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    sorry, the "m" was a typo

    In Main E2, copied down, use this...

    yes, thats exactly what I mean

    I created the formula so that you dont have to fiddle with it. Copy it to North A2, then just drag it down and across as far as you need it.

    Then copy that same formula to South A2, change the "North" to "South" and then repeat the drag/copy process. do the same for each sheet

  7. #7
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Sample2.xls FDibbins,

    I seem to be getting an error for missing a parenthesis. I am to my wits end and exhausted. Could you insert the formulas to the attachement and resubmit? I will just take that and run with it. Thanks again. TAke your time...I will have to check this thread tomorrow. I must retire for the night...I can't go anylonger. I greatly appreciate your time.

  8. #8
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    You did it perfectly, except...
    1. you didnt drag (copy) the formula on the master sheet down
    2. you didnt copy the formula in North A2, down and across yet

  9. #9
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    2012 Target LisTEST SAmplet.xlsx
    So i was able to get the formulas to work like a charm for my smaller version i created for demo purposes. However, when I applied the formula to my actual workbook...I had to change a few things. Please see attached spreadsheet.

    So, I was not only changing the "North," and "South etc"...I had to changed the number of columns and the Index from "Main" to "Master List". Unfortunately, I continue to get errors. Please help. Thanks again FDibbins

  10. #10
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    OK I can see what the problem is. You are missing a few ' (dont worry about the caps). excel needs these around a sheet name if it has a space in it (which your sample did not_

    =IFERROR(INDEX(Master list!$A$1:$I$300,MATCH("Lafayette"&ROW(A2),Master list!$J$1:$J$300,0),MATCH(A$1,Master list!$A$1:$I$1,0)),"")
    =IFERROR(INDEX('MASTER LIST'!$A$1:$I$300,MATCH("Lafayette"&ROW(A2),'MASTER LIST'!$J$1:$J$300,0),MATCH(A$1,'MASTER LIST'!$A$1:$I$1,0)),"")

  11. #11
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Hi again...please don't give up on me. For some reason, everything is working except for the company name. a "0" is placed in that column. Here are my steps and formulas.


    Open Master List spreadsheet and I copy this to J2 all the way down as far as I need to go:
    =B2&COUNTIF($B$2:B2,B2)

    Then, each spreadsheet I enter the appropriate formula into A2, then drag across to I, then down as far as I need to go.
    =IFERROR(INDEX('MASTER LIST'!$A$1:$I$300,MATCH("Lafayette"&ROW(A2),'MASTER LIST'!$J$1:$J$300,0),MATCH(A$1,'MASTER LIST'!$A$1:$I$1,0)),"")
    =IFERROR(INDEX('MASTER LIST'!$A$1:$I$300,MATCH("Houma"&ROW(A2),'MASTER LIST'!$J$1:$J$300,0),MATCH(A$1,'MASTER LIST'!$A$1:$I$1,0)),"")
    =IFERROR(INDEX('MASTER LIST'!$A$1:$I$300,MATCH("Baton Rouge"&ROW(A2),'MASTER LIST'!$J$1:$J$300,0),MATCH(A$1,'MASTER LIST'!$A$1:$I$1,0)),"")
    =IFERROR(INDEX('MASTER LIST'!$A$1:$I$300,MATCH("South La"&ROW(A2),'MASTER LIST'!$J$1:$J$300,0),MATCH(A$1,'MASTER LIST'!$A$1:$I$1,0)),"")
    =IFERROR(INDEX('MASTER LIST'!$A$1:$I$300,MATCH("New Orleans"&ROW(A2),'MASTER LIST'!$J$1:$J$300,0),MATCH(A$1,'MASTER LIST'!$A$1:$I$1,0)),"")
    =IFERROR(INDEX('MASTER LIST'!$A$1:$I$300,MATCH("Shreveport"&ROW(A2),'MASTER LIST'!$J$1:$J$300,0),MATCH(A$1,'MASTER LIST'!$A$1:$I$1,0)),"")


    Where is my mix up???

  12. #12
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Dont worry, Im not going to abandon you

    If you mean column A on the Territory sheets, the heading on that is CUSTOMER, not COMPANY NAME, and you have very few entries in the CUSTOMER column in te Master List sheet.

    Change the heading to COMPANY NAME and you should be good to go

  13. #13
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Quote Originally Posted by sgassen View Post
    Hi again...please don't give up on me. For some reason, everything is working except for the company name. a "0" is placed in that column.

    Where is my mix up???
    Hello,

    Change "Company Name" in A1 in sheet Master List, with "Customer" and the formula will work.

  14. #14
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Ok, thank you both for the help thus far...I am almost there. I was able to successfully populate all my spreadsheets according to Territory. I can also successfully edit any of the existing records in the Master List and the changes are instantly update on the appropriate spreadsheet. However, i still have an error somewhere. If I ADD a new record to the Master List, it does not add it to the correct spreadsheet. Is there something I am missing??? I can't figure it out because my smaller sample workbook works correctly. I hope the size of my actual workook does not have something to do with that. Any ideas???

  15. #15
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    When you say "ADD" what do you mean by that?

    Have you pulled the =B2&COUNTIF($B$2:B2,B2) down far enough to cater for additional entries?

  16. #16
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    by Add, I mean adding addtional records to my master list. I am adding additional companies(Rows).
    I did drag the =B2&COUNTIF($B$2:B2,B2 very far to give myself room to add more records. in the colums, it shows a "0" so it is active for those cells. Its very weird...I have compared it to my sample and cant figure it out. I was hoping there was an "update or refresh" button.

  17. #17
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Are you just typing the data into the next avalable (blank) row?
    When you do, does the helper change to 1 of the sheet names?
    Is the Teritory spelling the exact same as the sheet name?

  18. #18
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Yes, I am typing into the next blank row. The helper does change from "0" to the sheet name.
    Spelling is the same...as I type in the territory name, the helper recognizes the territory and completes the word.

  19. #19
    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
    52,929

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    hmm OK any chance of seeing what you are actually working with? (provided of course thetre is no sensitive data in it)

  20. #20
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Instead of having a whole bunch of worksheets, why not make use of a Table on the main page or use a Pivot Table like I have in the enclosed file?
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  21. #21
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Quote Originally Posted by newdoverman View Post
    Instead of having a whole bunch of worksheets, why not make use of a Table on the main page or use a Pivot Table like I have in the enclosed file?
    Yes, I am willing to try this. Could you please provide steps for creating my Pivot Table?

  22. #22
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    1/ Select the data including the headers

    2/ Click on the Insert Tab

    3/ Click on Pivot Table

    4/ Select where you want the table. Either on the same worksheet or on a new worksheet. A new worksheet is likely the best in most cases.

    5/ Drag the Territory, Company, Contact and Status field into the Row Labels field. (in that order)

    6/ Click the Design Tab and click on Report Layout and choose Show in Tabular Form

    7/ Click on Grand Totals and choose OFF For Rows and Columns.

    8/ Click on Subtotals and choose Do Not Show Subtotals

    That is about it.

    When you want to bring the pivot table up to date, click on a cell inside the pivot table, right click and choose REFRESH.

  23. #23
    Registered User
    Join Date
    08-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    thank you. I have my Pivot table set up and it will work. Not completely what i wanted, but I will need to sit down and redo my formulas the way fdibbins was suggesting. thank you both for the help.

  24. #24
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How do I create spreadsheets that auto populate using information from main spreadshee

    Thank you for the feedback. It is always nice to know that a solution was found amongst the suggestions offered.

+ 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. Auto-populate Information
    By excel-lent13 in forum Excel General
    Replies: 8
    Last Post: 05-24-2013, 09:27 PM
  2. Replies: 1
    Last Post: 09-01-2012, 04:57 AM
  3. [SOLVED] VBA to create multiple worksheets, rename, and insert information all off main sheet ...
    By headstrong2740 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-03-2012, 10:24 AM
  4. Replies: 1
    Last Post: 08-11-2006, 05:45 AM
  5. [SOLVED] Information Flow to a main spreadsheet
    By KenRamoska in forum Excel General
    Replies: 2
    Last Post: 06-18-2005, 01:05 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