+ Reply to Thread
Results 1 to 2 of 2

Replace text in column with a unique number

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Bratislava, SK
    MS-Off Ver
    Office Pro Plus 2016
    Posts
    42

    Replace text in column with a unique number

    Hi all,

    I have a report which lists a number of company details. Some of these companies are not matched in the system, and instead of showing the company name in col. C, the report just displays "Not Listed".

    As I use the report for a number of lookups, I'd need to change each instance of the "Not Listed" text by a unique number, which would allow me to obtain the unique reference to help me with my lookup.

    For instance, say the first instance of this is in C2. "Not Listed" would become "COMPANY001".
    Then in the next instance, displayed say in C15, "Not Listed" would become "COMPANY002".
    And so on for each instance of "Not Listed" until the end of the list.

    The number of "Not Listed" entries varies in number and row from week to week, but is always in col. C.

    Is there a simple way to do this in VBA?

    Thanks for any advice

    -Isa

    (This was mistakenly posted in the functions forum. I've closed the other post)
    Last edited by isabelle.r; 05-22-2017 at 04:33 AM.

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Replace text in column with a unique number

    Reposted.

    .

+ 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. [SOLVED] Replace text in column with a unique number
    By isabelle.r in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2017, 04:30 AM
  2. [SOLVED] Search and Replace Unique Text Strings Over Multiple Files
    By portokie in forum Excel General
    Replies: 2
    Last Post: 07-11-2016, 07:24 PM
  3. [SOLVED] Count the number of Unique Items in a Column for each Unique Item in another Column
    By HangMan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-27-2015, 01:18 PM
  4. [SOLVED] Counting unique values (text or number) in one column
    By djaurit in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-06-2012, 03:13 PM
  5. Replies: 12
    Last Post: 07-03-2012, 04:50 PM
  6. Using text box input to lookup number and replace based on user input into new column
    By harl3y412 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2011, 03:15 PM
  7. Replies: 3
    Last Post: 08-29-2010, 03:31 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