+ Reply to Thread
Results 1 to 4 of 4

Adding a value to a column based on values in another column fro the same worksheet

  1. #1
    Forum Contributor
    Join Date
    04-25-2011
    Location
    Donegal, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    133

    Adding a value to a column based on values in another column fro the same worksheet

    I have 2 columns called 'Visibility' and 'MTW Status' in AC and AU respectively and shown in blue.

    MTW Status column has text values that are either 'Matching' 'Non-Matching' 'Matching and Updated' or 'New Row'
    The Visiblity column needs to updated based on these values in the status column.

    'Non-Matching' to represented by a '0' in the visibility, the other 3 text values to be represented by the number '4'

    I want to be able to run a macro to make this happen.

    Would appreciate any help in making this work.

    I've enclosed an example file to highlight the areas that i'm talking about

    Regards
    John
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adding a value to a column based on values in another column fro the same worksheet

    Hi John

    Here's one way
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor
    Join Date
    04-25-2011
    Location
    Donegal, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    133

    Re: Adding a value to a column based on values in another column fro the same worksheet

    Jaslake, that is fantastic, copy, paste and worked flawlessly. And many thanks for the fast response. Gladly added a star.

    regards
    John

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adding a value to a column based on values in another column fro the same worksheet

    You're welcome...glad I could help. Thanks for the Rep.

+ 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. Replies: 1
    Last Post: 11-05-2013, 11:22 AM
  2. [SOLVED] Adding Values from One Column Based on Criteria in another column
    By andymc80 in forum Excel General
    Replies: 1
    Last Post: 01-30-2013, 09:29 AM
  3. Replies: 3
    Last Post: 01-10-2012, 10:41 PM
  4. Adding Column values based on Column Heading
    By sjhanson in forum Excel General
    Replies: 1
    Last Post: 11-17-2011, 02:58 PM
  5. adding values of a column based on another column content
    By gideong in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-16-2009, 11:53 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