D
David Ryan
Hi i have a spreadsheet that uses this lookup table that lives on a sheet
called "Times".
on the working sheet if CHC is entered then Am is displayed in the relevant
cell and if ED NW the ND is displayed and so on.
my formula =IF(ISERROR(MATCH('Hotel
Services'!C8,Times!$A$2:$A$21,0)),"",LOOKUP('Hotel
Services'!C8,Times!$A$2:$D$21)) seems to work but not sure if it is robust?
When I try to identify the column number to get the data out of in the
formula (in this case column 4), i get an error message. the formula as is
seems to work so if there is no column identified in the lookup formula does
it assume its the last column? and will this give consistant accurate results?
Shift Shift Time Hours AM/PM
CHC 06:00 to 14:30 8 AM
CW 06:00 to 14:30 8 AM
ED NW 22:00 to 06:30 8 ND
ED WARDS 06:00 to 14:30 8 AM
EVENING W 14:00 to 22:30 8 PM
hope someone can spare the time to assist with this.
called "Times".
on the working sheet if CHC is entered then Am is displayed in the relevant
cell and if ED NW the ND is displayed and so on.
my formula =IF(ISERROR(MATCH('Hotel
Services'!C8,Times!$A$2:$A$21,0)),"",LOOKUP('Hotel
Services'!C8,Times!$A$2:$D$21)) seems to work but not sure if it is robust?
When I try to identify the column number to get the data out of in the
formula (in this case column 4), i get an error message. the formula as is
seems to work so if there is no column identified in the lookup formula does
it assume its the last column? and will this give consistant accurate results?
Shift Shift Time Hours AM/PM
CHC 06:00 to 14:30 8 AM
CW 06:00 to 14:30 8 AM
ED NW 22:00 to 06:30 8 ND
ED WARDS 06:00 to 14:30 8 AM
EVENING W 14:00 to 22:30 8 PM
hope someone can spare the time to assist with this.