sandy12345
New Member
- Joined
- Mar 9, 2015
- Messages
- 5
[TABLE="width: 511"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
first row is building name, next row is dept #, next row is area of study. The dates to the right are all of the dates that a meeting is scheduled. I am trying to search a specific date and return a result that lists the bldgs, dept, area for that specific date.
Below my chart is a drop down which i would choose one of the dates. I also have a cell next to this stating how many occur on the date I chose. I have been trying to two days to figure out how to list what I show below in Box A. The closest I have come is:
=IF(ROWS(Q$14:Q15)>$S$2,"",INDEX(D$2:D$12,SMALL(IF($C$2:$C$12=$R$2,ROW($C$2:$C$12)-1),ROWS(Q$14:Q15)))), which of course is listing the logistics of my table that I am using. This returns me three rows of data from the first column of dates (DATE 1) but I am unable to figure out how to add another column of dates (DATE 2 and DATE 3) to add to the results. Any help would be immensely appreciated.
BLDG DEPT AREA DATE 1 DATE 2 DATE 3
[TABLE="width: 511"]
<tbody>[TR]
[TD]Davis[/TD]
[TD]A104[/TD]
[TD]Env studies[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Cornell[/TD]
[TD]A107[/TD]
[TD]Vet medicine[/TD]
[TD="align: right"]3/1/17[/TD]
[TD="align: right"]3/1/18[/TD]
[TD="align: right"]3/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Berkeley[/TD]
[TD]A110[/TD]
[TD]Pol Science[/TD]
[TD="align: right"]7/1/17[/TD]
[TD="align: right"]7/1/18[/TD]
[TD="align: right"]7/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Stanford[/TD]
[TD]A111[/TD]
[TD]Med Research[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]U of Colorado[/TD]
[TD]A112A[/TD]
[TD]Technology[/TD]
[TD="align: right"]10/1/16[/TD]
[TD="align: right"]10/1/17[/TD]
[TD="align: right"]10/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]U of Texas[/TD]
[TD]B137[/TD]
[TD]Env studies[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]U of Arizona[/TD]
[TD]B140[/TD]
[TD]Accounting[/TD]
[TD="align: right"]11/1/17[/TD]
[TD="align: right"]11/1/18[/TD]
[TD="align: right"]11/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Umass[/TD]
[TD]B143[/TD]
[TD]Business[/TD]
[TD="align: right"]10/1/16[/TD]
[TD="align: right"]10/1/17[/TD]
[TD="align: right"]10/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Irvine[/TD]
[TD]B144A[/TD]
[TD]Computer Science[/TD]
[TD="align: right"]3/1/17[/TD]
[TD="align: right"]3/1/18[/TD]
[TD="align: right"]3/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Santa Barbara[/TD]
[TD]B148[/TD]
[TD]Biology[/TD]
[TD="align: right"]7/1/17[/TD]
[TD="align: right"]7/1/18[/TD]
[TD="align: right"]7/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Santa Cruz[/TD]
[TD]B128[/TD]
[TD]Web design[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 251"]
<tbody>[TR]
[TD]Table B[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]date to search[/TD]
[TD="colspan: 2"]number of dates in table[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]results:[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Davis[/TD]
[TD]A104[/TD]
[TD]Env studies[/TD]
[/TR]
[TR]
[TD]Stanford[/TD]
[TD]A111[/TD]
[TD]Med Research[/TD]
[/TR]
[TR]
[TD]U of Texas[/TD]
[TD]B137[/TD]
[TD]Env studies[/TD]
[/TR]
[TR]
[TD]UC Santa Cruz[/TD]
[TD]B128[/TD]
[TD]Web design[/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
first row is building name, next row is dept #, next row is area of study. The dates to the right are all of the dates that a meeting is scheduled. I am trying to search a specific date and return a result that lists the bldgs, dept, area for that specific date.
Below my chart is a drop down which i would choose one of the dates. I also have a cell next to this stating how many occur on the date I chose. I have been trying to two days to figure out how to list what I show below in Box A. The closest I have come is:
=IF(ROWS(Q$14:Q15)>$S$2,"",INDEX(D$2:D$12,SMALL(IF($C$2:$C$12=$R$2,ROW($C$2:$C$12)-1),ROWS(Q$14:Q15)))), which of course is listing the logistics of my table that I am using. This returns me three rows of data from the first column of dates (DATE 1) but I am unable to figure out how to add another column of dates (DATE 2 and DATE 3) to add to the results. Any help would be immensely appreciated.
BLDG DEPT AREA DATE 1 DATE 2 DATE 3
[TABLE="width: 511"]
<tbody>[TR]
[TD]Davis[/TD]
[TD]A104[/TD]
[TD]Env studies[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Cornell[/TD]
[TD]A107[/TD]
[TD]Vet medicine[/TD]
[TD="align: right"]3/1/17[/TD]
[TD="align: right"]3/1/18[/TD]
[TD="align: right"]3/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Berkeley[/TD]
[TD]A110[/TD]
[TD]Pol Science[/TD]
[TD="align: right"]7/1/17[/TD]
[TD="align: right"]7/1/18[/TD]
[TD="align: right"]7/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Stanford[/TD]
[TD]A111[/TD]
[TD]Med Research[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]U of Colorado[/TD]
[TD]A112A[/TD]
[TD]Technology[/TD]
[TD="align: right"]10/1/16[/TD]
[TD="align: right"]10/1/17[/TD]
[TD="align: right"]10/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]U of Texas[/TD]
[TD]B137[/TD]
[TD]Env studies[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]U of Arizona[/TD]
[TD]B140[/TD]
[TD]Accounting[/TD]
[TD="align: right"]11/1/17[/TD]
[TD="align: right"]11/1/18[/TD]
[TD="align: right"]11/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Umass[/TD]
[TD]B143[/TD]
[TD]Business[/TD]
[TD="align: right"]10/1/16[/TD]
[TD="align: right"]10/1/17[/TD]
[TD="align: right"]10/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Irvine[/TD]
[TD]B144A[/TD]
[TD]Computer Science[/TD]
[TD="align: right"]3/1/17[/TD]
[TD="align: right"]3/1/18[/TD]
[TD="align: right"]3/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Santa Barbara[/TD]
[TD]B148[/TD]
[TD]Biology[/TD]
[TD="align: right"]7/1/17[/TD]
[TD="align: right"]7/1/18[/TD]
[TD="align: right"]7/1/19[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]UC Santa Cruz[/TD]
[TD]B128[/TD]
[TD]Web design[/TD]
[TD="align: right"]6/1/16[/TD]
[TD="align: right"]6/1/17[/TD]
[TD="align: right"]6/1/18[/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 251"]
<tbody>[TR]
[TD]Table B[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]date to search[/TD]
[TD="colspan: 2"]number of dates in table[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]
6/1/16
[/TD][TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]results:[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Davis[/TD]
[TD]A104[/TD]
[TD]Env studies[/TD]
[/TR]
[TR]
[TD]Stanford[/TD]
[TD]A111[/TD]
[TD]Med Research[/TD]
[/TR]
[TR]
[TD]U of Texas[/TD]
[TD]B137[/TD]
[TD]Env studies[/TD]
[/TR]
[TR]
[TD]UC Santa Cruz[/TD]
[TD]B128[/TD]
[TD]Web design[/TD]
[/TR]
</tbody>[/TABLE]