Pull and Match Random number

MiGon

New Member
Joined
Oct 27, 2020
Messages
28
Office Version
  1. 2013
Platform
  1. Windows
Hi All,
I need a help with the attached data. Need to pull 12 random numbers for each ID.
I mean for each UNIQUE ID need to get number from colum B where ID matches

Thanks a mill
MiGon
 

Attachments

  • Capture.JPG
    Capture.JPG
    130.3 KB · Views: 19

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
As long as you change the ranges in formula to look at your entire data, it should return 12 values.
 
Upvote 0
Thanks, will change the ranges hopfully gonna get this working
 
Upvote 0
Let us know if you have any problems.
 
Upvote 0
Hi Fluff, looks cannot get that right :mad: even when change ranges cannot get that working, I have 16636 numbers this month and that is changing each month.
 
Upvote 0
In what way isn't it working? also what is your amended formula?
 
Upvote 0
Sorry for bothering you again, this is the formula

=IFERROR(INDEX($B$2:$B$16636,AGGREGATE(15,6,(ROW($B$2:$B$16636)-ROW($B$2)+1)/($A$2:$A$16636=$D2)/($C$2:$C$16636=SMALL(IF($A$2:$A$16636=$D2,$C$2:$C$16636),E$1)),1)),"")

and getting blanks
 
Upvote 0
Thanks for that & it looks fine, in what way isn't it working?
 
Upvote 0
That doesn't answer my question. ;)
 
Upvote 0

Forum statistics

Threads
1,215,635
Messages
6,125,948
Members
449,275
Latest member
jacob_mcbride

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top