• Advanced filter without extra data

    Author
    Topic
    #460201

    Hello.
    I’ve created a procedure to place the active cell text into a criteria range and then use Advanced Filter with this criteria. The text is correctly placed in the cell, but the Advanced Filter process treats the criteria as though it were >=ALPHA rather than just ALPHA. How can I force it to just find precise matches to ALPHA?
    Thanks, Andy.

    Viewing 2 reply threads
    Author
    Replies
    • #1162822

      Can you attach a sample workbook?

      • #1162823

        Can you attach a sample workbook?

        Thanks for your response. I managed to resolve this by creating a calculated criteria that uses ‘=D9=”ALPHA”‘. I assume this is a microsoft bug/feature as it should work with a simple criteria ‘ALPHA’. Andy.

    • #1162877

      Both Advanced Filter and the database functions (e.g. DSUM) treat naked text (e.g. “Cat”) in the criteria fields as if there were wildcards.
      “Cat” returns the same as “=Cat*”.

      I suspect that it comes from a blank in the criteria field, being treated as ALL. “” is the same as “=*”

    • #1162918

      If you want an exact match, you need to use a criterion like:
      =”=my value”
      in the criteria range.

    Viewing 2 reply threads
    Reply To: Advanced filter without extra data

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: