BradleyS
Active Member
- Joined
- Oct 28, 2006
- Messages
- 351
- Office Version
- 2010
- Platform
- Windows
Hi Marcelo Branco gave me some help with a formula as shhown below:
Array-Formula in G3
=LOOKUP(REPT("z",255),CHOOSE({1,2},"",INDEX($D$2:$D$13,MATCH(1,IF($A$2:$A$13=$F3,IF(ISNUMBER(SEARCH(G$2,$C$2:$C$13)),1))))))
Which works very well in this table:
Excel 2003Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
What I would like to do now is show the Dates in column B under each of the Blue, Orange and Red columns, instead of showing the DESC.
Please could someone help me change the code to make this work?
I thought it would be easy but I was very wrong!
Array-Formula in G3
=LOOKUP(REPT("z",255),CHOOSE({1,2},"",INDEX($D$2:$D$13,MATCH(1,IF($A$2:$A$13=$F3,IF(ISNUMBER(SEARCH(G$2,$C$2:$C$13)),1))))))
Which works very well in this table:
Excel Workbook | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | ID | DATE | CODE | DESC | BLUE | ORANGE | RED | ||||
2 | 1 | 13/11/2001 | C100112 | TEXT2 | ID | C10 | 2126300 | 9h4 | |||
3 | 85 | 09/01/2009 | C10..00 | TEXT1 | 1 | TEXT2 | |||||
4 | 227 | 21/07/1993 | C100112 | TEXT2 | 85 | TEXT1 | |||||
5 | 276 | 05/02/2007 | C10..00 | TEXT1 | 227 | TEXT2 | |||||
6 | 278 | 21/02/2008 | C10..00 | TEXT1 | 276 | TEXT1 | |||||
7 | 278 | 21/02/2008 | 2126300 | TEXT3 | 278 | TEXT1 | TEXT3 | ||||
8 | 283 | 18/08/2008 | 2126300 | TEXT3 | 283 | TEXT3 | |||||
9 | 288 | 26/02/1998 | C100112 | TEXT2 | 288 | TEXT2 | |||||
10 | 2049 | 18/05/2011 | 9h43.00 | TEXT5 | 2049 | TEXT6 | TEXT5 | ||||
11 | 2049 | 21/06/2011 | C10E600 | TEXT6 | 1906 | TEXT7 | TEXT4 | ||||
12 | 1906 | 10/10/2010 | 9h4..00 | TEXT4 | |||||||
13 | 1906 | 11/08/2009 | C109.12 | TEXT7 | |||||||
Sheet2 |
#VALUE!
What I would like to do now is show the Dates in column B under each of the Blue, Orange and Red columns, instead of showing the DESC.
Please could someone help me change the code to make this work?
I thought it would be easy but I was very wrong!