0
Thanks

A few words of thanks would be greatly appreciated.

Excel - Delete part of the information from a cell





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.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
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

Published by . Latest update on by Olivia Long.

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 (https://ccm.net/).

0 Comments