I have 50 itens spread throughout 400 days, so I want to create a new spreadsheet to see these itens spread in time. The desired result whould contain an "x" at each cell confirming its presence and "empty" when result don't match.
For exemple:
Original information (2 columns, 7.000 lines):
..Date..........|..Item
01.jan.2016.....|.AAA
01.jan.2016.....|.BBB
01.jan.2016.....|.ZZZ
15.feb.2016.....|.AAA
16.feb.2016.....|.ZZZ
Desired spreadsheet (50 lines, 400 columns):
Item...|.01.jan.2016.....|.Date2....|.Date3....|.Date4...
AAA:...|.X...............|.X........|..........|.............
BBB:...|.X...............|..........|..........|.............
CCC:...|.................|..........|..........|.............
ZZZ:...|.X...............|..........|.X........|.............
Use this formula:
=IF($A$2=INDEX($L$2:$L$17,MATCH(B$1,$K$2:$K$17,0),0),"X","")
where $A$2
is the item cell and B$1
is the date cell.
Please check the attached image: