+ Reply to Thread
Results 1 to 14 of 14

Building a table automatically based on data from another sheet (vlookup?)

  1. #1
    Registered User
    Join Date
    01-27-2012
    Location
    Asia
    MS-Off Ver
    os x
    Posts
    9

    Talking Building a table automatically based on data from another sheet (vlookup?)

    Howdy and thank you for reading and helping.

    I am working on a sales forecast sheet.

    There are 2 tabs.
    Tab A has a summary.
    Tab B has the data of sales activity based on sales stage.

    Workflow.
    1. Salesperson puts information for each sales inquiry on Tab B. Every sales has its own rule and a unique identifier.
    2. As the sale moves along they enter dates into cells that track the progress.
    3. When they enter a date in the "WON" column would like to add a new row of that sales on Tab A.

    Thank you!
    Hg

    Agree.

    Apologies for not doing this in the first case.

    Thank you,
    Attached Files Attached Files
    Last edited by HyperG; 01-28-2012 at 12:42 AM. Reason: add sample file

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Building a table automatically based on data from another sheet (vlookup?)

    It would be much easier to answer your question if you could post a dummy workbook?

    Cheers
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Registered User
    Join Date
    01-27-2012
    Location
    Asia
    MS-Off Ver
    os x
    Posts
    9

    Re: Building a table automatically based on data from another sheet (vlookup?)

    Agree. Added to initial post.

    Apologies for not doing this in the first case.

    Thank you,

  4. #4
    Forum Contributor
    Join Date
    02-22-2011
    Location
    Rhône Alpes, France
    MS-Off Ver
    Excel 2007
    Posts
    201

    Re: Building a table automatically based on data from another sheet (vlookup?)

    Hi,
    May be a solution by using a pivot table
    I rebuild your sheet Sales Pipeline in Data Sheet : you can add data the table will automaticaly increase line
    After adding new data don't forget to refresh the pivot table :
    Click in the PT > Tools PT > Options > Data > Refresh > Refresh All
    Hope this helps
    Best regards
    Attached Files Attached Files

  5. #5
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Building a table automatically based on data from another sheet (vlookup?)

    OK, Try this,

    Click the update report on the report page.

    Add some names in the sales pipeline sheets sheet and click the upate report again and see if it is what you want.

    If you want it automatically update, just let me know and I will set it up for you.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JapanDave; 01-28-2012 at 07:14 AM.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,615

    Re: Building a table automatically based on data from another sheet (vlookup?)

    Pl see the attached file.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-27-2012
    Location
    Asia
    MS-Off Ver
    os x
    Posts
    9

    Re: Building a table automatically based on data from another sheet (vlookup?)

    Quote Originally Posted by jpr73 View Post
    Hi,
    May be a solution by using a pivot table
    I rebuild your sheet Sales Pipeline in Data Sheet : you can add data the table will automaticaly increase line
    After adding new data don't forget to refresh the pivot table :
    Click in the PT > Tools PT > Options > Data > Refresh > Refresh All
    Hope this helps
    Best regards
    @jpr73 -- Thanks -- I am not upto speed on the Pivot Table ways but seems this could do it with some massaging. Appreciate the help.

  8. #8
    Registered User
    Join Date
    01-27-2012
    Location
    Asia
    MS-Off Ver
    os x
    Posts
    9

    Re: Building a table automatically based on data from another sheet (vlookup?)

    @JapanDave -- Thank you! Very cool stuff.
    @kvsrinivasamurthy -- Thank you! Awsome!

    I wonder if the VBA has a value over the equation way between your two approaches. Both seem to give me what we are looking for!

    In both ways can I have excel add a new row (insert) command or do I need to leave rows empty if I place something like a summary chart below the summary table?

    Thanks again!
    Hg

  9. #9
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Building a table automatically based on data from another sheet (vlookup?)

    My way adds rows as the list grows. You don't need to do anything other than add data and click the update button, it will add rows to accordingly. And if you want this to happen automatically , that can be done also.

  10. #10
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Building a table automatically based on data from another sheet (vlookup?)

    OK, Take a look at the new file.

    This automatically update the report for you when you enter the final order date in column

    To test, erase all the data on the report, add a new name to the pipeline sheet and enter the order date. One stipulation is that the order date will be the last piece of data enetered for a customer. I assume that is how things would work?

    Cheers

    Dave
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-27-2012
    Location
    Asia
    MS-Off Ver
    os x
    Posts
    9

    Re: Building a table automatically based on data from another sheet (vlookup?)

    @JapanDave - Appreciate the help.

    Both files only seem to work for the first 4 lines then stops.

    You assumption is not correct. There is a chance that the order may change as a result of a last minute modification. If possible to do live linking that is better or we can have an update button.

    The report tab is going to be on a 'locked' tab so the users will not be able to modify the settings.

    I am looking for way to have it grow but as it grows I need to have a way to perform sums on all the data in a single column.

    Thanks,
    Hg

    p.s. if prefer you can PM me and I an send you a more complete file to review. The file was just a sample the final has more columns of data that needs to be linked up from the "pipeline" to the "report"

  12. #12
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Building a table automatically based on data from another sheet (vlookup?)

    OK, will you have 2 orders for one customer?
    If you are locking the tab, I will need to amend the code to correctly overcome that.

  13. #13
    Registered User
    Join Date
    01-27-2012
    Location
    Asia
    MS-Off Ver
    os x
    Posts
    9

    Re: Building a table automatically based on data from another sheet (vlookup?)

    No not 2 orders but rather there is more data that will be entered requiring the live update.

    Appreciate your help and support.

    I need to go with another solution as I need to finish this today.

    Thank you again!
    hg

  14. #14
    Registered User
    Join Date
    01-27-2012
    Location
    Asia
    MS-Off Ver
    os x
    Posts
    9

    'Bug' or _____ from a previous working solution . . .

    A few months ago this thread helped me solve a problem here -- #6

    However I have run into an issue / bug now that I cannot determine the cause.

    I have attached the sheet for review but on the "Sales Pipeline" sheet Once any data is added in or below Row 206 Column E the "Sales Pipline" the "Won Summary" sheets stops working and all goes blank.

    However I can add above Row 206 without any issues.

    I am lost and have tried to evaluate what the cause maybe but have not had any success hope you can help.

    Thank you!
    HgSample BUG.xlsx

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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