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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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,224,894
Messages
6,181,618
Members
453,057
Latest member
LE102024

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