+ Reply to Thread
Results 1 to 4 of 4

Automatically populate a spreadsheet with raw data

  1. #1
    Registered User
    Join Date
    12-22-2019
    Location
    Milton Keynes, England
    MS-Off Ver
    365
    Posts
    2

    Automatically populate a spreadsheet with raw data

    I have 3 separate sheets in one workbook(Spread A) labelled Customer Visits, Admissions 1 and Admissions 2. Everyday, the Customer Visits sheet is updated with fresh data and I am trying to find a formula/method where the columns in sheets labelled Admissions 1 and Admissions 2 are populated by the new raw data from Customer Visits.
    For example, the fresh data comes in to Customer Visits on January 1st and I am trying to find a method that populates the columns Day_01, Day_02, Day_03 etc... of Admissions 1 and Admissions 2. I think the best approach is Vlookup but this causes the previous day to be overwritten by the next. E.g. Day_02 overwrites Day_01.

    Just wondered if anyone has come across a similar problem before?
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,266

    Re: Automatically populate a spreadsheet with raw data

    When the "Customer Visits" sheet is updated daily, isn't the data for the previous days the same. In other words, on Day 1 you have data in for Day 1. When you get fresh data for Customer visits on the second day, isn't the same data for day 1 still there and new data is now available for day 2?

    Other question - you mention Sheets "Admissions 1" and "Admissions 2", but the sheets are named "Till 1" and Till 2". Am I to assume that Sheet "Till 1" should be updated by those records on "Customer Visits" where the "StreamType" = "Admissions 1"?

    If so, you could try this formula in cell G10 on Sheet "Till 1":
    =SUMPRODUCT(--(Spread_B[[DESCRIPTION]:[DESCRIPTION]]=$B10),--(Spread_B[[StreamType]:[StreamType]]="Admissions 1"),Spread_B[DAY_01])

    Then copy this formula down and across.

    Of course if my assumptions are wrong, then forget about the formula :-)

  3. #3
    Registered User
    Join Date
    12-22-2019
    Location
    Milton Keynes, England
    MS-Off Ver
    365
    Posts
    2

    Re: Automatically populate a spreadsheet with raw data

    Thank you for your reply!

    In response to your first question, yes, that is correct. The data is still there for day 1 when new data comes in for day 2.

    Secondly, apologies sheets 'Till 1' and 'Till 2' should be labelled 'Admissions 1' and 'Admissions 2', this has now been updated.

    Finally, I tried the proposed formula and the cells do populate, however the data is populated in the wrong days and for the wrong column descriptions.

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,266

    Re: Automatically populate a spreadsheet with raw data

    Quote Originally Posted by Mino_B View Post
    Finally, I tried the proposed formula and the cells do populate, however the data is populated in the wrong days and for the wrong column descriptions.
    Can you be more specific, and maybe upload the file. It works for me as far as I can see.

+ 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. Populate data to spreadsheet automatically from data on two other spreadsheets
    By SpeckM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2015, 12:06 PM
  2. Replies: 15
    Last Post: 10-27-2014, 08:45 PM
  3. [SOLVED] Trying to get vacation tracking spreadsheet to automatically populate calendar
    By wdry7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-17-2014, 05:03 AM
  4. Replies: 3
    Last Post: 01-09-2012, 09:04 PM
  5. Excel 2007 : How to automatically populate data
    By jcbruin in forum Excel General
    Replies: 1
    Last Post: 01-31-2011, 04:04 AM
  6. Automatically populate data
    By pcrone in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2008, 11:09 AM
  7. How can you have data automatically populate btw workbooks
    By kzparham in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2005, 03:10 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