Hi Biff!
I didn't notice until I saw JE's reply. Then I thought, "That's not
like JE! And it wasn't!"
Your conundrum! Closest I can get is:
=INT(A1/100)*100+ROUND(MOD(A1,100)/16,0)*16
With those examples it appeared that you want the last two digits to
be to the nearest 16.
32267 = 32264
I get 322634 Yessss!
32238 = 32248
I get 32232 Bu**er! It is the nearest multiple of 16 of the last two
digits and I suspect your question example
32201 = 32196
I get 32200 Double bu**er! And now I really don't know what your
rounding algorithm is! After all 00 is capable of division by 0.
32208 = 32216
I get 32216
So I get 2/4 but am confused on the algorithm. So I'll need a closer
definition or a brain transplant. Take your pick. I believe there's
quite a lot of politicians who haven't used theirs for years.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
Public Holidays Saturday: Bosnia-Herzegovina (Petrovdan); Canada,
Northern Ireland, and Eire (Orangemen's Day); Kiribati (Independence
Day); Malaysia (Birthday of the Yang di-Pertua Negi Pulau Pinang);
Micronesia (Micronesian Day); Mongolia (National Day); Sao Tome &
Principe (Independence Day).
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.