title: Trying to create a userform in VBA that returns a set of values specified based on criteria from data in an existing spreadsheet
body: <p>I have this set of hypothetical data in a worksheet in Excel.</p>
  
  <p><strong>Phone</strong>    <strong>Storage</strong>    <strong>Price</strong>   <strong>Color</strong> </p>
  
  <p>iPhone   32 GB      100     Black</p>
  
  <p>Galaxy   64 GB      100     Black</p>
  
  <p>Pixel    64 GB      200     Black</p>
  
  <p>I would like to create a userform that will be displayed after clicking a button (I know how to do this). The userform will have list boxes, spin boxes, check boxes, frames, etc. for each of the 4 criteria. The user will then enter their desired criteria and the macro will output the available options or return an error if the specified criteria does not exist. Also, if a user does not want ot include a specific criteria (say color) then this should be considered.</p>
  
  <p>Expected output:</p>
  
  <p>If the user says Phone name and storage are irrelevant and checks 100 for price and black for color. The output should produce all the information for the iPhone and Galaxy.</p>
  
  <p>Anything helps.</p>