Lowest decimal place value from a range of data

Juggler_IN

Active Member
Joined
Nov 19, 2014
Messages
331
Office Version
  1. 2003 or older
Platform
  1. Windows
I have this array formula which calculates the highest decimal place in a range.
Code:
{=MAX(LEN(SUBSTITUTE($A$1:$A$9,TRUNC($A$1:$A$9)&"","",1))-1)}

How can this be modified to return the lowest decimal place in a range?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
58,605
Office Version
  1. 365
Platform
  1. Windows
I have this array formula which calculates the highest decimal place in a range.
Code:
{=MAX(LEN(SUBSTITUTE($A$1:$A$9,TRUNC($A$1:$A$9)&"","",1))-1)}

How can this be modified to return the lowest decimal place in a range?
Assuming all the cells do contain decimal places, you could also try
Code:
{=MAX(LEN(A1:A9)-FIND(".",A1:A9))}
.. and with MIN
 
Upvote 0

Juggler_IN

Active Member
Joined
Nov 19, 2014
Messages
331
Office Version
  1. 2003 or older
Platform
  1. Windows
@Fluff,

Change MAX to MIN doesn't work. I tried that.
 
Upvote 0

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
81,716
Office Version
  1. 365
Platform
  1. Windows
How about
=MAX(LEN(SUBSTITUTE(SUBSTITUTE($A$1:$A$9,TRUNC($A$1:$A$9)&"","",1),".","")))
& the same for Min
 
Upvote 0

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
58,605
Office Version
  1. 365
Platform
  1. Windows
Try these

Excel Workbook
ABC
12.365
23.330
35.6325
42.35698
56.65984
610
70.3265
80.33
90.3265
Decimal
 
Upvote 0

Forum statistics

Threads
1,187,001
Messages
5,961,055
Members
438,516
Latest member
Fintrics

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top