Complicated Excel Calculation

mbpaul1987

New Member
Joined
Jan 15, 2014
Messages
15
Hi all,

I am wondering if I can get a little bit of help/ suggestions on how to solve my problem.

I am trying to create a form that automatically gives me a set of ranges based on a series of calculated data.

In my table I have a section that I use to enter the data (#, PQR, Pass, Size, Amps, Volts, Arc speed, Heat Input) this data gets entered from many potential sources. Next to that I have a calculated section where it calculates the values from Amps, Volts, Arc Speed, Heat Input to turn them into a range of +/- 20%.

What I need is for each calculated range I need the highest and lowest value based on Pass type, and Size. Here is where is gets tricky, each value from each range must fall within the other or the entire row must be eliminated from the entire calculation. An example of this is:
1125158
2156325
3185356
4195365
5366485

<tbody>
</tbody>

In this example 125 is the lowest value and it's max is 158, the next lowest value is 156 and its max is 325. Because 156 falls below 158 we can use that value and 325 becomes our new max. and you can carry through until row 5. after row 4 our low is still 125 but our max is 365. Because row 5's low falls outside the 365 max, the entire row must be eliminated from the calculation and all future calculations. This is repeated for all ranges in Amps, Volts, Arc speed, and Heat input and if one calculation falls outside the range for one the row must be eliminated from the calculations for the rest. The other thing that makes this even more complex is that the passes are often numbered 1a,1b, 2a, 2b, and I often have multiple PQR numbers. What needs to happen is if 3b from PQR 2 is eliminated then 3a from PQR 2 also need to be eliminated.

Finally what I would like it to do is either highlight the high and low range for each pass and size within each pass or better yet have it entered into a table at the bottom that gives me the ranges based on pass and size.

I will try to copy and past a version of what I have including the results I have in the bottom table. (I had to enter those values manually because I couldn't figure out the formulas needed to calculate it the way I want.)

I don't know if what I'm asking is even possible. but I thought I'd throw it out there to see if anyone has some ideas or possible fixes.

Thanks


Enter DataAmps RangeVolts RangeSpeed RangeHeat input Range
#PQRPass TypePassSizeAmpsVoltsArc SpeedHeat inputLowHighLow2High3Low4High5Low6High7
1206Root1a4160293830.73128.0192.023.234.8306.4459.60.580.88
2206Root1b4165302990.99132.0198.024.036.0239.2358.80.791.19
3206Hot Pass2a5200283960.85160.0240.022.433.6316.8475.20.681.02
4206Hot Pass2b5200313860.96160.0240.024.837.2308.8463.20.771.15
5206Fill3a5175282501.18140.0210.022.433.6200.0300.00.941.42
6206Fill3b5215322491.66172.0258.025.638.4199.2298.81.331.99
7206Fill4a5185282511.24148.0222.022.433.6200.8301.20.991.49
8206Fill4b517031.52071.55136.0204.025.237.8165.6248.41.241.86
9206FillStripa5185287620.41148.0222.022.433.6609.6914.40.330.49
10206Cap5a5130281591.38104.0156.022.433.6127.2190.81.101.66
11206Cap5b5135291181.99108.0162.023.234.894.4141.61.592.39
122081Root1a3.2110263960.4388.0132.020.831.2316.8475.20.340.52
132081Root1b3.213529.52380.73108.0162.023.635.4190.4285.60.580.88
142081Hot Pass2a4175265040.54140.0210.020.831.2403.2604.80.430.65
152081Hot Pass2b4170264450.6136.0204.020.831.2356.0534.00.480.72
162081Fill3a5230295630.71184.0276.023.234.8450.4675.60.570.85
172081Fill3b5224325220.82179.2268.825.638.4417.6626.40.660.98
182081Fill4a5185283380.92148.0222.022.433.6270.4405.60.741.10
192081Fill4b5200293211.08160.0240.023.234.8256.8385.20.861.30
202081Cap5a5150282041.2312018022.433.6163.2244.80.981.48
212081Cap5b514827.51801.36118.4177.622331442161.091.63
222082Root1a3.2130305520.421041562436441.6662.40.340.50
232082Root1b3.2140304950.5111216824363965940.410.61
242082Hot Pass2a4250325470.8820030025.638.4437.6656.40.701.06
252082Hot Pass2b4249325750.83199.2298.825.638.44606900.661.00
262082Fill3a5230304870.851842762436389.6584.40.681.02
272082Fill3b5229325040.87183.2274.825.638.4403.2604.80.701.04
282082Fill4a5190273940.7815222821.632.4315.2472.80.620.94
292082Fill4b5190303760.971522282436300.8451.20.781.16
302082Cap5a5160272391.0812819221.632.4191.2286.80.861.30
312082Cap5b5147302031.3117.6176.42436162.4243.61.041.56

<tbody>
</tbody>

Table I need at the end


PassSizeAmps AllowedVolts AllowedSpeed AllowedHI Allowed
Root3.28816821361916620.340.9
Root412819223362394590.581.19
HP413630021383566900.431.05
HP516024022.4373094750.681.15
Fill513627622381656750.571.99
Cap51041922236952870.862.39

<tbody>
</tbody>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,215,461
Messages
6,124,952
Members
449,198
Latest member
MhammadishaqKhan

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