Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Rounddown function

$
0
0

When using Rounddown with a calculation in the Number parameter that evaluates to 1 exactly and the num_digits set to 0 the result produced is not 1 as expected but 0. I tried Rounddown(1,0) and that delivers 1. I also tried a simple calculation that evaluated to 1 and it delivered 1.

The formula I used that failed was:- ROUNDDOWN((C20-(D20*D$4)-(E20*E$4)-(F20*F$4)-(G20*G$4)-(H20*H$4)-(I20*I$4))/J$4,0)

The value in C20 = 159.70, D20=7, E20=1, F20=1, G20=2, H20=0, I20=1,

D4=2000, E4=1000, F4=500, G4=200, H4=100, I4-50, J4=20.

The purpose of the spreadsheet using these formulae is to calculate the optimum notes and coins to make up a given value.

Any ideas why this particular formula with these values won't work


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>