Please help me make a database wherein the time will be automatically shown once I input a data.
I have attached a file for reference..
I am using a bar code scanner, and sometimes an entry is being entered twice...
Say on the First scanning (Column C):
I scanned a barcode then it typed 123 in C2 then the time will automatically appear in D2
I scanned a barcode then it typed 456 in C3 then the time will automatically appear in D3
I scanned a barcode then it typed 789 in C4 then the time will automatically appear in D4
I scanned a barcode then it typed 321 in C5 then the time will automatically appear in D5
I scanned a barcode then it typed 654 in C6 then the time will automatically appear in D6
I scanned a barcode then it typed 987 in C7 then the time will automatically appear in D7
then I scanned a barcode then it typed 321 again, can excel detect double entries in the same column and make color fill the cell so I can immediately delete the double entries..
On the Second scanning (column G):
I scanned a barcode then it typed 321 in G2 then the time will automatically appear in E5 (I said E5 because it will serve as Time Out for 321 in C5 - like matching the first scan with the second scan)
likewise, i scanned another barcode the it typed 456 in G3 then the time will automatically appear E3
i scanned another barcode the it typed 789 in G4 then the time will automatically appear E4
i scanned another barcode the it typed 654 in G5 then the time will automatically appear E6
i scanned another barcode the it typed 987 in G6 then the time will automatically appear E7
i scanned another barcode the it typed 123 in G7 then the time will automatically appear E2
;
Also, please include this formula for column F: F=E-D for the total time lapsed (hh:mm:ss)..

Thank you.