Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-23-2015, 05:28 AM
mesTrethowan mesTrethowan is offline Selecting random cells based on criteria Windows 10 Selecting random cells based on criteria Office 2013
Novice
Selecting random cells based on criteria
 
Join Date: Oct 2015
Posts: 7
mesTrethowan is on a distinguished road
Default Selecting random cells based on criteria

Hi I have a sheet that contains a few thousand entries.



In column "D" I have a value assigned to each entry (A, - W)

What I want to do is select a random set of entries for each of the criteria in column "D" and return a list of cell values that are in column "A"

However the number of cells I want to return changes for each criteria

So for example If cell in column "D" contains an "A" I want to return the value of the corresponding cell in Column "A".

So far so good?

The next twist is that there is a variable number of entries for each criteria (A, B, C, etc... ,W)

So if there are a total of 56 entries with an "A" in column "D" I want to specify the number of random entries I want returned for example I only want 9 of the 56.

If that hasn't totally confused everyone, any suggestions on how to do this would be welcome.
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Matching Criteria against a range when criteria is not in contiguous cells?? GMorris Excel 9 08-20-2014 02:15 AM
In Excel 2007-After Selecting Visibe Cells-How do I "Copy to Visible cells" Only mag Excel 0 10-28-2012 08:04 PM
Change values in cells based on criteria SaneMan Excel Programming 2 02-02-2012 07:58 AM
Selecting random cells based on criteria Selecting blank cells in criteria apolloman Excel 6 08-24-2011 05:38 AM
Selecting random cells based on criteria Selecting merge field based on whether or not text is present amym Mail Merge 1 12-07-2010 05:14 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft