Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to calculate current stock or inventory in Excel
  • Excel Pie Chart
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • Use Data Form to input, edit and delete records in Excel
  • Reverse List in Excel

References

  • How to get address of named range in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • How to use Excel MATCH Function
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Extract data with helper column in Excel

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation allow uppercase only
  • Excel Data validation must begin with
  • Excel Data validation date in next 30 days
  • Excel Data validation require unique number

Cash denomination calculator in Excel

by

To calculate required currency denominations, given a specific amount, you can build a currency calculation table as shown in the example. This solution uses the INT and SUMPRODUCT functions.

Formula

=INT((amount-SUMPRODUCT(denoms,counts))/currentdenom)

Cash denomination calculator in Excel

Explanation

In the example show, the formula in D5 is:

=INT(($B5-SUMPRODUCT($C$4:C$4,$C5:C5))/D$4)

How this formula works

To start off, the formula in C5 is:

=INT($B5/C$4)

This formula divides the amount in column B by the denomination in C4 (100) and discards the remainder using the INT function. The formulas in column C are simpler than those in the next several columns because this is the first denomination – we don’t need to worry about previous counts.

Next in D5 we first figure out what the value of existing denomination counts with:

SUMPRODUCT($C$4:C$4,$C5:C5)

Here SUMPRODUCT is configured with two arrays, both configured carefully.

Array1 consists of denominations from row 4. This range is carefully constructed to be “expand” when copied across the table to the right. The first reference is absolute ($C$4) and the second reference is “mixed” (C$4) – the row is locked but the column will change, causing the range to expand.

Array2 consists of existing denomination counts from row 5, with the same approach as above. The range will expand as it’s copied to the right.

The result of this SUMPRODUCT operation is the total value of existing denomination counts so far in the table. This is subtracted from the original value in column B, then divided by the “current” denomination from row 4. As before, we use INT to remove any remainder.

As the formulas in column C are copied across the table, the correct counts for each denomination are calculated.

Checking the result

If you want to check your results, add a column to the end of the table with a formula like this:

=SUMPRODUCT(C$4:H$4,C5:H5)

In each row, SUMPRODUCT multiplies all counts by all denominations and returns a result that should match the original values in column B.

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel NOT Function
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • IF, AND, OR and NOT Functions Examples in Excel
  • IF with boolean logic in Excel
  • Not Equal To ‘<>‘ operator in Excel

Date Time

  • How to Calculate Age in Excel
  • How to get number of days, weeks, months or years between two dates in Excel
  • How to get same date next year or previous year in Excel
  • How to calculate project start date based on end date in Excel
  • Create date range from two dates in Excel

Grouping

  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel

General

  • How to fill cell ranges with random number from fixed set of options in Excel
  • 231 Keyboard Shortcut Keys In Excel
  • Subtotal invoices by age in Excel
  • How to set or clear a print area in Excel Worksheet
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning