It will be great if you can share some inline images describing your issue. From the above description, you can use the worksheet to create the required logic for creating the named selection. Please check the below link for details.
Specifying Named Selections using Worksheet Criteria (ansys.com)
Please Login to Report Topic
Please Login to Share Feed