NormChart55
New Member
- Joined
- Feb 22, 2022
- Messages
- 44
- Office Version
- 2016
- Platform
- Windows
Hello,
I am having to add tweak some data for matching purposes elsewhere. I can easily remove the leading 1, but in the case of numbers that then have a 0 after them, I am unsure how to work this equation so that the 0 also gets removed in only those cases. Example below.
Store Number examples
Column D contains the stores in the format below
15563 = should be 5563 (already working)
12173 = should be 2173 (already working)
10449 = should be 449 (currently showing 0449)
I am having to add tweak some data for matching purposes elsewhere. I can easily remove the leading 1, but in the case of numbers that then have a 0 after them, I am unsure how to work this equation so that the 0 also gets removed in only those cases. Example below.
Store Number examples
Column D contains the stores in the format below
15563 = should be 5563 (already working)
12173 = should be 2173 (already working)
10449 = should be 449 (currently showing 0449)
Excel Formula:
IF(C8="DIRECT",RIGHT(D8,4)&" "&INDEX(LL!B:B,MATCH(Feed!D8,LL!A:A,0)),0)