+ Reply to Thread
Results 1 to 12 of 12

Find & Replace in a single column

  1. #1
    Registered User
    Join Date
    05-06-2011
    Location
    Prudhoe, England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Find & Replace in a single column

    I have a spreadsheet with numbers all over the place to represent different values. Column M has numbers 1-12 to represent the months of the year. I want to change them to show the months as words.

    I was going to Find & Replace them, but I can't seem to.

    It seems a pretty simple thing in my head, but I can't work out how to do it.
    Last edited by Kevingardner1; 05-06-2011 at 10:40 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Find & Replace in a single column

    Select the column before you do your Find and Replace. That should restrict the changes to that column. Then replace 12 by December, 11 by November, 10 by October and so on.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: Find & Replace in a single column

    May be like this;

    =LOOKUP(M1,$M$1:$M$12,{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"})

    Thanks

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Find & Replace in a single column

    =TEXT(DATE(1900,m1,1),"MMM")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    05-06-2011
    Location
    Prudhoe, England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Find & Replace in a single column

    Sorry, I'm sometimes a bit of a dunce.

    I have 39438 rows where column M will only have number 1 to 12 to show during which month a sale was made. I don't think selecting the column first works, I can only seem to do that by sheet or workbook (although it would made sense to have a 'selected cells only' option).

    I'm pretty sure nawas or martindwilson are on the right track, but where do I put these formulas?

  6. #6
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: Find & Replace in a single column

    Hi Martin,

    Awsome... I could learn such a simple formula can make things easy ..

    Thanks

  7. #7
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: Find & Replace in a single column

    Hi Kevingardner1,

    Could you please attach a sample sheet, showing your desired output..

    Thanks

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Find & Replace in a single column

    just put it in a spare column on the same row (change m1 to whatever row you start from say m2) drag down to end. once done you can copy/paste special values over the original and delete the formulas

  9. #9
    Registered User
    Join Date
    05-06-2011
    Location
    Prudhoe, England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Find & Replace in a single column

    Thanks Martindwilson. I've added to your reputation.

    I couldn't really add a sample nawas other than to make up the other columns. It's solved now anyway. Thanks all.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Find & Replace in a single column

    Guess you're doing something wrong, it works for me.

    See the attached image.

    Regards
    Attached Images Attached Images

  11. #11
    Registered User
    Join Date
    05-06-2011
    Location
    Prudhoe, England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Find & Replace in a single column

    Haha, you're right!! I was totally over-complicating it!! Thanks

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Find & Replace in a single column

    You're welcome.

+ Reply to 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