Results 1 to 6 of 6

Dynamic range from every nth value in a column in a data validation list

Threaded View

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    Estonia
    MS-Off Ver
    Excel 2010
    Posts
    5

    Dynamic range from every nth value in a column in a data validation list

    I'm trying to create an array formula that makes a dynamic range from every nth value in a column and use that formula to create a data validation list in a cell. I've managed to conjure a formula that creates a dynamic array from every nth value in a column, but I can't seem to use it in data validation. Excel doesn't seem to like array formulas as a data validation source and using the formula to create a named range also gives an error. I tried to make an array range in a sheet and use that to create a data validation list, but I can't get rid of the #N/A-s even with IFERROR. Also my current formula doesn't work with strings. I'd appreciate if someone would help me make it work with data validation and with strings.
    The formula is:
    =IFERROR(SMALL(IF((Sheet1!$A:$A<>0)*(INT((ROW(Sheet1!$A:$A)+1)/2)=(ROW(Sheet1!$A:$A)+1)/2);Sheet1!$A:$A);ROW(Sheet1!$A$1:INDEX(Sheet1!$A:$A;COUNTA(Sheet1!$A:$A))));"")
    See the attached workbook on how it works as an array range
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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