Warship
Well-known Member
- Joined
- Jul 17, 2007
- Messages
- 1,055
- Office Version
- 2016
- 2013
- 2007
- Platform
- Windows
Data layout:
<b>Excel 2007</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th><th>J</th><th>K</th><th>L</th><th>M</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Item</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">A</td><td style=";">i751</td><td style=";">1</td><td style=";">lb</td><td style=";">i759</td><td style=";">3</td><td style=";">lb</td><td style=";">i756</td><td style=";">2</td><td style=";">lb</td><td style=";">i758</td><td style=";">1.5</td><td style=";">lb</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br />
I need to determine the minimum size to meet a need and return the Col# of the SizeID Col.
For Example:
If need is 3 or more lbs then Col 5 (i759)
need is 1.25 lbs then Col 11 (i758)
need is .5 lbs then Col 2 (i751)
need is 1.75 lbs then Col 8 (i756)
need is 2 lbs then Col 8 (i756)
Sorting Sizes at data entry would help but I'm trying to avoid if possible.
<b>Excel 2007</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th><th>J</th><th>K</th><th>L</th><th>M</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Item</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td><td style=";">SizeID</td><td style=";">Size</td><td style=";">Unit</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">A</td><td style=";">i751</td><td style=";">1</td><td style=";">lb</td><td style=";">i759</td><td style=";">3</td><td style=";">lb</td><td style=";">i756</td><td style=";">2</td><td style=";">lb</td><td style=";">i758</td><td style=";">1.5</td><td style=";">lb</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br />
I need to determine the minimum size to meet a need and return the Col# of the SizeID Col.
For Example:
If need is 3 or more lbs then Col 5 (i759)
need is 1.25 lbs then Col 11 (i758)
need is .5 lbs then Col 2 (i751)
need is 1.75 lbs then Col 8 (i756)
need is 2 lbs then Col 8 (i756)
Sorting Sizes at data entry would help but I'm trying to avoid if possible.