Basically what im trying to do is a project tracker. When the guys do a project they spend a certain amount of hours on it. thats all good until the project is paused and restarted again i have a issue where it calculates off the closest date. So what I tried to do was if the project start was on the same day as the finish it would use that date.
Attached is a photo of my original sheet. You will see its stuffing up
See how the hours become minus hours. (The Project Start time/date is pulled from another sheet).It in the photo above uses the simple formula =VLOOKUP([Project No.]3, {System Sheet 1 Range 2}, 4, false)
So in an attempt to rectify the issue I used the formula
=IF(AND(LEFT([Project Finish Time txt/Date]3, 2) = LEFT({System Sheet 1 Range 4}, 2), VLOOKUP([Project No.]3, {System Sheet 1 Range 2}, 1, false) = [Project No.]3), VLOOKUP([Project No.]3, {System Sheet 1 Range 2}, 4, false)) what i am trying to do in this formula is if the project started on the same date it ended uses that date to calculate the hours. Not the new date generated when the boys press start project again the next day. And the project no.s match
I got #invalid data type
Any Ideas?
Apologies for my bad grammar