+ Reply to Thread
Results 1 to 3 of 3

For range of ascending order, find the hypothetical row address for new String

  1. #1
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    For range of ascending order, find the hypothetical row address for new String

    If I have an existing Excel range which is sorted in ascending order, and I want to know where a new string should go, by determining the row address.
    Is there an existing function which would work?

    I've tried "WorksheetFunction.Match" with wildcard characters but this only works when the new string is shorter than existing cell values.
    So if I try to find the row address for new string "Exc", it will relate to the existing value of "Excel".
    But if I try for "ExcelMacro", nothing.


    Capture.PNG

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: For range of ascending order, find the hypothetical row address for new String

    Have you tried Match with 1 in 3rd arg?
    e.g
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    Re: For range of ascending order, find the hypothetical row address for new String

    OK thanks.
    This does work.
    The fault was mine, the "1" option does require sorting in ascending order, but my sorting procedure was the issue.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] find n. row in ascending order based on search criteria
    By Berna11 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2018, 08:05 AM
  2. [SOLVED] Check if range of cells are in ascending order based on repeating data in another cell
    By mgcarino14 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-14-2016, 09:17 AM
  3. [SOLVED] Find column location by header and then sort rows below it be ascending order
    By Boo123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-04-2015, 11:58 AM
  4. [SOLVED] Quickest Way To Fill A Range In Ascending Order
    By Philb1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2013, 06:12 PM
  5. [SOLVED] Sorting a range in ascending order in a spreadsheet containing headings multiple rows
    By vbabeginnerjae in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-03-2012, 07:16 AM
  6. Find, return string address in a range of cells with numbers and text
    By Vera22 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-09-2007, 08:37 PM
  7. Transposing a Range in Ascending Order
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-28-2005, 11:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1