Hello
I would like to make it so a cell fills in yes or no based on the content of another cell.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Start Shift[/TD]
[TD]End Shift[/TD]
[TD]Total Hours[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]18:00[/TD]
[TD]12:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Example...
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Start Log[/TD]
[TD]End Log[/TD]
[TD]Total Hrs on Log[/TD]
[TD]Time Diff Shift vs Log[/TD]
[TD]Violation?[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]18:00[/TD]
[TD]12:00[/TD]
[TD]0:00[/TD]
[TD]No[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]12:00[/TD]
[TD]6:00[/TD]
[TD]6:00[/TD]
[TD]Yes[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]21:00[/TD]
[TD]15:00[/TD]
[TD]-3:00[/TD]
[TD]No[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The first table above shows my guys shift time. from 6 am til 6 pm, a total of 12 hours.
The second table shows times recorded on a log. (start time, end time, total hours).
If the value in Time Diff Shift vs Log (which is calculated by subtracting Total Hrs on Log from Total Hrs) is greater than 0:00, fill in Yes.
If its 0:00 or lower, fill in No.
I want the violation column to automatically fill based on the other data
I would like to make it so a cell fills in yes or no based on the content of another cell.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Start Shift[/TD]
[TD]End Shift[/TD]
[TD]Total Hours[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]18:00[/TD]
[TD]12:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Example...
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Start Log[/TD]
[TD]End Log[/TD]
[TD]Total Hrs on Log[/TD]
[TD]Time Diff Shift vs Log[/TD]
[TD]Violation?[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]18:00[/TD]
[TD]12:00[/TD]
[TD]0:00[/TD]
[TD]No[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]12:00[/TD]
[TD]6:00[/TD]
[TD]6:00[/TD]
[TD]Yes[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]06:00[/TD]
[TD]21:00[/TD]
[TD]15:00[/TD]
[TD]-3:00[/TD]
[TD]No[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The first table above shows my guys shift time. from 6 am til 6 pm, a total of 12 hours.
The second table shows times recorded on a log. (start time, end time, total hours).
If the value in Time Diff Shift vs Log (which is calculated by subtracting Total Hrs on Log from Total Hrs) is greater than 0:00, fill in Yes.
If its 0:00 or lower, fill in No.
I want the violation column to automatically fill based on the other data
Last edited: