Hi There!
I need some help to sum up the value for drop-down list. Each item in the drop-down list should have a value tagged with it.
This is the scenario:
[TABLE="class: grid, width: 444"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Subject Name[/TD]
[TD]Type[/TD]
[TD]Status[/TD]
[TD]Appointment[/TD]
[TD]ID[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="colspan: 6, align: center"]GENERAL SCREENING OPEN[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 135"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Type[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]-Select'[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]DM[/TD]
[TD="align: right"]0.20[/TD]
[/TR]
[TR]
[TD]HV[/TD]
[TD="align: right"]0.30[/TD]
[/TR]
[TR]
[TD]RP DM/HV[/TD]
[TD="align: right"]0.25[/TD]
[/TR]
</tbody>[/TABLE]
Above is the table which i have created. When user selects the column "Type", 3 options will be displayed, (DM, HV & RP DM/HV - type of screening subjects). Each time when a user selects the desired option, it should begin to sum up the value that is assigned to each drop-down item. If the sum value is below 1.00, then the text will be displayed as "General Screening Open". If the sum of value is above 1.00 then the text will be changed to "General Screening Closed".
A user is entitled to select any options from the drop-down menu. If the user selects the following:
[TABLE="class: grid, width: 444"]
<tbody>[TR]
[TD]Subject Name[/TD]
[TD]Type[/TD]
[TD]Status[/TD]
[TD]Appointment[/TD]
[TD]ID[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD] Subject 1[/TD]
[TD]DM[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] Subject 2[/TD]
[TD]HV[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] Subject 3[/TD]
[TD]RP DM/HV [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] Subject 4[/TD]
[TD] HV[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="colspan: 6, align: center"]GENERAL SCREENING OPEN[/TD]
[/TR]
</tbody>[/TABLE]
In this case, The total value is 1.05, hence the text should change to "General Screening Closed". The values should starting calculating when each data is entered.
I have tried to use conditional formatting but i did that only by inserting another column to indicate the designated value for each drop-down option. This time, i have tried using lookup function. I understand lookup function can handle only one criteria. Is there a way to handle more than 1 criteria by using index or match function?
Vani
I need some help to sum up the value for drop-down list. Each item in the drop-down list should have a value tagged with it.
This is the scenario:
[TABLE="class: grid, width: 444"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Subject Name[/TD]
[TD]Type[/TD]
[TD]Status[/TD]
[TD]Appointment[/TD]
[TD]ID[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="colspan: 6, align: center"]GENERAL SCREENING OPEN[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 135"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Type[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]-Select'[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]DM[/TD]
[TD="align: right"]0.20[/TD]
[/TR]
[TR]
[TD]HV[/TD]
[TD="align: right"]0.30[/TD]
[/TR]
[TR]
[TD]RP DM/HV[/TD]
[TD="align: right"]0.25[/TD]
[/TR]
</tbody>[/TABLE]
Above is the table which i have created. When user selects the column "Type", 3 options will be displayed, (DM, HV & RP DM/HV - type of screening subjects). Each time when a user selects the desired option, it should begin to sum up the value that is assigned to each drop-down item. If the sum value is below 1.00, then the text will be displayed as "General Screening Open". If the sum of value is above 1.00 then the text will be changed to "General Screening Closed".
A user is entitled to select any options from the drop-down menu. If the user selects the following:
[TABLE="class: grid, width: 444"]
<tbody>[TR]
[TD]Subject Name[/TD]
[TD]Type[/TD]
[TD]Status[/TD]
[TD]Appointment[/TD]
[TD]ID[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD] Subject 1[/TD]
[TD]DM[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] Subject 2[/TD]
[TD]HV[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] Subject 3[/TD]
[TD]RP DM/HV [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] Subject 4[/TD]
[TD] HV[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="colspan: 6, align: center"]GENERAL SCREENING OPEN[/TD]
[/TR]
</tbody>[/TABLE]
In this case, The total value is 1.05, hence the text should change to "General Screening Closed". The values should starting calculating when each data is entered.
I have tried to use conditional formatting but i did that only by inserting another column to indicate the designated value for each drop-down option. This time, i have tried using lookup function. I understand lookup function can handle only one criteria. Is there a way to handle more than 1 criteria by using index or match function?
Vani