caroline1991
New Member
- Joined
- Jun 2, 2015
- Messages
- 6
I am having a problem and hopw someone is able to help
I want to write a sub where I am able to change alphabetic values into numerical values and then sum these values in a new colume.
An example is as follows
[TABLE="width: 449"]
<tbody>[TR]
[TD]København:[/TD]
[TD]Dårlig[/TD]
[TD]God[/TD]
[TD]Ikke tilgængelig[/TD]
[TD]Fremragende[/TD]
[/TR]
</tbody>[/TABLE]
Dårlig, god, ikke tilgængelig and fremragende each have a numerical value. In the sub I want to change Dårlig, god, ikke tilgængelig and fremragende to 0 and 1 and 0 and 2 and then sum them in Colume E???
I hope this is understandable.
I want to write a sub where I am able to change alphabetic values into numerical values and then sum these values in a new colume.
An example is as follows
[TABLE="width: 449"]
<tbody>[TR]
[TD]København:[/TD]
[TD]Dårlig[/TD]
[TD]God[/TD]
[TD]Ikke tilgængelig[/TD]
[TD]Fremragende[/TD]
[/TR]
</tbody>[/TABLE]
Dårlig, god, ikke tilgængelig and fremragende each have a numerical value. In the sub I want to change Dårlig, god, ikke tilgængelig and fremragende to 0 and 1 and 0 and 2 and then sum them in Colume E???
I hope this is understandable.
Last edited: