Excel - Delete part of the information from a cell

Ask a question




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.
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team