+ Reply to Thread
Results 1 to 3 of 3

INDIRECT last text value in range

  1. #1
    Registered User
    Join Date
    09-06-2017
    Location
    portland, oregon
    MS-Off Ver
    2016
    Posts
    33

    INDIRECT last text value in range

    Hi everyone!

    I currently have a formula that seeks out the last text value in a range, my range starts from row 5 all the way to row 500, from column G to BL. Rows are deleted by a macro and the remaining data is shifted up, this is causing a #REF error. How can I modify my formula with INDIRECT to not have a #REF error when rows are deleted. Here is my current formula


    =IFERROR(INDEX(G5:BL5, MATCH(REPT("z",255),G5:BL5)),0)

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: INDIRECT last text value in range

    Try this:

    =IFERROR(LOOKUP(REPT("z",255),INDIRECT("G5:BL5")),0)

  3. #3
    Registered User
    Join Date
    09-06-2017
    Location
    portland, oregon
    MS-Off Ver
    2016
    Posts
    33

    Thumbs up Re: INDIRECT last text value in range

    that did the trick! Thank you!

+ 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. Replies: 1
    Last Post: 03-05-2015, 07:56 AM
  2. [SOLVED] INDIRECT will not post Text string to Data Validation for Named Range on another Workbook
    By carleaston in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2012, 05:08 PM
  3. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Andy Wiggins in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 06:05 AM
  4. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Andy Wiggins in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 04:05 AM
  5. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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