coined.in Menu

Denomination formula for Excel and Google Sheets

Amounts down column A, notes across row 1, one formula filled across.

What goes where?

  • Row 1: Amount in A1; 500, 200, 100, 50, 20, 10, 5, 2, 1 in B1 to J1.
  • Column A: the amounts, from A2 down.
  • B2: =INT($A2/B$1)
  • C2: =INT(($A2-SUMPRODUCT($B$1:B$1,$B2:B2))/C$1), filled right to J2, then down.
  • Check: =SUMPRODUCT($B$1:$J$1,B2:J2) equals A2.

What does it give?

Amount₹500₹200₹100₹50₹20₹10₹5₹2₹1Pieces
₹47,8509511198
₹2,99952121213
₹6401124

Worked by our code, with the formula's rule.

Why does it work?

  • INT keeps whole notes; SUMPRODUCT adds what the columns to its left pay.
  • Largest first gives the fewest pieces for Indian notes; our code checks ₹1 to ₹5,000.
  • No spreadsheet? Use the breakdown.