# Still need a way to look up a column head based on the inter

#### warhorse927

##### New Member
Paddy came close to what I needed but I couldn't tweak it enough to return what I need. I have the table below
Book1
ABCDEFG
2BSMISMISM701MISE702MISE703MISE704MISE705MISE705B
3#Students111088127
4IDS.34510/5/002/19/016/19/018/20/012/14/028/22/02
5BUS.14010/26/003/12/017/10/019/17/013/7/02#########
6MIS.3355/24/0110/1/011/29/024/8/028/15/029/19/02
7ACC.3317/5/0111/5/013/5/025/13/028/15/029/19/02
8MIS.2408/9/0112/10/014/16/026/24/028/15/029/19/02
9MIS.2429/13/011/28/025/28/027/29/021/23/031/23/03
10BUS.47610/25/013/11/027/9/029/16/021/23/031/23/03
11MIS.3501/24/026/3/029/17/0211/25/021/23/031/23/03
12MIS.3255/16/029/23/021/21/033/24/036/26/036/26/03
13MIS.4606/20/0210/28/022/25/035/5/036/26/036/26/03
14
15
16BeginDate9/1/02
17EndDate9/30/02
18
19ClassStudentsinclassCohort(s)
20IDS.3450
21BUS.1400
22MIS.3357
23ACC.3317
24MIS.2407
25MIS.2420
26BUS.4768
27MIS.3508
28MIS.32510
29MIS.4600
Sheet1

I need it to display the cohort number(s) beside the number of students. I am completely stumped on this. Help Paddy!!

### Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
the method suggested in the last post should work - send me the workbook & I'll see what I can do - check you private messages.

Comin' to ya

Replies
4
Views
390
Replies
3
Views
138
Replies
0
Views
461
Replies
9
Views
214
Replies
18
Views
371

1,219,918
Messages
6,150,969
Members
450,996
Latest member
CXsjr

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back