Newbie987654321
New Member
- Joined
- Mar 13, 2018
- Messages
- 9
Hi Guys. I so badly need your help.
I want to know the STATUS of Table 1.
CRITERIA OF SUBMITTED STATUS:
-DATE (Table 2) > or equal to Actual Date (Table 1)
-Name, Supervisor and Infraction should match.
If no match, then it should be "PENDING".
I need a formula that would show if it has been "Submitted" or still "Pending" under the STATUS Column.
Here's an example table which shows the STATUS.
[TABLE="class: cms_table, width: 368"]
<tbody>[TR]
[TD]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]STATUS[/TD]
[TD]Name[/TD]
[TD]Supervisor[/TD]
[TD]Infraction[/TD]
[TD]Actual Date[/TD]
[/TR]
[TR]
[TD]Submitted[/TD]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]18-Mar-18[/TD]
[/TR]
[TR]
[TD]Pending[/TD]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]23-Mar-18[/TD]
[/TR]
[TR]
[TD]Submitted[/TD]
[TD]Carl Lee[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]18-Mar-18[/TD]
[/TR]
[TR]
[TD]Pending[/TD]
[TD]Carl Lee[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]23-Mar-18[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Table 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Supervisor[/TD]
[TD]Frequency[/TD]
[TD]Date Submitted[/TD]
[TD]Infraction[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]1st instance[/TD]
[TD]21-Mar-18[/TD]
[TD]Tardiness[/TD]
[/TR]
[TR]
[TD]Carl Lee[/TD]
[TD]Sue Pervisor[/TD]
[TD]1st instance[/TD]
[TD]8-Mar-18[/TD]
[TD]Tardiness[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]1st instance[/TD]
[TD]21-Mar-18[/TD]
[TD]Absence[/TD]
[/TR]
[TR]
[TD]Carl Lee[/TD]
[TD]Sue Pervisor[/TD]
[TD]1st instance[/TD]
[TD]8-Mar-18[/TD]
[TD]Absence[/TD]
[/TR]
</tbody>[/TABLE]
I want to know the STATUS of Table 1.
CRITERIA OF SUBMITTED STATUS:
-DATE (Table 2) > or equal to Actual Date (Table 1)
-Name, Supervisor and Infraction should match.
If no match, then it should be "PENDING".
I need a formula that would show if it has been "Submitted" or still "Pending" under the STATUS Column.
Here's an example table which shows the STATUS.
[TABLE="class: cms_table, width: 368"]
<tbody>[TR]
[TD]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]STATUS[/TD]
[TD]Name[/TD]
[TD]Supervisor[/TD]
[TD]Infraction[/TD]
[TD]Actual Date[/TD]
[/TR]
[TR]
[TD]Submitted[/TD]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]18-Mar-18[/TD]
[/TR]
[TR]
[TD]Pending[/TD]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]23-Mar-18[/TD]
[/TR]
[TR]
[TD]Submitted[/TD]
[TD]Carl Lee[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]18-Mar-18[/TD]
[/TR]
[TR]
[TD]Pending[/TD]
[TD]Carl Lee[/TD]
[TD]April Allens[/TD]
[TD]Tardiness[/TD]
[TD]23-Mar-18[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Table 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Supervisor[/TD]
[TD]Frequency[/TD]
[TD]Date Submitted[/TD]
[TD]Infraction[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]1st instance[/TD]
[TD]21-Mar-18[/TD]
[TD]Tardiness[/TD]
[/TR]
[TR]
[TD]Carl Lee[/TD]
[TD]Sue Pervisor[/TD]
[TD]1st instance[/TD]
[TD]8-Mar-18[/TD]
[TD]Tardiness[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]April Allens[/TD]
[TD]1st instance[/TD]
[TD]21-Mar-18[/TD]
[TD]Absence[/TD]
[/TR]
[TR]
[TD]Carl Lee[/TD]
[TD]Sue Pervisor[/TD]
[TD]1st instance[/TD]
[TD]8-Mar-18[/TD]
[TD]Absence[/TD]
[/TR]
</tbody>[/TABLE]