Mark "1", Range of ±0.00001 & custom ±0.0000x value

ibmy

Board Regular
Joined
Mar 4, 2020
Messages
134
Office Version
  1. 2016
Platform
  1. Windows
Hi,

decimal 6.21.xlsb
ABCDE
1± 0.00001explaination : ± Custom (in this case ± 0.00005)explaination :
21.22122Valid Numbers : 1.22121 , 1.22122 , 1.22123Valid Numbers : 1.22117 , 1.22118 , 1.22119 , 1.22120 , 1.22121 , 1.22122 , 1.22123 , 1.22124 , 1.22125 , 1.22126 , 1.22127
31.22127RESET. New Valid Numbers : 1.22126 , 1.22127, 1.221281
41.2212711
51.2212611
61.2212711
71.221281Reset . New Valid Numbers : 1.22123 , 1.22124 , 1.22125 , 1.22126 , 1.22127 , 1.22128 , 1.22129 , 1.22130 , 1.22131 , 1.22132 , 1.22133
81.2212611
91.22130RESET. New Valid Numbers : 1.22129 , 1.22130, 1.221311
101.2212911
111.22115RESET. New Valid Numbers : 1.22114 , 1.22115, 1.22116Reset . New Valid Numbers : 1.22110 , 1.22111 , 1.22112 , 1.22113 , 1.221214 , 1.22115 , 1.22116 , 1.22117 , 1.22118 , 1.22119 , 1.22120
121.2211611
131.2211611
141.22126RESET. New Valid Numbers : 1.22125 , 1.22126, 1.22127Reset . New Valid Numbers : 1.22121 , 1.22122 , 1.22123 , 1.22124 , 1.22125 , 1.22126 , 1.22127 , 1.22128 , 1.22129 , 1.22130 , 1.22131
151.2212511
161.2212711
171.2212611
181.22121RESET. New Valid Numbers : 1.22120 , 1.22121, 1.221221
191.22131RESET. New Valid Numbers : 1.22130 , 1.22131, 1.221321
(2) ~ (4)

Expected results are in Column B & Column D.
Column C & Column E just explaination of how results in Column B & Column D are produced.

Column D is where custom ±0.0000x value I wanted test. I hope the formula/code provided able to change value ±0.0000x.

Sample of 250-300k row data.

Thanks reading my thread.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi, see the linked file (with 6 auxiliary columns) for a possible solution...

The formulas used in the table:
B2: =IF(A2="","",IF(G2=1,"",1))
D2: =IF(A2="","",IF(I2=1,"",1))
F2: =IF(A2="","",IF(K2=1,"",1))
G2: =IF(A2="","",1)
G3: =IF(A3="","",IF(AND(A3>=H2-0,00001,A3<=H2+0,00001),0,1))
H2: =IF(A2="","",IF(G2=1,A2,H1))
I2: =IF(A2="","",1)
I3: =IF(A3="","",IF(AND(A3>=J2-0,00005,A3<=J2+0,00005),0,1))
J2: =IF(A2="","",IF(I2=1,A2,J1))
K2: =IF(A2="","",1)
K3: =IF(A3="","",IF(AND(A3>=L2-A$1,A3<=L2+A$1),0,1))
L2: =IF(A2="","",IF(K2=1,A2,L1))

621.xlsx
 
Upvote 0
Solution

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

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