+ Reply to Thread
Results 1 to 6 of 6

Copy Column B to Column C based on keyword in Column A

  1. #1
    Registered User
    Join Date
    09-11-2019
    Location
    TX
    MS-Off Ver
    Microsoft Excel 2019 MSO 64-Bit
    Posts
    3

    Copy Column B to Column C based on keyword in Column A

    I have a spreadsheet containing a list of Devices and their meters in Column A. Each device has a different number of meter runs associated with it. ex A1=Device , A2 = Meter 0, A3 = Meter 1 etc. Column B holds the Device name and the corresponding meter runs names. I need to take the device name and add that to Column C next to the corresponding meter runs for each device. I have attached a small sample to illustrate what the current worksheet looks like.

    I have roughly 10,000 meter runs what would be the easiest way to accomplish what I need?

    Thank you everyone for your help.Capture1.PNG

    This is the link to the same post I asked on a different forum yesterday as well. Thanks
    Attached Files Attached Files
    Last edited by guysamson; 09-12-2019 at 09:08 AM. Reason: To include cross posted link to this question from another forum

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Copy Column B to Column C based on keyword in Column A

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    09-11-2019
    Location
    TX
    MS-Off Ver
    Microsoft Excel 2019 MSO 64-Bit
    Posts
    3

    Re: Copy Column B to Column C based on keyword in Column A

    Thanks Glenn. I edited my original post including the current setup on Sheet 1 of that Excel file and the desired outcome on Sheet 2 of the excel file. Thank you.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Copy Column B to Column C based on keyword in Column A

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    09-11-2019
    Location
    TX
    MS-Off Ver
    Microsoft Excel 2019 MSO 64-Bit
    Posts
    3

    Re: Copy Column B to Column C based on keyword in Column A

    I attempted to amend my original post with the cross posted link but I received an error saying "You can not post links, images, or videos until you have posted a few times" Would an admin be able to help me around this issue? Thank you

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Copy Column B to Column C based on keyword in Column A

    Instead of trying to copy and paste a link, type the URL out.

+ 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. Find keyword in column B and print vaue of column E to column G not working
    By moorea21 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2017, 04:58 AM
  2. Filtering one Column Based on a Keyword in Another Column
    By aa94 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2014, 11:29 AM
  3. Replies: 4
    Last Post: 12-16-2013, 06:29 PM
  4. Filter List by Keyword & copy the result in column by keyword as header
    By kitunga in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2013, 07:16 AM
  5. Replies: 2
    Last Post: 07-13-2012, 04:02 AM
  6. [SOLVED] How to copy data from Column B to Column D if a keyword does not appear in coulmn B
    By Glayva in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2012, 09:05 AM

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