How to adjust values in columns after removing the rows?

tarunr9

New Member
Joined
Aug 13, 2021
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi
I want to remove the row where column C and column D both are #N/A( highlighted rows) and the column B should be adjusted accordingly like all the Adapter values in column B add upto 100%( approximately- varries between 99-100) , but if we remove the lines , the adjustment to all the remaining adapter values should be made such that all the adapter values still add upto 100%.
This can be done in 2 or 3 steps. Does not have to be one single code.
Thank you everyone in Advance.




spam.xlsx
ABCD
1Adapter - Binding/Sticking 0.047%#N/A42.55865
2Adapter - Induced Failure 0.047%#N/A42.55865
3Adapter - Spring Failure 0.047%#N/A42.55865
4Adapter - Defective 0.155%#N/A2.759178
5Adapter - Malfunctioned 0.077%#N/A2.759178
6Adapter - Compressor Failure 0.543%#N/A7.318915
7Adapter - Electrical Failure 0.660%#N/A2160.103
8Adapter - Alignment Improper 0.036%#N/A2160.103
9Adapter - Scored 0.029%#N/A2160.103
10Adapter - Faulty Card 0.017%#N/A2160.103
11Adapter - Improper Response To Electrical Input 0.017%#N/A2160.103
12Adapter - Contact Failure 0.005%#N/A2160.103
13Adapter - Open 0.005%#N/A2160.103
14Adapter - Over Temperature 0.005%#N/A2160.103
15Adapter - Erratic Operation 1.087%#N/A#N/A
16Adapter - Burned 1.087%#N/A3.251715
17Adapter - Fuse Blown 0.121%#N/A4.68129
18Adapter - Motor Failure 0.121%#N/A4.68129
19Adapter - Grounded Element 1.087%#N/A2.685849
20Adapter - Cross Threaded 1.087%#N/A3.862933
21Adapter - Audio Faulty 0.073%#N/A5.56931
22Adapter - Clogged 0.543%#N/A3.939589
23Adapter - No Defect Found 0.049%#N/A#N/A
24Adapter - Improper Operation 0.182%#N/A8.798532
25Adapter - Failed To Reset 0.272%#N/A#N/A
26Adapter - Snapped 0.272%#N/A12.14699
27Adapter - Metal Shavings 0.217%#N/A8.212941
28Adapter - Seized 0.217%#N/A8.212941
29Adapter - Ripped 0.182%#N/A5.93283
30Adapter - Intermittent 0.084%#N/A12.41073
31Adapter - Short 0.543%#N/A20.4219
32Adapter - Leakage 8.700%0297.6423
33Adapter - Seal Failure 0.443%018.0848
34Adapter - Broken 12.371%098.1085
35Adapter - Overheated 1.193%010.45898
36Adapter - Cracked 6.875%029.54297
37Adapter - Defective Component 0.409%07.844235
38Adapter - Deteriorated Protective Coatings 1.134%01087.896
39Adapter - Mechanical Failure 0.805%06.601005
40Adapter - Stripped 1.134%097.45548
41Adapter - Worn 11.475%019.34265
42Adapter - Loose 7.249%0151.432
43Adapter - Bent 1.341%020.05558
44Adapter - Missing 5.820%011.95107
45Adapter - Corrosion 4.692%013.46135
46Adapter - Improper Output 3.903%031.59637
47Adapter - Failed To Operate 4.104%016.62671
48Adapter - Inoperative 1.351%017.23569
49Adapter - Deteriorated 0.725%088.62579
50Adapter - Degraded Operation 0.314%07.616585
51Adapter - Rattle 1.196%08.223965
52Adapter - Failed Calibration 0.078%02.890912
53Adapter - Out of Specification 2.457%0543.5489
54Adapter - Oil Leakage 0.725%02.391552
55Adapter - Fails During Operation 0.954%0543.5489
56Adapter - Vibration 1.630%027.25013
57Adapter - Unknown 0.246%01086.023
58Adapter - Back Lash 0.290%030.65126
59Adapter - Binding 0.290%02.753284
60Adapter - Blown 0.347%01.075231
61Adapter - Chaffed 0.567%05.198027
62Adapter - Contaminated 0.652%01101.331
63Adapter Assembly - Broken 0.350%#N/A#N/A
64Adapter Assembly - Binding/Sticking 0.022%#N/A#N/A
65Adapter Assembly - Deteriorated Protective Coatings 0.022%#N/A#N/A
66Adapter Assembly - Alignment Improper 0.008%#N/A#N/A
67Adapter Assembly - Improper Response To Electrical Inpu 0.005%#N/A#N/A
68Adapter Assembly - Out of Adjustment 0.005%#N/A#N/A
69Adapter Assembly - Cut 0.002%#N/A#N/A
70Adapter Assembly - Missing 0.002%#N/A#N/A
71Adapter Assembly - Out of Specification 0.002%#N/A#N/A
72Adapter Assembly - Jammed 1.087%#N/A3.49771
73Adapter Assembly - Cracked 0.757%015.68847
74Adapter Assembly - Worn 0.573%015.68847
75Adapter Assembly - Loose 2.600%015.68847
76Adapter Connection - Broken 1.087%#N/A3.234771
77Adapter Pack - Corrosion 0.362%#N/A4.847099
78Adapter Pack - Deteriorated 0.362%#N/A4.847099
79Adapter Pack - Jammed 0.362%#N/A4.847099
80Adaptive Gain Module - Inoperative 61.100%#N/A10.57001
81Adaptive Gain Module - Degraded Operation 16.700%#N/A10.57001
82Adaptive Gain Module - Failed To Operate 11.100%#N/A10.57001
83Adaptive Gain Module - Damaged 5.600%#N/A10.57001
84Adaptive Gain Module - Defective 5.600%#N/A10.57001
85Adjuster - Corrosion 25.000%#N/A10.82645
86Adjuster - Failed To Operate 15.375%#N/A2.139137
87Adjuster - Inoperative 7.700%#N/A2.139137
88Adjuster - Unable To Adjust To Limits 1.925%#N/A2.139137
89Adjuster - Cracked 25.000%#N/A10.82645
90Adjuster Assembly - Corrosion 12.500%#N/A#N/A
91Adjuster Assembly - Cracked 12.500%#N/A#N/A
92Adjusting Yoke - Corrosion 58.300%#N/A247.6667
93Adjusting Yoke - Warped 16.700%#N/A247.6667
94Adjusting Yoke - Contaminated 8.300%#N/A247.6667
95Adjusting Yoke - Cracked 8.300%#N/A247.6667
96Adjusting Yoke - Missing 8.300%#N/A247.6667
97Adjustment Assembly - Broken 28.600%#N/A122.1796
98Adjustment Assembly - Chaffed 28.600%#N/A122.1796
99Adjustment Assembly - Damaged 14.300%#N/A122.1796
100Adjustment Assembly - Malfunctioned 14.300%#N/A122.1796
101Adjustment Assembly - Unable To Adjust To Limits 14.300%#N/A122.1796
102Agitator - Degraded Operation 200.000%#N/A121.6503
103Agitator - Degraded Operation 200.000%#N/A121.6503
104Aileron - Loose 16.650%#N/A#N/A
105Aileron - Cracked 10.200%#N/A#N/A
106Aileron - Worn 6.500%#N/A#N/A
107Aileron - Broken 3.700%#N/A#N/A
108Aileron - Delamination 3.700%#N/A#N/A
109Aileron - Bent 2.800%#N/A#N/A
110Aileron - Water Damage 2.800%#N/A#N/A
111Aileron - Deteriorated Protective Coatings 0.950%#N/A#N/A
112Aileron - Overheated 0.950%#N/A#N/A
113Aileron - Scored 0.950%#N/A#N/A
114Aileron - Voids 0.950%#N/A#N/A
115Aileron Assembly - Worn 21.750%#N/A2.063998
116Aileron Assembly - Scored 10.850%#N/A2.063998
117Aileron Assembly - Bent 6.500%#N/A2.063998
118Aileron Assembly - Cracked 6.500%#N/A2.063998
119Aileron Assembly - Broken 4.350%#N/A2.063998
120Aiming Post - Induced Failure 50.000%#N/A#N/A
121Aiming Post - Mechanical Failure 18.200%#N/A#N/A
122Aiming Post - Worn 9.100%#N/A#N/A
123Aiming Post - Workmanship 18.200%#N/A#N/A
124Aiming Post - Unknown 4.500%#N/A#N/A
Sheet1
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
A. What about the values more than 100%?
1. Delete Them ( Row)
2. Decrease them to 100%
3. Minus their value by 100% e.g. if Value is 165% Decrease it to 65%

