+ Reply to Thread
Results 1 to 5 of 5

VBA equivalent to excel formula MATCH(TRUE,INDEX(ISNUMBER(8:8,0),0)

  1. #1
    Registered User
    Join Date
    05-17-2019
    Location
    Madison
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    13

    VBA equivalent to excel formula MATCH(TRUE,INDEX(ISNUMBER(8:8,0),0)

    Hi,

    New to VBA. Trying to identify the first numeric column in row 8:8 and store it in a variable for later use. I know I can achieve that with an excel formula MATCH(TRUE,INDEX(ISNUMBER(8:8,0),0).

    My attempt at a solution:
    Please Login or Register  to view this content.
    Gives the error:
    Run-time error '1004':
    Unable to get the Index property of the WorksheetFunction class

    I'm sure this is something straightforward but I wasn't able to figure it out by looking at the other posts here.

    Help much appreciated .
    Last edited by Sprong; 11-11-2021 at 02:50 PM. Reason: more specific title

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: VBA equivalent to excel formula MATCH(TRUE,INDEX(ISNUMBER(8:8,0),0)

    Try changing
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: VBA equivalent to excel formula MATCH(TRUE,INDEX(ISNUMBER(8:8,0),0)

    Or maybe just
    Please Login or Register  to view this content.

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

    Re: VBA equivalent to excel formula MATCH(TRUE,INDEX(ISNUMBER(8:8,0),0)

    Quote Originally Posted by Sprong View Post
    Hi,

    New to VBA. Trying to identify the first numeric column in row 8:8 and store it in a variable for later use.
    try
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-17-2019
    Location
    Madison
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    13

    Re: VBA equivalent to excel formula MATCH(TRUE,INDEX(ISNUMBER(8:8,0),0)

    That last solution is nifty and I can modify for many uses. Thanks.

+ 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] How to fit in Exact Match into an Index and Match formula that contains Isnumber
    By y0urd00md in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2021, 07:27 AM
  2. [SOLVED] Using ISNUMBER SEARCH with INDEX MATCH
    By Emile du Toit in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-15-2020, 08:54 AM
  3. Index/Match or If/isnumber/search Question
    By S Thibault in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-13-2019, 01:19 AM
  4. [SOLVED] INDEX MATCH - Macro Equivalent?
    By Eric Alan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-16-2017, 02:22 AM
  5. Index Match with nested isnumber
    By JamesArmitage in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-22-2016, 08:04 AM
  6. USING IF ISTEXT OR ISNUMBER THEN INDEX MATCH OR calculation
    By pippib in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2012, 01:26 AM
  7. [SOLVED] Equivalent of Index/Match Function in VBA
    By Stonesteel15 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2012, 12:06 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