+ Reply to Thread
Results 1 to 11 of 11

formula to return next valid cell

Hybrid View

  1. #1
    Registered User
    Join Date
    02-19-2014
    Location
    Alabama
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: formula to return next valid cell

    Can you explain a little, I am trying to adjust your formula to match my spreadsheet and I can not get it to work......???

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,258

    Re: formula to return next valid cell

    Post your workbook with an explanation of what you want, and I will modify the workbook and re-post it.

  3. #3
    Registered User
    Join Date
    06-21-2011
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: formula to return next valid cell

    Hi
    Attached is an example of what I am looking for.
    Thanks again for the help!
    Attached Files Attached Files

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: formula to return next valid cell

    Try this array formula** entered in cell D6 on the Working Sheet:

    =IFERROR(INDEX('Contractor list'!$B:$B,SMALL(IF('Contractor list'!$A$2:$A$17=$B4,ROW('Contractor list'!$A$2:$A$17)),COLUMNS($D6:D6))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy across until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    06-21-2011
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: formula to return next valid cell

    The formula works! Brilliant! Thank you very much Tony... life saver

    BL

  6. #6
    Registered User
    Join Date
    06-21-2011
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: formula to return next valid cell

    I have one other question
    I didn't add in the worksheet that I wanted the formula to skip columns so instead of the having the formula work in the column to the immediate right I need it to work 8 columns over? Would you be able to modify the formula to accomodate?
    (After going back I realized I missed this impt criteria)... Thanks again...

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: formula to return next valid cell

    If I understand, you just need to modify this bit of the formula:

    INDEX('Contractor list'!$B:$B

    Change it to whatever column you want the results to come from.

  8. #8
    Registered User
    Join Date
    06-21-2011
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: formula to return next valid cell

    Thanks again Tony!

+ 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: 4
    Last Post: 03-19-2012, 03:05 PM
  2. Replies: 1
    Last Post: 03-19-2012, 09:43 AM
  3. Formula to show only valid cell details
    By mal.b.graham in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2011, 09:05 AM
  4. My formula cell linking to other sheet is not valid?
    By FRUITO in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2009, 10:44 PM
  5. Valid formula remains in cell
    By Wally in forum Excel General
    Replies: 2
    Last Post: 09-10-2005, 05:05 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