Queseimo919
New Member
- Joined
- Jan 5, 2015
- Messages
- 2
I am working on a Tracking sheet in Excel 2013 that assigns points based on the number of hours a customer uses. Most of my customers have an appointment time of 9 am to 1 pm, which equals 4 hours. It is important that I track the exact start and stop time of each appointment. I have formatted my "Start" column as Time "1:30 PM", but it defaults back to Time "*1:30:00 PM". My "Total" column has the following formula:=SUM(I5-H5)*24 to calculate the total time hours. I then have a table called "Points" that lists the number of points a customer should earn based on the total hours of their appointment, i.e. 2 hours= 1 pt, 2.25 hours= 1.125 pts, 2.5 hours=1.25 pts, and so forth and so on until 100 hours= 50 pts. I am using the following vLookup formula to get my points earned data:=IFERROR(VLOOKUP(J:J,Points,2),0) As I was imputing my data I kept noticing that where each time was from 9 am to 1 pm my vLookup is returning 1.875 which is the row above 4hours= 2pts. I thought that maybe it was because of a blank space,etc. so I tried open multiple workbooks and retyping all of the information over, but I ended up with the same result.
I even tried using the number equivalent for the times where 9 am is 0.375 and 1 pm is 0.541666666666667, which gave me the answer 4 but still returned the row above 4 hours on my Points table.
I then figured out that if I add the following seconds 9:00:01 am and 1:00:02 pm, I still get the answer 4 but it now returns the correct 2 pt value. While I understand Excel, it will be troublesome explaining to my employees that they have to add seconds to the 9-1 times for every customer.
Please advise.....
I even tried using the number equivalent for the times where 9 am is 0.375 and 1 pm is 0.541666666666667, which gave me the answer 4 but still returned the row above 4 hours on my Points table.
I then figured out that if I add the following seconds 9:00:01 am and 1:00:02 pm, I still get the answer 4 but it now returns the correct 2 pt value. While I understand Excel, it will be troublesome explaining to my employees that they have to add seconds to the 9-1 times for every customer.
Please advise.....