Results 1 to 14 of 14

add prefix to number based on validation from other data

Threaded View

oeyandyprawira add prefix to number based on... 12-09-2018, 05:49 AM
bakerman2 Re: add prefix to number... 12-09-2018, 06:30 AM
oeyandyprawira Re: add prefix to number... 12-09-2018, 07:33 AM
PCI Re: add prefix to number... 12-09-2018, 06:53 AM
oeyandyprawira Re: add prefix to number... 12-09-2018, 07:36 AM
PCI Re: add prefix to number... 12-09-2018, 07:37 AM
PCI Re: add prefix to number... 12-09-2018, 07:39 AM
oeyandyprawira Re: add prefix to number... 12-09-2018, 07:58 AM
bakerman2 Re: add prefix to number... 12-09-2018, 07:50 AM
oeyandyprawira Re: add prefix to number... 12-09-2018, 07:59 AM
bakerman2 Re: add prefix to number... 12-09-2018, 09:24 AM
bakerman2 Re: add prefix to number... 12-11-2018, 03:51 PM
oeyandyprawira Re: add prefix to number... 12-11-2018, 06:54 PM
oeyandyprawira Re: add prefix to number... 12-11-2018, 11:49 PM
  1. #1
    Forum Contributor
    Join Date
    12-17-2012
    Location
    indonesia
    MS-Off Ver
    Excel 2019
    Posts
    170

    add prefix to number based on validation from other data

    Hi Please kindly help,

    is there a macro to validate column AW, based on column BC & BL ,
    for example AW1 = 215810507 , BC= JAKARTA, in column BL there is JAKARTA with area code 021, before add prefix 021 to AW1, it will validate the first & second character of AW1 is the same as the second and third character of BM column, if same then add prefix 0, if not the same then add prefik from BM column (this case happen on AW4 & AW5), thx

    BEFORE
    BEFORE AREA CODE.JPG

    AFTER
    AFTER AREA CODE.JPG
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] add prefix to number based on other data
    By oeyandyprawira in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2018, 04:19 PM
  2. [SOLVED] Extract Multi-line Data Based on prefix and format
    By chilli16 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2018, 11:15 AM
  3. [SOLVED] Extract Multi-line Data Based on prefix
    By chilli16 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-29-2018, 05:15 AM
  4. Replies: 4
    Last Post: 08-07-2017, 06:45 PM
  5. VBA Automatically concatenate cell data based on data, and prefix with specific word.
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2017, 02:16 PM
  6. extracting page number ranges based on prefix of sorted data
    By wdjohnson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2016, 05:34 PM
  7. Data validation to keep a prefix
    By Chemistification in forum Excel General
    Replies: 5
    Last Post: 07-08-2010, 01:10 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