Share via

Find and Replace in a specified column in Excel 2007

Anonymous
2013-07-29T13:20:02+00:00

Is there a simple way to do a 'Find and Replace' in only one column?  I have a large spreadsheet where I'd like to replace numbers with specific text however I would like to confine it to one particular column.  Of course I can do it manually, but it is a recurring need so I'd prefer to find a way to automate it.  A perfect solution would be a marco or VBA code that asked the column name, value to find & value to replace.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. HansV 462.6K Reputation points MVP Volunteer Moderator
    2013-07-29T20:08:42+00:00

    If you select the column by clicking on its column heading, Find and Replace will operate within that column only.

    100+ people found this answer helpful.
    0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-07-16T04:22:17+00:00

    Hi,

    First select that complete column in which you need to perform replace .Don't use Find all option , instead of that use find next and after that use replace all. Then it will only replace in selected column.

    Thanks,

    Vinay Gupta

    90+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-10-17T12:42:07+00:00

    I can even begin to tell you how many times I have looked this up. I think the problem is the "within" dialog box pre-fills/defaults to "Sheet". Maybe it should default to "Selection" or just be blank.

    When I see this I think, "but I dont want to replace all in this sheet, only in my selection!!"

    ... I don't think I'll forget after writing this response, but I'm not the only person who uses excel!

    9 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2014-09-08T17:58:08+00:00

    This issue was almost the death of me. Simple fix that makes not a lot of sense, but when you hit ctrl+F or ctrl+H, make sure your Within: drop down is selected to 'Sheet' not 'Workbook'. If Workbook is selected, it will override the selection you have made. This is the case, even if this box is not open and/or you are coding the Find and Replace.

    9 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2013-07-30T16:12:00+00:00

    If you select the column by clicking on its column heading, Find and Replace will operate within that column only.

    Double click on the column heading.

    7 people found this answer helpful.
    0 comments No comments