+ Reply to Thread
Results 1 to 5 of 5

Find next available row

  1. #1
    Registered User
    Join Date
    08-16-2011
    Location
    Thailand
    MS-Off Ver
    Excel 2019
    Posts
    66

    Lightbulb Find next available row

    Hi Guys,

    How could I find next available row in table?
    I have bunch of matches if result is entered it will change status "played" in "T" and add date in "A".
    Is there a way to use vlookup or index function here?

    I have attached the data workbook.

    Big Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Find next available row

    hi there. so is row 18 the results you are hoping to get? if so, try this array formula in cell B18:
    =IFERROR(INDEX(B$2:B$11,SMALL(IF($T$2:$T$11="Waiting",ROW(B$2:B$11)),ROWS(B$18:B18))-ROW($B$2)+1),"")
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    copy to other cells you want to paste to

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Find next available row

    b18=INDEX(B$2:B$11,MATCH("",$A$2:$A$11,0))
    Try this and copy towards right
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    08-16-2011
    Location
    Thailand
    MS-Off Ver
    Excel 2019
    Posts
    66

    Re: Find next available row

    Quote Originally Posted by nflsales View Post
    b18=INDEX(B$2:B$11,MATCH("",$A$2:$A$11,0))
    Try this and copy towards right
    Fantastic!!!

    Big Thanks

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,405

    Re: Find next available row

    In B18:

    =MIN(IF(A1:A11="",B1:B11))

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Then use INDEX MATCH or VLOOKUP to populate the other cells in row 18.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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: 04-10-2017, 03:33 PM
  2. Replies: 3
    Last Post: 08-18-2015, 09:04 AM
  3. Replies: 9
    Last Post: 12-21-2014, 06:29 PM
  4. Replies: 1
    Last Post: 12-17-2012, 08:00 PM
  5. Replies: 4
    Last Post: 09-18-2012, 10:54 AM
  6. Find Macro With Userform - To find a data across multiple tabs in excel
    By Testify in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-15-2012, 04:49 PM
  7. Replies: 1
    Last Post: 01-31-2006, 06:25 PM

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