+ Reply to Thread
Results 1 to 15 of 15

Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

  1. #1
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Hi Everyone

    I hope that someone can help me, I know there is Excel masters here and I know that Excel is capable of this.

    I have two sheets that i work on, but both on one workbook. I Need to use my Sheet one as a input generator ( Not sure if I'm calling it the right thing ).

    Basically I need to have on my sheet one A1 as a reference to where the data must be placed on Sheet 2. I thought of IFERROR and VLOOKUP, But cant seem to get the right things together.

    I will attach two type of files, One being my template sheet for what I want to do and another One where i saw the idee, "Team Review Template" Is where i saw the generate review button that generates data of an entered employee name.

    One " Template " I would like to use Sheet 1 A1 as a reference to add data to Sheet 2 in different cells. I Hope my explanation is well put together.
    On " Template " Sheet1 The blue cells is the data i want to use for Lookup reference in Sheet2. Then when I insert data in sheet 1 it should populate it to sheet 2 as values so that it can be edited over and over.

    Then when I " Submit Data " On sheet one it should paste the values over. But only when I use the " Button Control "
    So if I add data in Sheet 1 A1 it should Lookup on Sheet 2 For the Line of data, Then if I enter data into Sheet 1 B1 it should be able to go D2 as value only. and Sheet1 C1 to Sheet 2 E1 and so on..

    But I want to be able to over right the data every time.

    Basically I run Maintenance on different sites and need to add the remarks to the list weekly, but want it to be a single input generator to prevent the list of getting messed up.

    Hope That this is possible as i can not make my main list visible to my operators..
    Attached Files Attached Files

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Goeie naand SteynfaardtD,

    I may have an easier solution for you, if you don't mind employing a third hidden Sheet, if that is o.k. with you?

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Slaap jy al, SteynfaardtD?,

    Since your Data Headers are the same for the two sheets, and Columns B and C are Hidden, We can do it quick with the Code below.

    Please Login or Register  to view this content.
    Check out the attached sample Workbook.

    Lekker slaap!
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    I Wont mind no, I can always just hide it.

  5. #5
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Ek kry nie jou file oop gemaak nie.?

  6. #6
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Brilliant Thanks, But this now only works if both sheets contain all the data. This basically only copies the sheet over.

    Lets say i have 9000 sites in total which is my Sheet 2, but for the day we attended to 15 sites. I would like to make my sheet one Column A a reference cell so that i can only insert those 15 sites in sheet 1 and then it will lookup the sites in main list and only update those sites accordant to what i have entered in Sheet 1.

    So basically sheet one will never contain all data, it will only be used to submit data into sheet 2

  7. #7
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Okay So let me retry this.

    Attached you will find a full sample of what I would like to do.
    My previous request was not really explained correctly and therefore I need something else.

    I Need to have a Workbook that will work as a submit and retrieve form.

    So basically I hope it can work as follow

    Sheet 1 will be the working platform which is linked to Sheet 2,

    On Both Sheets my Site ID will always be my Reference, So on Sheet 1 I will have a "Drop Down" or Input Cell that will determine what Data
    must be shown or CREATED. Once I enter a Site ID I want to click the Retrieve Data Button and it must Find the DATA in Sheet 2, After all Data is
    retrieved I want to edit it and Submit it by clicking the " SUBMIT DATA " button.

    If no Data was found after Clicking the " RETRIEVE DATA " Button, Then it must add a new line to Sheet 2.

    The Retrieving Data bit I can do with Vlookup, But the Submitting part is VBA and I don't understand VBA.

    Please if anyone can assist me in that I would really appreciate it.
    Attached Files Attached Files

  8. #8
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Please also attach your "Maintenance Progress Update" Workbook as well.
    Should your Site ID Dropdown not refer to the above Workbook, instead of Sheet 2 of the Template Workbook?
    The Retrieve Data Button looks at the "Maintenance Progress Update" Workbook, am I correct?

  9. #9
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Unfortunately i can not share that file, All I need is the formulas to submit one cell to another.
    Attached is the file that I managed to get the Vlookup to work.

    If my Template file works then I can implement it to my real file.
    Attached Files Attached Files

  10. #10
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Unfortunately i can not share that file, All I need is the formulas to submit one cell to another.
    Without that file, I am afraid nobody would be able to assist. Create a Backup File of that Workbook, and replace all confidential info with any Bla-Bla, and attached it here. Once we have resolved your issue, you can replace the Bla-Bla from your Backup File.

    Attach a sample workbook (not a picture or pasted copy).
    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  11. #11
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Lets say my template file is my only file.. I need to get whatever i retrieved and changed on sheet one to be submitted to sheet 2.

    I don't need to do anything from workbook to workbook. It all stays in between sheets.
    I have tried google on how to do copy and paste values if criteria is met in vba and all just shows .values but nothing that confirms to which line it must paste values

  12. #12
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Lets say my template file is my only file.. I need to get whatever i retrieved and changed on sheet one to be submitted to sheet 2.
    The statement above is somewhat contradictory as it will remove all your formulae on Sheet2. Without the other Workbook, I shall unfortunately not be able to further assist you. There is also no indication on Sheet1 of how the Cells are populated.

    Edit: I notice that you have code to populate Sheet 1 from values in Sheet 2. Then you want to Populate Sheet 2 with the Values from Sheet 1.

    To me, it does not make sense.
    Last edited by Winon; 01-06-2019 at 04:59 PM. Reason: extra info

  13. #13
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    My Main goal for this workbook is productive maintenance. So on each site visit the previous detail is important.

    I've used

    Please Login or Register  to view this content.
    . This works only to specified cells,

    All i need is a formula to first look for the site ID in sheet 2 before submitting the data.

    I have a master list of 11300 site and that is why I need to get a way to have a single input page that will populate my full list on daily basis.
    The reason for retrieving data before submit is to keep previous data and just add on to it like +1 or change values ext

    Please Use attached file for sample. there will be no Formulas on sheet 2 or one. I have a different macro that pulls data from other workbooks if index in not met.

    All i Need is a formula to take my Site ID in sheet1 as reference for vlookup to sheet to, Basically reverse the normal Vlookup Formula
    Attached Files Attached Files
    Last edited by SteynfaardtD; 01-07-2019 at 03:27 PM.

  14. #14
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Quote Originally Posted by SteynfaardtD View Post
    My Main goal for this workbook is productive maintenance. So on each site visit the previous detail is important.

    I've used

    Sheet2.Range("D2").Value = Sheet1.Range("C8").Value to get data from sheet1 to sheet 2. This works only to specified cells,

    All i need is a formula to first look for the site ID in sheet 2 before submitting the data.

    I have a master list of 11300 site and that is why I need to get a way to have a single input page that will populate my full list on daily basis.
    The reason for retrieving data before submit is to keep previous data and just add on to it like +1 or change values ext

    Please Use attached file for sample. there will be no Formulas on sheet 2 or one. I have a different macro that pulls data from other workbooks if index in not met.

    All i Need is a formula to take my Site ID in sheet1 as reference for vlookup to sheet to, Basically reverse the normal Vlookup Formula
    I Use this to get my data from Sheet 2

    Please Login or Register  to view this content.
    Last edited by SteynfaardtD; 01-07-2019 at 03:27 PM.

  15. #15
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using One sheet as a fill in table to populate data in Sheet 2 using A1 as Reference

    Guys I have managed to fiqure out how to do what I wanted to do..... I am soooooo Super hyped about it..

    I used the following to determine where to place data

    Please Login or Register  to view this content.
    Last edited by SteynfaardtD; 01-07-2019 at 03:27 PM.

+ 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 to fill a table from a data sheet by a reference no
    By kasun prasad in forum Excel General
    Replies: 5
    Last Post: 07-19-2018, 08:56 AM
  2. How to fill a table with another sheet data
    By orhanceliloglu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2018, 11:44 AM
  3. VBA - Search Sheet 1 for text, reference corresponding cell, populate Sheet 2?
    By rdr06001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2016, 01:30 PM
  4. [SOLVED] Need to populate a table with aggregated reference data from other sheet
    By elnarho in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-25-2014, 10:21 AM
  5. [SOLVED] Excel VBA: Dropdown box selection in first sheet to populate 2nd sheet from 3rd sheet data
    By EMLalan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-07-2012, 09:46 AM
  6. As user fills out data sheet, then fill out a results sheet based on data sheet entry
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-13-2012, 03:57 PM
  7. Populate table with data based on another sheet
    By rkayasth in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-20-2009, 11:41 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