I have this set of hypothetical data in a worksheet in Excel.
PhoneStoragePriceColor
iPhone 32 GB 100 Black
Galaxy 64 GB 100 Black
Pixel 64 GB 200 Black
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.
Expected output:
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.
Anything helps.