+ Reply to Thread
Results 1 to 5 of 5

Help with encoding cells please

  1. #1
    Registered User
    Join Date
    01-28-2012
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    7

    Help with encoding cells please

    I have a worksheet with several 000's rows of data, holding information about patients visits. Each row holds the information on a single visit.

    Each patient can have multiple visits (i.e. appear in multiple rows). The table is sorted by patient name, and the left-most column holds the patient name.

    I wish to share this sheet with others, but due to data protection rules I wish to hide the personal information, i.e. patient name, before I do that.

    My plan is to keep a master copy of the sheet, and in the copy that I share encode each patient name into P0001, P0002, etc. So that the the left column of the table will appear like this:

    P0001
    P0001
    P0002
    P0003
    P0004
    P0004
    P0005

    How do I create the encoding automatically please?

    Any tips will be much appreciated!

  2. #2
    Registered User
    Join Date
    06-02-2019
    Location
    Nepal
    MS-Off Ver
    365 _ (2016)
    Posts
    1

    Re: Help with encoding cells please

    I have faced issue while I made a Employee roster, The problem is "Run Time Error '70' Permission denied"
    Thanks & Regards
    Shankar Prasad

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex
    MS-Off Ver
    365
    Posts
    5,492

    Re: Help with encoding cells please

    You could create a unique list of patient names elsewhere in the workbook, allocate a unique ref to each then use a lookup formula like VLOOKUP or INDEX/MATCH to populate a new column with those refs. Paste the values over that column to get rid of the formula then delete the column with the real names in.

    BSB

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    18,226

    Re: Help with encoding cells please

    @sp.shankar

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original. Please start a new thread - See Forum rule #4

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    18,226

    Re: Help with encoding cells please

    crossposted: https://www.mrexcel.com/forum/excel-...ple-cells.html

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future

+ 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. VBA cells to .html but with UTF8 encoding
    By sportbo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-13-2018, 06:48 AM
  2. UTF-8 encoding
    By peter.lenkei in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2018, 04:18 PM
  3. Excel Encoding
    By fariskhan007 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-07-2017, 10:19 AM
  4. Replies: 1
    Last Post: 05-23-2014, 05:44 AM
  5. [SOLVED] UTF-8.0 encoding
    By bob808a in forum Excel General
    Replies: 6
    Last Post: 06-14-2012, 08:01 AM
  6. XML encoding
    By InfoGet in forum Excel General
    Replies: 0
    Last Post: 04-07-2008, 10:58 AM
  7. UTF-8 encoding CSV
    By ahjiang@gmail.com in forum Excel General
    Replies: 0
    Last Post: 04-03-2006, 09:40 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