Results 1 to 10 of 10

Find/Replace macro with lookup table of change from to change to

Threaded View

  1. #1
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    469

    Find/Replace macro with lookup table of change from to change to

    Hi All,

    I'm having an annoying issue when running reports from our financial system. Some account/analysis codes which are 3 or 4 character text are reformatted to numbers or dates when exported from the system to excel.

    Example:
    Analysis code 6E2 is reformatted to the number 600 and Account code JAN5 is reformatted as date 36526 or 01/01/2000

    I basically have to find and replace all the account/analysis errors manually by filtering the data set.

    I've attached an example of an export with errors appearing in columns E & H only and highlighted the errors in yellow.

    36526 or 01/01/2000 change to JAN0
    37257 or 01/01/2002 change to JAN2
    38353 or 01/01/2005 change to JAN5
    38718 or 01/01/2006 change to JAN6
    39083 or 01/01/2007 change to JAN7
    39448 or 01/01/2008 change to JAN8
    6 or 6.00E+00 change to 6E0
    600 or 6.00E+02 change to 6E2
    60000 or 6.00E+04 change to 6E4
    7 or 7.00E+00 change to 7E0
    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. Basic Find, Replace and Format change macro
    By cmphibbs in forum Excel General
    Replies: 1
    Last Post: 06-27-2013, 06:22 AM
  2. [SOLVED] Need a macro to find and replace plus change format of another colum
    By cejamgr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-29-2013, 07:13 PM
  3. Macro find and change value according to table
    By dudumomo38440 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2011, 04:00 AM
  4. how to change the code to do find the value and replace value
    By jay11 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-11-2010, 09:33 PM
  5. Change Sheet Reference w/o Find/Replace
    By Phillycheese5 in forum Excel General
    Replies: 1
    Last Post: 05-17-2007, 06:00 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