hsandeep
Well-known Member
- Joined
- Dec 6, 2008
- Messages
- 1,226
- Office Version
- 2010
- Platform
- Windows
- Mobile
My input range is E6:J7. E7:J7 which generates numerical values EXCEPT 0 or “” (null). ALSO they are contiguous columns. E6:J6 contains headers
IF B3=1, M7:R7 should get values from E7:J7 in INCREASING order. ALSO M6:R6 headers should be ‘corresponding’.
IF B3=2, M7:R7 should get values from E7:J7 in DECREASING order. ALSO M6:R6 headers should be ‘corresponding’.
How to achieve this?
Thanks in advance.
IF B3=1, M7:R7 should get values from E7:J7 in INCREASING order. ALSO M6:R6 headers should be ‘corresponding’.
IF B3=2, M7:R7 should get values from E7:J7 in DECREASING order. ALSO M6:R6 headers should be ‘corresponding’.
How to achieve this?
Thanks in advance.
Book2.xlsx | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
3 | 1 | ||||||||||||||||||
4 | |||||||||||||||||||
5 | |||||||||||||||||||
6 | AA | CC | BB | DD | EEE | ABC | ABC | BB | EEE | AA | CC | DD | |||||||
7 | 44 | 55 | 11 | 77 | 20 | 2 | 2 | 11 | 20 | 44 | 55 | 77 | |||||||
8 | DD | CC | AA | EEE | BB | ABC | |||||||||||||
9 | 77 | 55 | 44 | 20 | 11 | 2 | |||||||||||||
Sheet1 |