I have built a simple timesheet for someone in my dept, which includes amongst other things:
- hours worked over a month,
- how many hours owed/extra worked
- a cumulative of this figure over the months.
The requestor wants to be able to type a letter such as 'e' to represent a 07:30hr shift. So they type 'e' and the cell contents change to 07:30. There are about 6 different codes.
Normally a Vlookup would work EXCEPT you can't change the contents of the cell your are working upon.....cicrular referencing!
I could see two ways forward: either a function that allows the above
OR (perhaps more favourably)
leaving the lookups until the hour calculations at the base of the form. i.e Instead of a simple Sum for the hours worked that month, it could read the values in the range, look them up from a table(vlookup), and then sum the looked up figures to give the answer in the 'hours worked' cell.
I vaguely remember this being possible from my university days but can't remember how.
Can anyone help me?
