To replace content in a specific column or row, select the column or row by clicking on the header, then use the Find and Replace Shortcut in Excel as usual.