# Different ways to get change in \$\$

#### carddard

##### Active Member
Hi guys, here is the question that needs to be answered without the help of VBA:

Michelle went to the store with a \$5 bill. She spent \$2.70. The currency denominations are restricted to the following: Notes \$2 and \$1, and coins 50 cents, 20 cents and 10 cents.

(a) List the possible ways she could get her change. How many ways are there?

(b) List the ways that use the least number of coins.

(c) List the ways that use the least number of both notes and coins

### Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

#### JLGWhiz

##### Well-known Member
Hi guys, here is the question that needs to be answered without the help of VBA:

Michelle went to the store with a \$5 bill. She spent \$2.70. The currency denominations are restricted to the following: Notes \$2 and \$1, and coins 50 cents, 20 cents and 10 cents.

(a) List the possible ways she could get her change. How many ways are there?

(b) List the ways that use the least number of coins.

(c) List the ways that use the least number of both notes and coins

I didn't know they made a 20 cent piece!

#### carddard

##### Active Member
Yep

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,376
Messages
5,836,896
Members
430,461
Latest member
flavgf

### 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.

### Which adblocker are you using?

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

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