• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Find and Replace

Hi All,

Need your help on this .......

Sample file has been attached. In column A, I need to replace first break with break 1 and second one with break 2. Googled a lot but could not able to figure out the solution.
 

Attachments

  • sample.xlsx
    27.7 KB · Views: 2
B2: =IF(A2="Break",MAX($B$1:B1)+1,"")
C2: =IF(ISNUMBER(B2),"Break "&B2,IF(A2="","",A2))
Copy both cells down to row 6903
Then select Column C and Copy, Paste Special Values ontop of itself
Then replace Column A with Column C
Delete Column B

See attached file:
 

Attachments

  • sample.xlsx
    196.3 KB · Views: 5
Thank you Hui.

I need the result in different way ....for first break it should be break 1 and second it has to be Break 2. Similarly for, Break 3 and Break 4 it has to be Break 1 and Break 2........
 
Back
Top