Rounding off "Quagmire"!

panyagak

Active Member
Joined
Feb 24, 2017
Messages
299
Hi MrExcel

Am scratching my head on how to "further restrict for exactness" the numbers in my data analysis, for which have been using Joe4's formula as: =IF(ABS(ROUND(A1,0)-
A1)<=0.01,"KEEP","DUMP").

I need to go a step further as follows:
Lock out any number THAT IS NOT FOLLOWED BY 00 AFTER THE DECIMAL PLACE (.00.....) BEFORE ROUNDING. (All numbers are eventually rounded to 2 d.p. & filtered)

Example 1:
19.012432 = 19.01 DUMP
19.005433 = 19.01 KEEP

Example 2:
1.011234 = 1.01 DUMP
1.009343 = 1.01 KEEP.
Etc etc


The "Joe4's formula above" takes ALL as "KEEP".

Any tweak to it? OR a separate formula is needed?

Thank you.

Patrick.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Im not sure i follow. That formula applied to those examples will not produce 'KEEP' for them all.
 
Upvote 0
steve the fish

IT WILL KEEP ALL!!

Maybe you're misreading......

EXPOUNDED BELOW:

Example 1:
19.012432 rounded to 2 d.p. as 19.01= DUMP
19.005433 rounded to 2 d.p. as 19.01= KEEP

Example 2:
1.011234 rounded to 2 d.p. as 1.01= DUMP
1.009343 rounded to 2 d.p. as 1.01= KEEP.
Etc etc
 
Upvote 0
steve the fish

Why respond PAINSTAKINGLY to a SERIOUS ISSUE you dont "follow/understand "??!!!

A COMEDIAN!!

(Laughing..........!!)
 
Upvote 0
Extracting specific numbers

Hi Mrexcel experts.

Am in dire need.

I have large data sets, mostly doing analysis by columns.

To enhance more "exactness", I want to extract only those numbers that have a .00 (two zeroes) after the decimal place, as and when, they appear on column of interest:

Eg. as TRUE or FALSE: (These numbers are shortened)

2.00356565 TRUE
2.01356565 FALSE
15.0143245 FALSE
15.0043245 TRUE
7896.00767 TRUE
7896.01276 FALSE
934.013241 FALSE
934.003241 TRUE
Et cetera

Kindly help out.

Patrick
 
Upvote 0
Re: Extracting specific numbers

Or,

=MOD(A1,1)<0.01

Regards
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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
Back
Top