I *think* you're saying that
but if you sort Hours sheet such that A2 moves to A9 you get
and you want A2 on Cost to always = A2 on Hours, correct ?
If so then one way to do this quickly is to use the INDEX function such that
this can be copied down for as many rows as required and it will adapt accordingly... ie A2 will always return content from A2 on Hours sheet and A4 from A4 etc etc regardless of how the data is sorted on Hours sheet.
(another option is to utilise INDIRECT but this is a Volatile function and I would advise use of INDEX in preference to INDIRECT on that basis)
Bookmarks