Excel - Delete part of the information from a cell

April 2017





Issue

I need a solution for the following situation:


Is there a way to delete part of the information from a cell (overlapping in the adjacent cell)?
Example:
  • H78646733 from cell C2 can be found at the end of the text in cell F2 (Hamilton Khaki Belowzero Men's Watch H78646733). I'd also like to know how to delete to delete the code in cell F2 that appears in cell C2.

Solution

If the value of C2 is always at the end of the value in F2 seperated by a space then use this formula:
=LEFT(F2;LEN(F2)-(LEN(C2)+1)) 


Thanks to TrowaD for this tip.

Related


Published by aakai1056. Latest update on October 21, 2016 at 01:28 PM by owilson.
This document, titled "Excel - Delete part of the information from a cell," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).