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!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi,

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


Book1
ABC
1CHECKCARD 0106 AMAZON MKTPLACE PMTS AMZN.COM/BILLWAAMAZON MKTPLACE PMTS AMZN.COM/BILLWA
Sheet16
Cell Formulas
RangeFormula
C1=RIGHT(A1,LEN(A1)-15)
 
Upvote 0
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.
 
Upvote 0
Another option, non length dependent from 2nd space back:


Book1
ABC
2CHECKCARD 0106 AMAZON MKTPLACE PMTS AMZN.COM/BILLWAAMAZON MKTPLACE PMTS AMZN.COM/BILLWA
3CHECKCARDs 01206 AMAZON MKTPLACE PMTS AMZN.COM/BILLWAAMAZON MKTPLACE PMTS AMZN.COM/BILLWA
Sheet16
Cell Formulas
RangeFormula
C2=MID(A2,FIND(" ",A2,FIND(" ",A2)+1)+1,255)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top