I have been trying to build a checkout system for devices at work using spreadsheets and google forms. The google forms work wonderfully, and I'm able to get all the data I need in a spreadsheet that I can look through manually if a device turns up missing. I was hoping the process of taking this data and creating a sheet that would give the status of device as "IN" or "OUT" would be simple, but I can't seem to get the results I'm looking for.
From Google forms it goes into a sheet with timestamp, device, and who checked it out.There is a separate form and sheet when checking the device back in.
From there I created a new "STATUS" sheet that I referenced the other two to get the most recent time stamp, which device, and who checked it out.
I'm trying to reference the cells with those changing values to trigger the cells next to each device as "IN" or "OUT" but I can only have one IN and one OUT at a time.
In this sheet I am using VLOOKUP to find the latest device checked out using=VLOOKUP(MAX(TIMEOUT),CHECKOUT!A2:B,2,FALSE)
To change the values that are currently FALSE I am referencing the cell with the returned value of the VLOOKUP using=IF(E4=C24,"OUT",IF(E11=C24,"IN"))
However, whenever I check out another device it changes the next device OUT, but returns the previous checkout to FALSE.
I know nesting functions can screw sheets up when used incorrectly, so I was hoping for some guidance because I'm not too good at this apparently. Any help is appreciated!
