Ravindra BagaleCourses & study guides मराठी Track your progress

27. 20 Industry Projects

Excel

27.5 Banking: Loan Book and NPA Tracker

Example first. Amir reviews a fictional cooperative lender's loan accounts and wants the loan book and bad loans by city on one page.

Banking project — in 30 seconds

What: A Banking tracker: one Table tblLoans, the calculated column Status, KPI cells, a PivotTable by City, a chart and a one-page dashboard.

Why: This is the shape of a real Banking report: Loan Book (₹ lakh), NPA Amount (₹ lakh), NPA % are the numbers a manager reads first.

Tiny example: From 6 rows: Loan Book (₹ lakh) = 124.0, NPA Amount (₹ lakh) = 44.0, NPA % = 35.5%.

First look at the data (before → after):

Banking project: before and after tables, fictional FreshGo Maharashtra data

Expected result — Calculated column

LoanID Status
LN-701 Standard
LN-702 NPA
LN-703 Standard
LN-704 NPA
LN-705 Standard
LN-706 Standard

About this data: Teaching sample for a fictional shop “Orbit Logistics”. Figures and names (e.g. Sana Sheikh) are made up for this lesson on banking loan book and npa tracker.

Expected result — KPI cells (expected results)

KPI Formula Result
Loan Book (₹ lakh) =SUM(tblLoans[AmountLakh]) 124.0
NPA Amount (₹ lakh) =SUMIFS(tblLoans[AmountLakh],tblLoans[Status],"NPA") 44.0
NPA % =SUMIFS(tblLoans[AmountLakh],tblLoans[Status],"NPA")/SUM(tblLoans[AmountLakh]) 35.5%

About this data: Demo table only — not real customer or company data. Built to practise banking loan book and npa tracker.

Before table and formula as text

Before — Table tblLoans (fictional sample rows)

LoanID City Product AmountLakh OverdueDays
LN-701 Pune Home 42.5 0
LN-702 Pune Personal 6.0 120
LN-703 Nashik Gold 3.2 15
LN-704 Nagpur Home 38.0 95
LN-705 Kolhapur Personal 4.5 0
LN-706 Nashik Home 29.8 40

About this data: Made-up rows so you can copy the pattern for banking loan book and npa tracker. Currencies may use ₹, £, € or $.

Formula / click path

Status: =IF([@OverdueDays]>90,"NPA","Standard")
Loan Book (₹ lakh): =SUM(tblLoans[AmountLakh])
NPA Amount (₹ lakh): =SUMIFS(tblLoans[AmountLakh],tblLoans[Status],"NPA")
NPA %: =SUMIFS(tblLoans[AmountLakh],tblLoans[Status],"NPA")/SUM(tblLoans[AmountLakh])

Do it step by step:

  1. Type the data and press Ctrl+T; name the Table tblLoans in Table Design › Properties › Table Name.
  2. Add the column Status with =IF([@OverdueDays]>90,"NPA","Standard"); the Table fills it down.
  3. On a KPI sheet type =SUM(tblLoans[AmountLakh]) and the other KPI formulas from the table below.
  4. Click Insert › PivotTable › From Table/Range, put City in Rows and AmountLakh in Values (Sum).
  5. Click PivotTable Analyze › PivotChart › Clustered Column, then PivotTable Analyze › Insert Slicer › Product.
  6. Move the KPI cells, the chart and the slicer onto a sheet named Dashboard.

The brief. Build a loan-book tracker: mark each loan NPA when it is more than 90 days overdue (a practice rule for this exercise, not a regulatory definition), total book, NPA amount, NPA % by amount, book by city, a chart and a Product slicer.

Calculated column formulas:

Column Formula
Status =IF([@OverdueDays]>90,"NPA","Standard")

About this data: Fictional worksheet used in class. Safe to edit; nothing here is live production data.

KPI cells (check your numbers):

KPI Formula Result
Loan Book (₹ lakh) =SUM(tblLoans[AmountLakh]) 124.0
NPA Amount (₹ lakh) =SUMIFS(tblLoans[AmountLakh],tblLoans[Status],"NPA") 44.0
NPA % =SUMIFS(tblLoans[AmountLakh],tblLoans[Status],"NPA")/SUM(tblLoans[AmountLakh]) 35.5%

About this data: Teaching sample for a fictional shop “Orbit Logistics”. Figures and names (e.g. Sana Sheikh) are made up for this lesson on banking loan book and npa tracker.

PivotTable (expected):

City Sum of AmountLakh
Kolhapur 4.5
Nagpur 38.0
Nashik 33.0
Pune 48.5
Grand Total 124.0

About this data: Demo table only — not real customer or company data. Built to practise banking loan book and npa tracker.

Chart and dashboard (one under the other):

  1. Click inside the PivotTable, then PivotTable Analyze › PivotChart › Clustered Column › OK.
  2. Add a chart title and data labels with Chart Design › Add Chart Element.
  3. Click PivotTable Analyze › Insert Slicer, tick Product and click OK.
  4. Insert a new sheet named Dashboard. In it, link a card cell to each KPI (for example =KPI!B2) and format it large and bold.
  5. Cut and paste the chart and slicer onto the Dashboard sheet.
  6. On the View tab, untick Gridlines in the Show group. Select the dashboard area and click Page Layout › Print Area › Set Print Area.

Template and guide: download the practice template Banking_Template.xlsx and read the step-by-step template guide. The template's sample rows may differ from the rows above; the method is the same.

Related ready-made dashboard: the Banking dashboard guide and its workbook Banking_Dashboard.xlsx show a finished version of this kind of report.

Practice task (try it before you open the answer):

  1. Which city has the highest sum of AmountLakh?
  2. Filter the Table on City = Pune (Data › Filter): what is Loan Book (₹ lakh) for Pune alone?
  3. Add the Clustered Column PivotChart and the Product slicer to your Dashboard sheet.
Answer

Pune (48.5). For Pune only (2 rows): Loan Book (₹ lakh) = 48.5. The chart shows 4 bars, one per city.

Ravindra Bagale's Tip

Check Loan Book (₹ lakh) by hand for two rows before you trust the dashboard. If your hand answer and the cell differ, the formula range is usually wrong.

Loading practice tasks...

  1. Total principal (Easy): Add up Principal (₹) in D2:D11. (sheet "Data")
  2. Average interest (Easy): Average of Interest % in E2:E11, rounded to 1 decimal. (sheet "Data")
  3. NPA Yes (Easy): How many rows have NPA "Yes"? (sheet "Data")
  4. Max principal (Easy): Largest Principal (₹) in D2:D11. (sheet "Data")
  5. Pune rows (Easy): How many rows have City "Pune"? (sheet "Data")
  6. NPA principal (Medium): Total of Principal (₹) where NPA is "Yes". (sheet "Data")
  7. Mumbai principal (Medium): Total of Principal (₹) where City is "Mumbai". (sheet "Data")
  8. Principal over 600000 (Medium): How many loans have Principal (₹) > 600000? (sheet "Data")
  9. Interest of L-1002 (Medium): Interest % for Loan ID "L-1002". (sheet "Data")
  10. NPA share of book (Hard): NPA principal / all principal, 3 decimals. (sheet "Data")
  11. Healthy count (Hard): How many rows have NPA "No"? (sheet "Data")
  12. High rate? (Hard): "High" if E2 > 10.5 else "OK". (sheet "Data")