Hello Experts,
In my spreadsheet on the left I have 100 rows of numbers from A to AN (40 numbers in each row).
In column AO (AO1:AO20) are 20 numbers that are randomly generated.
If any of those 20 randomly numbers are matched in any row, they are highlighted.
In column AP is shown how many randomly generated numbers was matched in each row.
(you can view my previous post if you want to have an idea what was done so far)
Now I want to add something:
I want numbers that are in column AP to appear in column AQ but at the same time they must be substituted with a different value.
For example:
If in AP1 the number will come up as 9, I want this number to be represented in AQ1 as 0
If in AP2 the number will come up as 8, I want this number to be represented in AQ2 as 0
If in AP3 the number will come up as 7, I want this number to be represented in AQ3 as 1
If in AP4 the number will come up as 6, I want this number to be represented in AQ4 as 2
If in AP5 the number will come up as 5, I want this number to be represented in AQ5 as 7
If in AP6 the number will come up as 4, I want this number to be represented in AQ6 as 35
and so on for each row in this spreadsheet (200 rows)
Here are all substitutions:
Number 0 in column AP must correspond to value 250,000 in column AQ
Number 1 in column AP must correspond to value 25,000 in column AQ
Number 2 in column AP must correspond to value 2,200 in column AQ
Number 3 in column AP must correspond to value 200 in column AQ
Number 4 in column AP must correspond to value 35 in column AQ
Number 5 in column AP must correspond to value 7 in column AQ
Number 6 in column AP must correspond to value 2 in column AQ
Number 7 in column AP must correspond to value 1 in column AQ
Number 8 in column AP must correspond to value 0 in column AQ
Number 9 in column AP must correspond to value 0 in column AQ
Number 10 in column AP must correspond to value 0 in column AQ
Number 11 in column AP must correspond to value 0 in column AQ
Number 12 in column AP must correspond to value 0 in column AQ
Number 13 in column AP must correspond to value 1 in column AQ
Number 14 in column AP must correspond to value 2 in column AQ
Number 15 in column AP must correspond to value 7 in column AQ
Number 16 in column AP must correspond to value 35 in column AQ
Number 17 in column AP must correspond to value 200 in column AQ
Number 18 in column AP must correspond to value 2,200 in column AQ
Number 19 in column AP must correspond to value 25,000 in column AQ
Number 20 in column AP must correspond to value 250,000 in column AQ
If you need more explanations please contact me.
Waiting for your help Experts.
John
In my spreadsheet on the left I have 100 rows of numbers from A to AN (40 numbers in each row).
In column AO (AO1:AO20) are 20 numbers that are randomly generated.
If any of those 20 randomly numbers are matched in any row, they are highlighted.
In column AP is shown how many randomly generated numbers was matched in each row.
(you can view my previous post if you want to have an idea what was done so far)
Now I want to add something:
I want numbers that are in column AP to appear in column AQ but at the same time they must be substituted with a different value.
For example:
If in AP1 the number will come up as 9, I want this number to be represented in AQ1 as 0
If in AP2 the number will come up as 8, I want this number to be represented in AQ2 as 0
If in AP3 the number will come up as 7, I want this number to be represented in AQ3 as 1
If in AP4 the number will come up as 6, I want this number to be represented in AQ4 as 2
If in AP5 the number will come up as 5, I want this number to be represented in AQ5 as 7
If in AP6 the number will come up as 4, I want this number to be represented in AQ6 as 35
and so on for each row in this spreadsheet (200 rows)
Here are all substitutions:
Number 0 in column AP must correspond to value 250,000 in column AQ
Number 1 in column AP must correspond to value 25,000 in column AQ
Number 2 in column AP must correspond to value 2,200 in column AQ
Number 3 in column AP must correspond to value 200 in column AQ
Number 4 in column AP must correspond to value 35 in column AQ
Number 5 in column AP must correspond to value 7 in column AQ
Number 6 in column AP must correspond to value 2 in column AQ
Number 7 in column AP must correspond to value 1 in column AQ
Number 8 in column AP must correspond to value 0 in column AQ
Number 9 in column AP must correspond to value 0 in column AQ
Number 10 in column AP must correspond to value 0 in column AQ
Number 11 in column AP must correspond to value 0 in column AQ
Number 12 in column AP must correspond to value 0 in column AQ
Number 13 in column AP must correspond to value 1 in column AQ
Number 14 in column AP must correspond to value 2 in column AQ
Number 15 in column AP must correspond to value 7 in column AQ
Number 16 in column AP must correspond to value 35 in column AQ
Number 17 in column AP must correspond to value 200 in column AQ
Number 18 in column AP must correspond to value 2,200 in column AQ
Number 19 in column AP must correspond to value 25,000 in column AQ
Number 20 in column AP must correspond to value 250,000 in column AQ
If you need more explanations please contact me.
Waiting for your help Experts.
John