
π This article includes 1 downloadable practice file β
Advertisement
In this article
Most of a modern Indian statement is UPI. Each narration packs several fields separated by slashes:
UPI/DR/412345678901/SWIGGY/YESB/swiggy@ybl/Payment
1 2 3 4 5 6 7
| Part | Meaning |
|---|---|
| 2 | DR (paid) or CR (received) |
| 3 | 12-digit UPI reference (RRN), useful for disputes |
| 4 | Payee name as registered |
| 5 | Payee’s bank code |
| 6 | UPI ID (VPA) |
| 7 | Remark typed by the payer |
The exact layout differs by bank (some use hyphens, some truncate names), but the method is the same.
Pull out each part
Payee: =INDEX(TEXTSPLIT(B2, "/"), 4)
UPI ID: =INDEX(TEXTSPLIT(B2, "/"), 6)
Reference: =TEXTBEFORE(TEXTAFTER(B2, "/", 2), "/")
Only UPI: =IF(LEFT(B2,3)="UPI", INDEX(TEXTSPLIT(B2,"/"),4), "")
π‘ A UPI ID that is just digits before the @ (like
9876501234@ybl) is a person or small shop, not a company. Handy for spotting payments to individuals.Common mistakes
- The reference shown in E-notation (4.12E+11): it’s a 12-digit number. Keep it as text (the formula returns text) or format as 0.
- Remarks containing a slash shift the parts. Count from the start for the fixed fields, never from the end.
Practice
Download the workbook below. The statement is made up but follows real Indian bank formats (NEFT, NACH, UPI narrations). The Check column turns green when your formula gives the right answer.
π Practice files for this article
- πLesson 4 practice workbookStatement + 6 UPI parsing tasks.β¬ XLSX Β· 16 KB
Free to use for learning. Files with macros (.bas) are plain text β import them with Alt+F11 β File β Import File, and always test on a copy.
Advertisement
β¨ Ask AI about this article
Stuck on a step? Ask a question and the AI answers using this article.
Free Β· AI can be wrong