Consulting

Results 1 to 4 of 4

Thread: Strange format problem !!!

  1. #1

    Strange format problem !!!

    Hi

    I have a formula to find the minimum of a column with 2 conditions... but doesn?t work because, despite the values in the cells be equals, Excel doesn?t recognize them as equal? In the attachment file you can see the problem?
    Please Help me?

    Ricardo Rosa

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    In your formula you are returning the text " AZ" which of course does not equat "AZ". Use this formula instead.
    =IF(P4="","",IF(LEN(M4)=10,MID(M4,6,2),IF(LEN(M4)>10,MID(M4,6,2),"")))
    I'm not sure what you want to return in the last Mid function. If you want more than 2 characters, just change that number.

  3. #3

    THANKS!

    tanks...

    i have lost many hours, with this stupid error...
    In the end the solution was very simple... thank you very much...

    Kind regards

  4. #4
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    You're Welcome

    Take Care

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •