Akashwani
Well-known Member
- Joined
- Mar 14, 2009
- Messages
- 2,911
Hi,
I'm trying to help Sabi here.....
http://www.mrexcel.com/forum/showthread.php?t=544826
and I'm totally baffled as to how to resolve this. I've tried Index, Match, Row, Column, Countif and other combinations all to no conclusion, HELP
The lookup table is something like this....
The data when returned should be something like this.....
As you can see the formula in B2 when copied across and down will only put in an X for the first instance of the name. How can I expand/alter this part of the formula....
=IF(AND(B$1>=Data!$B2,B$1<=Data!$C2),"X","")
Any suggestions?
Thanks
Ak
I'm trying to help Sabi here.....
http://www.mrexcel.com/forum/showthread.php?t=544826
and I'm totally baffled as to how to resolve this. I've tried Index, Match, Row, Column, Countif and other combinations all to no conclusion, HELP
The lookup table is something like this....
Excel Workbook | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Name | Start Date | End Date | ||
2 | Ak | 14/04/2011 | 15/04/2011 | ||
3 | Sabi | 15/04/2011 | 17/04/2011 | ||
4 | MrExcel | 16/04/2011 | 18/04/2011 | ||
5 | Ak | 19/04/2011 | 20/04/2011 | ||
6 | Sabi | 21/04/2011 | 24/04/2011 | ||
7 | MrExcel | 23/04/2011 | 27/04/2011 | ||
Data |
The data when returned should be something like this.....
Excel Workbook | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
1 | * | 14-Apr | 15-Apr | 16-Apr | 17-Apr | 18-Apr | 19-Apr | 20-Apr | 21-Apr | 22-Apr | 23-Apr | 24-Apr | 25-Apr | 26-Apr | 27-Apr | ||
2 | Ak | X | X | * | * | * | X | X | * | * | * | * | * | * | * | ||
3 | Sabi | * | X | X | X | * | * | * | X | X | X | X | * | * | * | ||
4 | MrExcel | * | * | X | X | X | * | * | * | * | X | X | X | X | X | ||
Planner |
As you can see the formula in B2 when copied across and down will only put in an X for the first instance of the name. How can I expand/alter this part of the formula....
=IF(AND(B$1>=Data!$B2,B$1<=Data!$C2),"X","")
Any suggestions?
Thanks
Ak