+ Reply to Thread
Results 1 to 3 of 3

Fill out already known columns

  1. #1
    Registered User
    Join Date
    11-22-2016
    Location
    Berlin, Germany
    MS-Off Ver
    2010
    Posts
    1

    Fill out already known columns

    Hi,

    I copy every day new rows with errors into an excel spreadsheet from Column D to M. In relation to theses inputs I've to fill out the cellars from O to K.
    Because there are every day also equal errors entering, I wanna code a macro which is able to check, if an error which is written in D to M already exist and if yes, then the macro should fill out the cellars from O to K with the information I wrote already for existing errors.

    Example:
    D E F G H I J K L M ..... O P Q R S T U
    1 Z Z Z Z Z Z Z Z Z Z .. E E E E E E E <--- Already tracked errors
    2 Z Z A Z Z Z Z A Z Z .. F F F F F F F <--- Already tracked errors

    3 Z Z A Z Z Z Z A Z Z <--- New entry from today. Row 3 is equal to 1. So the macro should copy the entries from O1 to U1.
    4 Z W F H J E S T W T <--- New entry from today. Completely new error. I've to fill the cellars from O3 to U3 by myself

    I hope you can help me.

    Thanks a lot in advance.

    Greetings
    Marv

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Fill out already known columns

    Put the following into the relevant worksheets Module

    EDIT: Just realised that didnt do exactly what you wanted, give me 5mins
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Fill out already known columns

    On reflection I dont understand the requirement? You say that the data in columns D to M must match and then say in your example that 3 matches 1 however they dont! I assume thats a type and should have said 2 not 1 however even then they dont match as column D shows consecutive numbers therefore no column D's match?

+ 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. formula to auto fill columns from columns in other tabs
    By rodgerdooter in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-28-2016, 08:43 AM
  2. [SOLVED] auto-fill columns based on data in different columns
    By dawondr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2015, 06:44 PM
  3. Replies: 1
    Last Post: 05-30-2015, 12:42 PM
  4. [SOLVED] I need to fill 2 text columns based on criteria from 2 adjacent columns
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-04-2014, 02:55 PM
  5. [SOLVED] Multiple Columns which need to be combined with some columns not having all the cells fill
    By kikboxr777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2014, 01:38 AM
  6. Multiple Columns to Two Columns and then fill down data to end
    By LVernon in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-14-2012, 11:08 AM
  7. Add two columns and fill columns based on other column data
    By gcoug in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-21-2011, 06:52 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