+ Reply to Thread
Results 1 to 11 of 11

Pivot table issue, I'm not able to capture new data, when table is updated

  1. #1
    Registered User
    Join Date
    08-13-2015
    Location
    usa
    MS-Off Ver
    2007
    Posts
    6

    Pivot table issue, I'm not able to capture new data, when table is updated

    Iv'e also included what I'm trying to capture.

    thank you guys for the help.

    (update 8/19 New workbook attached)

    [ATTACH]414573[/ATTACH
    Attached Files Attached Files
    Last edited by johnnyq113; 08-19-2015 at 07:43 PM.

  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,944

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    Hi, welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
    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
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    Hi johnnyq and welcome to the forum,

    I think you need to learn about Dynamic Named Ranges. They grow or shrink based on how many rows or columns of data you have. Then you can use this Name as the range in your Pivot Table.

    See these links:

    http://www.ozgrid.com/Excel/DynamicRanges.htm
    http://www.bettersolutions.com/excel...G820716330.htm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    08-13-2015
    Location
    usa
    MS-Off Ver
    2007
    Posts
    6

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    Thank you MarvinP.. I will look into it.

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    This is the method i prefer most of the time

    http://www.contextures.com/xlPivot01.html#opt1
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  6. #6
    Registered User
    Join Date
    08-13-2015
    Location
    usa
    MS-Off Ver
    2007
    Posts
    6

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    Actuals Pivot table.xlsx


    I'm not sure if this is allowed in the forum, but I'm willing to compensate, if I can actually get this form to work.


    I apologize for being such a noob. I've spent the past few days searching and experimenting different formulas but ended up nowhere.
    I've tried the v/h lookup function but it's still not doing what I want it to.

    So with the references you guys implied with the dynamic name range.
    to my understanding the Pivot table I uses already populates new data as I refresh the worksheet.

    I'm trying to capture how much "production, and units" were done for each shift.


    On the "SR-Print" worksheet,

    Under "SR-SRPRNT" its suppose to capture data from the pivot table.
    and from there base on the time that each shift starts, it suppose to take a "snapshot" from start/end of shift of how much production,units
    were done at that specific time.

    I hope this all make sense.

  7. #7
    Registered User
    Join Date
    08-13-2015
    Location
    usa
    MS-Off Ver
    2007
    Posts
    6

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    bump?

    I did a little More research and I'm going to try the index+Match function and see if that takes me anywhere

  8. #8
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    im not quite sure what you want as the output with the data you have provided?

    when i open the sheet it tries to get data from a external source...maybe this isnt updating properly which means cannot see what you are
    essentially you want to pull information from a column but dont really know how it can be split into the sub sections?

  9. #9
    Registered User
    Join Date
    08-13-2015
    Location
    usa
    MS-Off Ver
    2007
    Posts
    6

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    Actuals Pivot table.xlsxThank you for taking a look at it.

    Danggit I think your right its trying to grab data from the database. But I think i' m making progress which the time capturing portion.

    It seem that I had to convert the time function =Now(), into a decimal value.
    then compare < or > to the time I wanted to capture at the end of shift.

    im going to attach my current workbook.

  10. #10
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    it seems you are on the right track now?

    i do suggest you change SP-PRNT sheet cell A4 to read SR-SRPRT to match your pivot table?
    that way you can index/match it....in case the number of columns increase/decrease?

    i assume you also can then use a match/index to find the mate based on now() so you get the right row of data as well

  11. #11
    Registered User
    Join Date
    08-13-2015
    Location
    usa
    MS-Off Ver
    2007
    Posts
    6

    Re: Pivot table issue, I'm not able to capture new data, when table is updated

    thanks,

    im stilling having trouble, capturing the "snapshot" of the data.
    On the Sr-prnt worksheet. in cell F3, it captures the data when the statement is true.
    But i think i need a false statement, to tell it to keep the current data and do nothing when the statement becomes false. Instead it overwrites it. any ideas?

+ 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. Ia anyway how VBA to capture the filter value from Pivot table
    By owen_yuen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2014, 10:39 AM
  2. [SOLVED] Macro that automatically updates pivot table when data in separate worksheet is updated
    By Femi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2013, 08:48 AM
  3. [SOLVED] Need Pivot Table To Capture All Data
    By Harry Basra in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-12-2013, 09:16 AM
  4. Help with Pivot table data updating issue
    By lgc.fico in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-24-2013, 10:56 PM
  5. Refresh Pivot Table Data issue
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2012, 10:42 AM
  6. VLookup issue using pivot table data
    By hsmith in forum Excel General
    Replies: 3
    Last Post: 02-20-2012, 04:55 PM
  7. [SOLVED] Disappearing Data Items on Pivot Table -Updated Question
    By GeorgeChe in forum Excel General
    Replies: 4
    Last Post: 08-02-2005, 11: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