+ Reply to Thread
Results 1 to 4 of 4

Formulas or code to find multiple entries and change corresponding cell values

  1. #1
    Registered User
    Join Date
    02-09-2015
    Location
    London, UK
    MS-Off Ver
    2010
    Posts
    2

    Formulas or code to find multiple entries and change corresponding cell values

    Hello

    I hope someone can help.

    I'm trying to do the following:

    A B C D

    TEXT 1 DESCR 1 Superseded
    TEXT 2 DESCR 1 Current
    TEXT 1 DESCR 2 Current
    TEXT 3 DESCR 1 Current

    There are around 1500 rows and growing. New rows are entered at the bottom with text in column A and 'Current' in column D. I need to find previous identical entry in column A and change it's status in column D to 'Superseded' and ideally grey out entire row.

    I would really appreciate your help.

    Thank you very much

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Formulas or code to find multiple entries and change corresponding cell values

    I assume that the text is entered manually? One line at a time?

    A sheet specific macro would probably be best.

    but all the macro do is check to see if a b and c are filled, put Current in D .

    find the text in column A

    set column D to Superceded.

    NB: Untested.

    Right Click on the sheet name at the bottom of excel

    Select view code

    Paste this tehre

    Please Login or Register  to view this content.
    Close that window

    Enjoy.
    Last edited by mehmetcik; 02-09-2015 at 05:41 AM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Formulas or code to find multiple entries and change corresponding cell values

    FWIW:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-09-2015
    Location
    London, UK
    MS-Off Ver
    2010
    Posts
    2

    Re: Formulas or code to find multiple entries and change corresponding cell values

    Hi

    Thanks for sending this and sorry for late reply.

    I still can't get my head around it. Tried the codes but nothing happens. The table looks like below. There are around 3000 entries there at the moment and the sheet is being updated in bulks so another few thousand rows will be added at the bottom from time to time. I need to find all rows with the same Document Number (A), for the last one with the highest Rev No change the status to Current Rev and all the previous ones above to Superseded and grey out all the superseded although that one is optional.

    Capture.PNG

    Do you have any more suggestions please?

    Thanks a lot!
    J

+ 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: 4
    Last Post: 01-18-2015, 04:52 PM
  2. Formula or Code to recognize and separate multiple entries within a cell
    By MichaelMcDaniel in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-13-2014, 12:53 PM
  3. Replies: 2
    Last Post: 04-24-2013, 06:03 PM
  4. Replies: 2
    Last Post: 06-04-2012, 06:57 AM
  5. VBA code to find duplicate values within multiple rows and columns
    By pcbpinoy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2011, 09:04 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