North for Short
Board Regular
- Joined
- Nov 17, 2010
- Messages
- 61
I have a Spreadsheet which I have linked to other sheets effectively, (thanks to this board). I now want to go one step further and be able to write in a name in a column and within the same column, return a number (in this case a duty no.) I have tried Vlookup, if and match and so far, I have drawn a blank on obtaining the correct information. Is there anyway that this can be done? I have pasted a small extract with ficticious names. What I want is to know what route Jack Sparrow is doing on tuesday. I will leave it with you guys. If this has been done before, can someone point me in the right direction?
[TABLE="width: 793"]
<colgroup><col><col><col><col span="6"></colgroup><tbody>[TR]
[TD]duty[/TD]
[TD]Duty Holder[/TD]
[TD]Payroll[/TD]
[TD]MONDAY[/TD]
[TD]TUESDAY[/TD]
[TD]WEDNESDAY[/TD]
[TD]THURSDAY[/TD]
[TD]FRIDAY[/TD]
[TD]SATURDAY[/TD]
[/TR]
[TR]
[TD]route 1[/TD]
[TD]Casey Jones[/TD]
[TD]1001[/TD]
[TD]Jack Sparrow[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[/TR]
[TR]
[TD]route 2[/TD]
[TD]Robin Hood[/TD]
[TD]1002[/TD]
[TD]Robin Hood[/TD]
[TD]Jack Sparrow[/TD]
[TD]Robin Hood[/TD]
[TD]Robin Hood[/TD]
[TD]Robin Hood[/TD]
[TD]Robin Hood[/TD]
[/TR]
[TR]
[TD]route 3[/TD]
[TD]Benny Hill[/TD]
[TD]1003[/TD]
[TD]Benny Hill[/TD]
[TD]Benny Hill[/TD]
[TD]Jack Sparrow[/TD]
[TD]Benny Hill[/TD]
[TD]Benny Hill[/TD]
[TD]Benny Hill[/TD]
[/TR]
[TR]
[TD]route 4[/TD]
[TD]Mary Shelley[/TD]
[TD]1004[/TD]
[TD]Mary Shelley[/TD]
[TD]Mary Shelley[/TD]
[TD]Mary Shelley[/TD]
[TD]Mary Shelley[/TD]
[TD]Jack Sparrow[/TD]
[TD]Mary Shelley[/TD]
[/TR]
[TR]
[TD]route 5[/TD]
[TD]Henry Morgan[/TD]
[TD]1005[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Jack Sparrow[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Reserve[/TD]
[TD]Payroll[/TD]
[TD]MONDAY[/TD]
[TD]TUESDAY[/TD]
[TD]WEDNESDAY[/TD]
[TD]THURSDAY[/TD]
[TD]FRIDAY[/TD]
[TD]SATURDAY[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Jack Sparrow[/TD]
[TD]1006[/TD]
[TD]route 1[/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD]day off[/TD]
[TD]?[/TD]
[TD]?
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 793"]
<colgroup><col><col><col><col span="6"></colgroup><tbody>[TR]
[TD]duty[/TD]
[TD]Duty Holder[/TD]
[TD]Payroll[/TD]
[TD]MONDAY[/TD]
[TD]TUESDAY[/TD]
[TD]WEDNESDAY[/TD]
[TD]THURSDAY[/TD]
[TD]FRIDAY[/TD]
[TD]SATURDAY[/TD]
[/TR]
[TR]
[TD]route 1[/TD]
[TD]Casey Jones[/TD]
[TD]1001[/TD]
[TD]Jack Sparrow[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[TD]Casey Jones[/TD]
[/TR]
[TR]
[TD]route 2[/TD]
[TD]Robin Hood[/TD]
[TD]1002[/TD]
[TD]Robin Hood[/TD]
[TD]Jack Sparrow[/TD]
[TD]Robin Hood[/TD]
[TD]Robin Hood[/TD]
[TD]Robin Hood[/TD]
[TD]Robin Hood[/TD]
[/TR]
[TR]
[TD]route 3[/TD]
[TD]Benny Hill[/TD]
[TD]1003[/TD]
[TD]Benny Hill[/TD]
[TD]Benny Hill[/TD]
[TD]Jack Sparrow[/TD]
[TD]Benny Hill[/TD]
[TD]Benny Hill[/TD]
[TD]Benny Hill[/TD]
[/TR]
[TR]
[TD]route 4[/TD]
[TD]Mary Shelley[/TD]
[TD]1004[/TD]
[TD]Mary Shelley[/TD]
[TD]Mary Shelley[/TD]
[TD]Mary Shelley[/TD]
[TD]Mary Shelley[/TD]
[TD]Jack Sparrow[/TD]
[TD]Mary Shelley[/TD]
[/TR]
[TR]
[TD]route 5[/TD]
[TD]Henry Morgan[/TD]
[TD]1005[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Henry Morgan[/TD]
[TD]Jack Sparrow[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Reserve[/TD]
[TD]Payroll[/TD]
[TD]MONDAY[/TD]
[TD]TUESDAY[/TD]
[TD]WEDNESDAY[/TD]
[TD]THURSDAY[/TD]
[TD]FRIDAY[/TD]
[TD]SATURDAY[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Jack Sparrow[/TD]
[TD]1006[/TD]
[TD]route 1[/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD]day off[/TD]
[TD]?[/TD]
[TD]?
[/TD]
[/TR]
</tbody>[/TABLE]