cargopilot
New Member
- Joined
- Jan 3, 2018
- Messages
- 4
For example:
12.75
22.50
56.10
Can I have two separate cells with one showing me the paper bills I have collected along with the actual amount of coins?
Bills 90.00
Coins 1.35
Thanks!
If you are making that assumption (right or wrong), you can get the number you show by entering the following Array formula for the Sum of the Bills:
{=SUM(INT(A1:A3))}
Note that the squiggly brackets aren't really there, it just implies that you enter the formula by pressing CTRL-SHIFT-ENTER simultaneously instead of just ENTER.
Then, to get the Coins, just take the total sum and subtract the value above. So if the formula above was in cell A4, it would look like:
=SUM(A1:A3)-A4
You are welcome.Thanks!!!!
This worked! Took me a minute to figure out the CTRL SHIFT ENTER thing. Yes, you are correct, I have to assume they are always bills and 99.9% of the time they are. I get the occasional Susan B. Anthony dollar coin though.
Its not just the Susan B. Anthony dollar though. Like if you received $1.00, how do you know it was a one dollar bill, and not four quarters?
Since it is unknown, and there are tons of combinations (i.e. $5 could be 5 $1 bills, or 4 $1 bills and 4 quarters, or 3 $1 bills and 8 quarters, etc), unless you were tracking the bills explicitly, you really cannot do much with a formula (since a formula cannot define the unknown!).Guess there wouldn't really be any way to delineate that in a formula.