B. I see when Column D is #N/A then Column C is #N/A Always. Is this correct for all of your data?

C. please show result that you want also
 
Last edited:
Upvote 0
A. What about the values more than 100%?
1. Delete Them ( Row)
2. Decrease them to 100%
3. Minus their value by 100% e.g. if Value is 165% Decrease it to 65%

B. I see when Column D is #N/A then Column C is #N/A Always. Is this correct for all of your data?
Thank you for the reply but data sheet contains more than 20000 rows. Is there any formula I could use?
No , not everywhere, in someplaces, column C has values where Column D is #N/A.
 
Upvote 0
1. First add One Header row for your Data. Select first row & Insert. then Give Title to Columns.
2. Select All data with CTRL+A
3. At the Home Tab, Select Sort and Filter Dropdown Menu, Then Select Filter
4. Click on Arrow apears at first row at column C
5. at the menu apears at the bottom section, first unmark select all, then Only Select #N/A Option.
6. Repeat Step 5 for Column D
7. Hold ALT key and Press ; Key
8. At the Home Tab, Select arrow below Delete then Select Delete Sheet Row.

at the second Step also you can filter data based column B ( same 4 step at the above but column B), Then for step 5 , Go to Number filter and select Greater than option for filter data greater than 100% and then Edit them
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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