Hello,
I am trying to sort several integer and string combinations and pass them to an excel file to create a Pareto chart. All is well except for the sort. Here is the scenario:
int1 = 10
int2 = 100
int3 = 15
int4 = 25
str1 = hats
str2 = coats
str3 = mittens
str4 = boots
the integers and strings are associated as such
hats 10
coats 100
mittens 15
boots 25
and the sort is numerical
coats 100
boots 25
mittens 15
hats 10
I would assume an array is the best choice but the examples I have seen here are somewhat confusing as I have never worked with arrays.
I would like the string and integer separated so I can send single values to the excel sheet. Any guidance is appreciated. Thanks.
I am trying to sort several integer and string combinations and pass them to an excel file to create a Pareto chart. All is well except for the sort. Here is the scenario:
int1 = 10
int2 = 100
int3 = 15
int4 = 25
str1 = hats
str2 = coats
str3 = mittens
str4 = boots
the integers and strings are associated as such
hats 10
coats 100
mittens 15
boots 25
and the sort is numerical
coats 100
boots 25
mittens 15
hats 10
I would assume an array is the best choice but the examples I have seen here are somewhat confusing as I have never worked with arrays.
I would like the string and integer separated so I can send single values to the excel sheet. Any guidance is appreciated. Thanks.