lcastanheiro
New Member
- Joined
- Feb 21, 2019
- Messages
- 9
- Office Version
- 365
- Platform
- Windows
I have a work sheet with several columns, one column has the position titles (column B) of my reports this is chosen from a drop down list.
[TABLE="width: 309"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]yes[/TD]
[TD]Chief[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Operation Specialist[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Operation Specialist[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Control Engineer[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Startup Engineer
[/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is read that column input, and if the value is "chief" then input into another column (column A) the value "YES". Then in this column only one "yes" will be allowed.
If i select Chief more than one time i should get an error.
This means there can only be one chief per project but I can have several engineers for example.
How can I do this?
Thanks for your help
[TABLE="width: 309"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]yes[/TD]
[TD]Chief[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Operation Specialist[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Operation Specialist[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Control Engineer[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]no[/TD]
[TD]Startup Engineer
[/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is read that column input, and if the value is "chief" then input into another column (column A) the value "YES". Then in this column only one "yes" will be allowed.
If i select Chief more than one time i should get an error.
This means there can only be one chief per project but I can have several engineers for example.
How can I do this?
Thanks for your help