• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

REPLACE ALL VALUES IN AN ARRAY FOR FREQUENCY RESULTS.

I am looking to replace all the values of the array B2:G2066 for the frequency results values; example the first row B2:G2 will be replaced or swap the values from the frequency results on I2:I54 to be more clear,

The row B2:G2 is 9-12-15-21-33-45 and in column “ I “ is the frequency taken in the range of 18 numbers from B3:G20, in the bin H is the numbers from 1 to 53 so in front of 9 in column I you see number one, this is the number will replace 9, so the row B2:G2 sheet 2 will be like this 1-1-4-1-0-1.
The formula used here is thanks to the ninja Hui (=FREQUENCY(OFFSET($B$3:$G$20,COLUMN()-COLUMN($I$1),),$H2:$H54). So now I am looking for the code able to swap all this information I Think the file is more than clear.

thanks. see you soon.
 

Attachments

  • 01-REPLACING -ARRAY-CHANDOO..xlsx
    81.2 KB · Views: 3
In X2: =INDEX($I$2:$O$54,MATCH(B2,$H$2:$H$54,0),MATCH($A2,$I$1:$O$1,0))
Copy across and down
 

Attachments

  • 01-REPLACING -ARRAY-CHANDOO..xlsx
    82.1 KB · Views: 2
Hello, Hui.

Now I upload the first formula you give it to me, this time with the all results, in this second file I scroll down and do not respond, sorry. can you check for me PLEASE. check the file that say 01aHUI FREQUENCY second I think this illustrated better what I have in mind.

THANKS HUI.
 

Attachments

  • 01aHUI FREQUENCY FORMULA.xlsx
    29.6 KB · Views: 1
  • 01aHUI FREQUENCY second.xlsx
    33.4 KB · Views: 1
I2: =IFERROR(INDEX($P$2:$BB$54,MATCH(B2,$O$2:$O$54,0),ROWS($B$1:$B2)),"-")
Copy across & Down or see attached
 

Attachments

  • 01aHUI FREQUENCY second.xlsx
    41.1 KB · Views: 3
Instead of saying it doesn't work
How about possibly posting a sample of the answer ?
With either a Formula or Code without knowing what pattern you are trying to achieve it is basically guesswork
You have to help us to help you
 
Back
Top