Extracting data from a cell that contains transactions

djpravah

New Member
Joined
Apr 29, 2023
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Hi Excellent Excellers :),

Help Required: How do I extract data from transaction SMS received from Banks on card swipe, each bank has a different format, for the below use cases:
  1. Transaction SMS: I would like to extract the Amount and SHOP add them into two different cells
  2. Monthly Statement SMS: I would like to extract the Bank Card, Total amt due, Due date into three different cells

Book1
AB
1Transaction SMSStatement SMS
2Alert! INR 101.00 spent on yourXX Bank Credit Card xx at SHOP CHARLIEAlert! Your Bank Card statement is here for XX 2023 Total amt due: INR 2500.32 Payment due date: 02 XXX 2023
3INR 2,499.00 spent on Bank Card XX at SHOP BRAVODear Customer, statement for Bank Card XX . Total amount of Rs 2500.87 is due by 05-XXX-23.
4Alert: You've spent INR 250.00 on your XX card ** at SHOP ALPHADear Customer, your statement for Card **** has been generated. /total payment Rs.XX,XXX.XX is due by DD/MM/YY.
5Transaction Successful! INR 2514.09 spent on your Bank Card ending XX at SHOP DELTAThe e-Statement for your Bank Credit Card XX has been generated. Due Date: DD-MM-YYYY Total Due: Rs. X,XXX.XX
6You've spent Rs.1016 On Bank Card xx At SHOP ECHOBank Credit Card XX Statement: Total due amt: Rs.XX,XXX.00 Due by:DD-MM-2023
Sheet1



Thank you in advance
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Anything is possible.

Are you provided with the name of the bank for each line?

Is the amount always preceded by the currency abbreviation?
 
Upvote 0
Anything is possible.

Are you provided with the name of the bank for each line?

Is the amount always preceded by the currency abbreviation?
Yes, bank name is provided the currency format is erratic in the last row it's Rs. 1,297.50 where as others have inr
 
Upvote 0
To enable helpers to consider possibilities:
  • What are the expected results for that sample data or new sample data (post again with XL2BB please)?

  • Explain the logic that would be used to obtain those results.
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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