Results 1 to 6 of 6

Thread: Last Filled Cell Having Text

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0
    If cell A1 contains the word "dog" and A2 contains the word "zebra" and the rest of the column is empty, you would expect the suggested formula to return 2. To the contrary, it returns 1.

    In the Arial font, it appears that CHAR(158) sorts last. This is a lowercase z with a circumflex accent above it. The CHAR(158) is a lower case y with umlaut above it.

    I listed the ASCII characters 1 to 255 in column A and their ASCII code in column B. I then sorted columns A and B by column A in ascending alphabetical order. The results of the MATCH formulas were:
    =MATCH(REPT(CHAR(255),10),$A:$A,1) returns 251 (the correct position of CHAR(255) in column A after sorting
    =MATCH(REPT("y",10),$A:$A,1) also returns 251
    =MATCH(REPT(CHAR(158),10),$A:$A,1) returns 255
    =MATCH(REPT("z",10),$A:$A,1) also returns 255


    I cannot test non-Latin fonts, being unable to read those languages. Do the results differ there?

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    byundt match issue.JPG by the way, I don't get that anomaly which you mentioned
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 22
    Last Post: 03-19-2013, 07:57 AM
  2. Replies: 5
    Last Post: 03-09-2013, 09:01 AM
  3. Storing Text Value From Cell To Array
    By marreco in forum Excel Help
    Replies: 2
    Last Post: 02-15-2013, 01:11 AM
  4. Replies: 19
    Last Post: 02-11-2013, 10:49 PM
  5. Get last Filled Cell address in a Range.
    By Rajan_Verma in forum Rajan Verma's Corner
    Replies: 3
    Last Post: 03-24-2012, 01:08 AM

Tags for this Thread

Posting Permissions

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