hsandeep
Well-known Member
- Joined
- Dec 6, 2008
- Messages
- 1,226
- Office Version
- 2010
- Platform
- Windows
- Mobile
Data Range is B2:M4 in 12 ‘continuous’ columns AND these values in a row are EITHER INCREASING OR DECREASING from B to M
Output required in 12 ‘continuous’ columns T2:AE4
4 Criteria’s are:
1. O2 is All values in T2:AE2 MUST BE LESS THAN O2
2. P2 is ‘this much’ number of cells must be considered from LEFT HAND SIDE to RIGHT
3. Q2 is ‘this much’ number of cells must be considered from RIGHT HAND SIDE to LEFT. Q2 is always > P2
4. R2 is cell ‘number’ in the Data Range B:M which MUST BE CONSIDERED (HIGHEST PRIORITY)
5. Else remaining / all cells SHOULD BE 0
How to accomplish? This is very difficult for me…..hence….
Thanks in advance
I am using Excel 2007
Sheet1
<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 6px"><col style="WIDTH: 70px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 81px"><col style="WIDTH: 6px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #ffcc00, align: center"]1[/TD]
[TD="bgcolor: #ffcc00, align: center"]2[/TD]
[TD="bgcolor: #ffcc00, align: center"]3[/TD]
[TD="bgcolor: #ffcc00, align: center"]4[/TD]
[TD="bgcolor: #ffcc00, align: center"]5[/TD]
[TD="bgcolor: #ffcc00, align: center"]6[/TD]
[TD="bgcolor: #ffcc00, align: center"]7[/TD]
[TD="bgcolor: #ffcc00, align: center"]8[/TD]
[TD="bgcolor: #ffcc00, align: center"]9[/TD]
[TD="bgcolor: #ffcc00, align: center"]10[/TD]
[TD="bgcolor: #ffcc00, align: center"]11[/TD]
[TD="bgcolor: #ffcc00, align: center"]12[/TD]
[TD="bgcolor: #ffcc00, align: center"]1[/TD]
[TD="bgcolor: #ffcc00, align: center"]2[/TD]
[TD="bgcolor: #ffcc00, align: center"]3[/TD]
[TD="bgcolor: #ffcc00, align: center"]4[/TD]
[TD="bgcolor: #ffcc00, align: center"]5[/TD]
[TD="bgcolor: #ffcc00, align: center"]6[/TD]
[TD="bgcolor: #ffcc00, align: center"]7[/TD]
[TD="bgcolor: #ffcc00, align: center"]8[/TD]
[TD="bgcolor: #ffcc00, align: center"]9[/TD]
[TD="bgcolor: #ffcc00, align: center"]10[/TD]
[TD="bgcolor: #ffcc00, align: center"]11[/TD]
[TD="bgcolor: #ffcc00, align: center"]12[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]888[/TD]
[TD="align: right"]999[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]4[/TD]
[TD="bgcolor: #ffff00, align: right"]10[/TD]
[TD="bgcolor: #ffff00, align: right"]20[/TD]
[TD="bgcolor: #ffff00, align: right"]30[/TD]
[TD="bgcolor: #ffff00, align: right"]40[/TD]
[TD="bgcolor: #ffff00, align: right"]50[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]81[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]4[/TD]
[TD="bgcolor: #ffff00, align: right"]5[/TD]
[TD="bgcolor: #ffff00, align: right"]8[/TD]
[TD="bgcolor: #ffff00, align: right"]12[/TD]
[TD="bgcolor: #ffff00, align: right"]80[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
</tbody>
Output required in 12 ‘continuous’ columns T2:AE4
4 Criteria’s are:
1. O2 is All values in T2:AE2 MUST BE LESS THAN O2
2. P2 is ‘this much’ number of cells must be considered from LEFT HAND SIDE to RIGHT
3. Q2 is ‘this much’ number of cells must be considered from RIGHT HAND SIDE to LEFT. Q2 is always > P2
4. R2 is cell ‘number’ in the Data Range B:M which MUST BE CONSIDERED (HIGHEST PRIORITY)
5. Else remaining / all cells SHOULD BE 0
How to accomplish? This is very difficult for me…..hence….
Thanks in advance
I am using Excel 2007
Sheet1
B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | |
Min Value | Min | Max | Compulsory | |||||||||||||||||||||||||||
<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 6px"><col style="WIDTH: 70px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 81px"><col style="WIDTH: 6px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #ffcc00, align: center"]1[/TD]
[TD="bgcolor: #ffcc00, align: center"]2[/TD]
[TD="bgcolor: #ffcc00, align: center"]3[/TD]
[TD="bgcolor: #ffcc00, align: center"]4[/TD]
[TD="bgcolor: #ffcc00, align: center"]5[/TD]
[TD="bgcolor: #ffcc00, align: center"]6[/TD]
[TD="bgcolor: #ffcc00, align: center"]7[/TD]
[TD="bgcolor: #ffcc00, align: center"]8[/TD]
[TD="bgcolor: #ffcc00, align: center"]9[/TD]
[TD="bgcolor: #ffcc00, align: center"]10[/TD]
[TD="bgcolor: #ffcc00, align: center"]11[/TD]
[TD="bgcolor: #ffcc00, align: center"]12[/TD]
[TD="bgcolor: #ffcc00, align: center"]1[/TD]
[TD="bgcolor: #ffcc00, align: center"]2[/TD]
[TD="bgcolor: #ffcc00, align: center"]3[/TD]
[TD="bgcolor: #ffcc00, align: center"]4[/TD]
[TD="bgcolor: #ffcc00, align: center"]5[/TD]
[TD="bgcolor: #ffcc00, align: center"]6[/TD]
[TD="bgcolor: #ffcc00, align: center"]7[/TD]
[TD="bgcolor: #ffcc00, align: center"]8[/TD]
[TD="bgcolor: #ffcc00, align: center"]9[/TD]
[TD="bgcolor: #ffcc00, align: center"]10[/TD]
[TD="bgcolor: #ffcc00, align: center"]11[/TD]
[TD="bgcolor: #ffcc00, align: center"]12[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]888[/TD]
[TD="align: right"]999[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]4[/TD]
[TD="bgcolor: #ffff00, align: right"]10[/TD]
[TD="bgcolor: #ffff00, align: right"]20[/TD]
[TD="bgcolor: #ffff00, align: right"]30[/TD]
[TD="bgcolor: #ffff00, align: right"]40[/TD]
[TD="bgcolor: #ffff00, align: right"]50[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]81[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]4[/TD]
[TD="bgcolor: #ffff00, align: right"]5[/TD]
[TD="bgcolor: #ffff00, align: right"]8[/TD]
[TD="bgcolor: #ffff00, align: right"]12[/TD]
[TD="bgcolor: #ffff00, align: right"]80[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
</tbody>