+ Reply to Thread
Results 1 to 7 of 7

formula for dynamic ranges using index on a big spreadsheet where there are blanks

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    formula for dynamic ranges using index on a big spreadsheet where there are blanks

    Hello

    I am looking for a formula using index for dynamic data validation list.

    there are numbers , blank cells , alphabet

    The data is very bulky.

    Can someone assist
    Attached Files Attached Files

  2. #2
    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,440

    Re: formula for dynamic ranges using index on a big spreadsheet where there are blanks

    Jean1972 - you have been a member of these forums for long enough now to know that a failure to provide your expected outcomes, manually added, will mean that it is difficult for those wishing to help to offer a solution. Please provide a fresh version of the sample sheet with your expected results added.
    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.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: formula for dynamic ranges using index on a big spreadsheet where there are blanks

    copy the data of column A in a new column.

    Use remove duplicate => data => remove duplicate

    the sort the data A - Z => data => sort A-Z

    Then use the new datalist on your data-validation.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: formula for dynamic ranges using index on a big spreadsheet where there are blanks

    Sorry about that .

    What I mean how to make it dynamic using index as I cannot alter the data

    amended file in green cell vlaidation data

    [CODE]

    =Sheet1!$A$3:INDEX(Sheet1!$A$3:$A$1000,COUNTA(Sheet1!$A$3:$A$1000))

    [CODE]
    Attached Files Attached Files

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: formula for dynamic ranges using index on a big spreadsheet where there are blanks

    There is no direct way to do what you request that I am aware of. Preparation steps are required.
    See the modified upload.

    Here is a new dynamic named range replacement for RANGE4.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then for a new drop down source range this formula array entered in M1 and filled down.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then this dynamic named range for the drop down list: DD_List
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    With E2 the active cell click Data >> Data validation >> Data validation, then Allow: List, Source: DD_List >> click OK.

    Your drop down is complete and without blanks.
    Dave

  6. #6
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: formula for dynamic ranges using index on a big spreadsheet where there are blanks

    FlameRetired, Thank you, I was looking to sort out this issue more than 3 days as it is a big spreadsheet.

    your approach is very good to this type of situation

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: formula for dynamic ranges using index on a big spreadsheet where there are blanks

    You are welcome. Glad to help. Thank you for the feedback and for marking this thread Solved.

+ 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] Multiple dynamic ranges in a spreadsheet
    By Bab1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-08-2017, 08:48 AM
  2. [SOLVED] Index Match Formula in VBA, that utilises Workbook dynamic named ranges
    By JamieW in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2014, 09:39 AM
  3. [SOLVED] Using INDEX function to display dynamic ranges
    By FoulFiend in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-27-2013, 06:46 PM
  4. Dynamic Ranges vs. Formulas that exclude blanks?
    By amartino44 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2013, 02:04 PM
  5. Dynamic ranges and collating data into the same spreadsheet as code.
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2012, 02:27 AM
  6. Dynamic Ranges and Blanks
    By dhpeter83 in forum Excel General
    Replies: 4
    Last Post: 06-05-2012, 10:21 PM
  7. Replies: 6
    Last Post: 02-07-2012, 04:59 AM

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