Thanks @group,Yes data are in columns.But putting formula =Rand() will give the number between 1 and 100 and it will change always. But my intention is to select only values from my original data set randomly. Thanks & Regards, Vikash Chandra Bangalore 9902622922
On Sat, Dec 24, 2011 at 6:45 PM, Cecil <my_other_n...@windstream.net> wrote: > Your post is a bit vague to me, regarding the data and how it is laid out. > You use the word row, but generally data is in columns. Here is a thought > that might point you in the right direction. > > I am going to assume you misspoke and your data is in a column, say column > A. In column 'B' I would put the formula =Rand(). I would then sort the > data set on column 'B'. Now it is easy to count the rows determine how many > rows are in the 70% and how many are in the 30%. > > > > -- > FORUM RULES (934+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will > not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com -- -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com