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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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
CHECKCARD 0106 AMAZON MKTPLACE PMTS AMZN.COM/BILLWAAMAZON MKTPLACE PMTS AMZN.COM/BILLWA

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: right"][/TD]

</tbody>
Sheet16

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C1[/TH]
[TD="align: left"]=RIGHT(A1,LEN(A1)-15)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
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,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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