Closed Thread
Results 1 to 3 of 3

Need a simple formula for this...

  1. #1
    Registered User
    Join Date
    05-10-2010
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    7

    Unhappy Need a simple formula for this...

    hi,
    i've a tidious job to search and replace a number which has got 1000 row entries in ms excel.i'm able to search of a number starting with 4460304 and while replacing i have to change that to 4460305,in next seach i have to replace the same 4460304 with 4460306 and evrytime while replacing it should get incremented.So for this repetitive process can any help with a seach and replace formula and where to write that formula and how to use that formula in ms excel...??i'm really need your help.

    thanks in advance,
    Sri

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Need a simple formula for this...

    mgnidhi this is your third post of this question now. You've received two infractions, one for each of your previous posts for an improper title and a duplicate post.

    Please edit your question using a suitable thread title as arthurbr has requested here :

    http://www.excelforum.com/excel-new-...e-in-this.html

    Thread locked.

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Need a simple formula for this...

    If you data is in A2 down try using this formula in an unused column, row 2 copied down

    =IF(A2=4460304,COUNTIF(A$2:A2,4460304)+A2,A2)

    That will increment each instance of 4460304 but leave other data unchanged. If you want to replace the original column with the new one you can Copy the new column then use Edit > Paste Special > Values to convert to values and then copy over the original.

    I'd advise you to save the original first so that you can undo any changes if necessary

Closed Thread

Thread Information

Users Browsing this Thread

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

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