Results 1 to 5 of 5

VBA to combine referenced rows into one sheet

Threaded View

  1. #1
    Registered User
    Join Date
    10-14-2023
    Location
    Florida, USA
    MS-Off Ver
    2309
    Posts
    2

    VBA to combine referenced rows into one sheet

    Hey there, I am new to this forum and I've got a very specific need that I cannot seem to solve using a search engine or ChatGPT. I am hoping someone here is able to help me out. To provide some context, I work for a child welfare agency and we have to keep track of all the children in care and when they were last seen in their current homes. Every day I need to get responses from the case workers on their efforts. I carry over these responses from one day to the next and either keep the ones that still apply or delete the ones that need new information provided. The easiest way I have found to do this is to create a "combined" sheet which references all of the rows from the other sheets. Then I use a vlookup function to pull yesterday's responses into today's report if the children still appear in the report.

    What I have been doing is clicking cell A2 in the combined sheet, typing "=", then selecting all of the rows that contain data in sheet "CAM". Then on the combined sheet I go down to the first blank row and do the same thing for the next worksheet and so on until the combined sheet has referenced all of the rows from all the other sheets (minus the header row obviously). The rows have to reference the original because I need it to update every time someone goes in the worksheet and provides a response to each child on the list.

    This process really doesn't take me that long to manually do, but I do it every day and it's just annoying knowing that there has to be a way to include this in my macro. I just cannot figure out how to successfully do it. I have attached a version of the spreadsheet with all of the confidential information replaced. I was going to provide an example sheet to show what the finished product looks like, but it made the file size too big to upload.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Combine Values from Duplicate References
    By hzrdc2 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-19-2017, 12:58 PM
  2. How to combine many rows into one on a separate sheet
    By katieshields in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2017, 08:49 AM
  3. Excel VBA combine common rows based of two columns place into another sheet
    By jurjevics in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2016, 02:17 PM
  4. [SOLVED] Combine Selected Columns & Rows Informations from Multiple Excel Sheets to one sheet
    By akherief in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2016, 07:44 AM
  5. Replies: 2
    Last Post: 06-11-2014, 11:14 AM
  6. Combine Duplicate Rows and Combine Data in Rows
    By cherylmcgk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2013, 12:04 PM
  7. How to create Read/Write VBA Userform that references variable cells/rows in a sheet?
    By Sivart9876 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2012, 10:58 AM

Tags for this Thread

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