Your equation needed a slight modification. As it is, it is OK for decimals,
but not OK for big numbers. I made this modification and it works for both
magnitudes.
=ROUND(C4,(3-1)-INT(LOG(C4)))
The trick is to subtract 1 from the number of digits you want.
Thanks everybody
Raj
"MrShorty" wrote:
Whoops: That function should ROUND(A1,2-INT(LOG(A1)))
--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=481908