Sorting bank statement. Remove "CHECKCARD 1229 " from the beginning of description?

snapajap

New Member
Joined
Feb 9, 2016
Messages
9
Hi,

So tax time is here again and I have to sort my statement via vendor. Most descriptions begin like this CHECKCARD 0106 AMAZON MKTPLACE PMTS AMZN.COM/BILLWA
I need to sort by vendor name, so it should read like this AMAZON MKTPLACE PMTS AMZN.COM/BILLWA. So I'd like to be able to remove the CHECKCARD 0106 (including the space at the end) and I have a lot of entries.

Thanks for any help!
 

Some videos you may like

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
5,146
Hi,

If the string Always starts with CHECKCARD #### and a space, this will also work:

<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">1</td><td style=";">CHECKCARD 0106 AMAZON MKTPLACE PMTS AMZN.COM/BILLWA</td><td style="text-align: right;;"></td><td style=";">AMAZON MKTPLACE PMTS AMZN.COM/BILLWA</td></tr></tbody></table><p style="width:5.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet16</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">C1</th><td style="text-align:left">=RIGHT(<font color="Blue">A1,LEN(<font color="Red">A1</font>)-15</font>)</td></tr></tbody></table></td></tr></table><br />
 

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
17,211
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi,

If the string Always starts with CHECKCARD #### and a space, this will also work:

ABC
1CHECKCARD 0106 AMAZON MKTPLACE PMTS AMZN.COM/BILLWAAMAZON MKTPLACE PMTS AMZN.COM/BILLWA

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet16

Worksheet Formulas
CellFormula
C1=RIGHT(A1,LEN(A1)-15)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
For the OPs benefit, I want to point out that the formula in post #2 will work with any number of digits following the first space, not just 4 digits as provided in the OP's example.
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
5,146
Another option, non length dependent from 2nd space back:

<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">CHECKCARD 0106 AMAZON MKTPLACE PMTS AMZN.COM/BILLWA</td><td style="text-align: right;;"></td><td style=";">AMAZON MKTPLACE PMTS AMZN.COM/BILLWA</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style=";">CHECKCARDs 01206 AMAZON MKTPLACE PMTS AMZN.COM/BILLWA</td><td style="text-align: right;;"></td><td style=";">AMAZON MKTPLACE PMTS AMZN.COM/BILLWA</td></tr></tbody></table><p style="width:5.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet16</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">C2</th><td style="text-align:left">=MID(<font color="Blue">A2,FIND(<font color="Red">" ",A2,FIND(<font color="Green">" ",A2</font>)+1</font>)+1,255</font>)</td></tr></tbody></table></td></tr></table><br />
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,109,073
Messages
5,526,655
Members
409,713
Latest member
roman9980

This Week's Hot Topics

Top