Hi all,
in the attached workbook, each person has a shift assigned (via drop-down list) and hours for that shift (via LOOKUp in the table to the right) - this works well most of the time because the hours for each shift are fixed. Two of the shift types (ie: Admin and Training) have varying hours and as a quick fix for that I've again used a drop-down list in cells R4 and R19 - what this does however is to change ALL the values in cells B4 to H59 which is not always elegant if it's only 2 hours on Tuesday but changes to 6 hours on Friday.
My question then, is this...
is there a way to precede the LOOKUP function in those cells to check whether "Admin" or "Training" appears, and if it does, to then provide an input box for the user to stipulate the hours?
So, for example, in cell B4 where the code appears
it would look something like IF B4 = Admin OR Training then do an InputBox, else just do the LOOKUP
Many thanks in advance.
AJ
Bookmarks