+ Reply to Thread
Results 1 to 6 of 6

Help with creating a way to pull data from data set

  1. #1
    Registered User
    Join Date
    02-13-2017
    Location
    pittsburgh
    MS-Off Ver
    2007
    Posts
    16

    Help with creating a way to pull data from data set

    Ok guys here is my situation. I have a data set with many columns and rows of data. within this data there is a "Cost Center" Column in column AR. There is an "employee" column in column K and there is a "total spend" column in column "G". Each month I will be adding data to these columns. I want to have a tab for each "Cost center" there is a total of 50 cost centers so I currently have 50 tabs with just the name of each cost center, within each tab I want just the specific list of employees that are associated within that cost center (which is all in the data tab). So in each tab I need the list of all employees in that cost center and a sum of their total spend from the data tab. I need these lists to update each month, is there any sumif, match or index functions I can use to pull this data? Somenone, anyone!? Thanks!

  2. #2
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Help with creating a way to pull data from data set

    It seems that it can be done with formulas.Would you please upload a sample workbook with desensitized data?
    Add some desired results manually to understand what you need.
    Teach me Excel VBA

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,822

    Re: Help with creating a way to pull data from data set

    I think that rather than have one tab for each cost centre (and thus have 50 tabs), it would be neater if you just have one tab on which you can use a drop-down to select one cost centre from the list of 50, and the appropriate data will then be displayed for the chosen cost centre. Then you can select another cost centre and get a different set of data displayed, and so on.

    To show you how to do this, it would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    02-13-2017
    Location
    pittsburgh
    MS-Off Ver
    2007
    Posts
    16

    Re: Help with creating a way to pull data from data set

    Quote Originally Posted by ImranBhatti View Post
    It seems that it can be done with formulas.Would you please upload a sample workbook with desensitized data?
    Add some desired results manually to understand what you need.
    I have attached an example, so the first tab is the data tab; This data is always going to change except for the cost center numbers, new employees will come in but will always be assigned a cost center. Tab 1 2 and 3 are all the cost center tabs where I want a list of employees associated with that cost center and the sum of their spend. This example is minimized from my actual dataset. thanks for the quick response.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-13-2017
    Location
    pittsburgh
    MS-Off Ver
    2007
    Posts
    16

    Re: Help with creating a way to pull data from data set

    Quote Originally Posted by Pete_UK View Post
    I think that rather than have one tab for each cost centre (and thus have 50 tabs), it would be neater if you just have one tab on which you can use a drop-down to select one cost centre from the list of 50, and the appropriate data will then be displayed for the chosen cost centre. Then you can select another cost centre and get a different set of data displayed, and so on.

    To show you how to do this, it would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Hope this helps.

    Pete
    This is exactly what I did. I had a drop down for specific cost center then had a VBA that changed a pivot tables filter according to the drop down so the list of the specific cost center then it would populate with employee names would update every time it was changed. But I cannot do this, my company wants a static setup with set tabs for each cost center.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,822

    Re: Help with creating a way to pull data from data set

    Quote Originally Posted by almst791 View Post
    ... my company wants a static setup with set tabs for each cost center ...
    Okay, good luck with that approach, then.

    Pete

+ 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. Need Help Creating a Macro to Pull Data from NFL site
    By MrSHG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2015, 12:30 AM
  2. [SOLVED] Help creating a formula to pull data from one sheet into another
    By Seeki in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-27-2015, 09:14 PM
  3. Creating a Macro that will automatically pull data from a new spreed sheet.
    By btm88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2013, 05:23 PM
  4. [SOLVED] Help with creating a macro to anaylse and pull data from multiple worksheets
    By eoghanmolloy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-29-2012, 02:31 AM
  5. Need help in creating a macro that will pull data from 1 spread to another
    By jwright77 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2012, 08:03 AM
  6. Creating file to pull out data and copy formulae in rows
    By Navin Agrawal in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2012, 05:18 AM
  7. Creating 3 new sheets & then pull data from a file name to create a date
    By endoskeleton in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-26-2011, 01:09 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