+ Reply to Thread
Results 1 to 9 of 9

Index RandArray and ignore Blank Cells

Hybrid View

  1. #1
    Registered User
    Join Date
    09-25-2016
    Location
    Florida
    MS-Off Ver
    365
    Posts
    54

    Index RandArray and ignore Blank Cells

    See attached DB. In the "Number of Teams" column it's including blanks and I need it not to.

    To refresh just simply re-enter the number in the "Enter # of Entrants" box.

    Any help is appreciated!

    Thanks,
    Andy
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,762

    Re: Index RandArray and ignore Blank Cells

    How about
    Formula: copy to clipboard
    =LET(f,FILTER(C4:C33,C4:C33<>""),IFERROR(INDEX(SORTBY(f,RANDARRAY(ROWS(f))),SEQUENCE($D$4)),""))

  3. #3
    Registered User
    Join Date
    09-25-2016
    Location
    Florida
    MS-Off Ver
    365
    Posts
    54

    Re: Index RandArray and ignore Blank Cells

    Working great!

    Thanks,
    Andy

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Index RandArray and ignore Blank Cells

    Can you mock up what you EXPECT to see for any given number... and aslo change your profile... you're no longer using Excel 2010.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,762

    Re: Index RandArray and ignore Blank Cells

    Glad to help & thanks for the feedback.

  6. #6
    Registered User
    Join Date
    09-25-2016
    Location
    Florida
    MS-Off Ver
    365
    Posts
    54

    Re: Index RandArray and ignore Blank Cells

    What I've now realized is the sheet/workbook is volatile and when I try and copy teams over to my other sheet it reassigns players to the teams. Is there away to prevent the workbook/worksheet to not refresh anytime a change is made?

    Furthermore, when I only enter the scores on the other sheet then with each entry it will recompile a new set of teams.


  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,762

    Re: Index RandArray and ignore Blank Cells

    You have two options
    1) Copy/paste as values.
    2) Turn calculation to manual.

  8. #8
    Registered User
    Join Date
    09-25-2016
    Location
    Florida
    MS-Off Ver
    365
    Posts
    54

    Re: Index RandArray and ignore Blank Cells

    Roger that! Thanks!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Index RandArray and ignore Blank Cells

    I thought i had a nice workaround... but it's being a bit of a pain right now... and I have to leave shortly for the night. i'll look at it again tomorrow.

+ 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. Ignore blank cells in Excel INDEX formula
    By Rolaids24 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-18-2022, 01:01 PM
  2. [SOLVED] Getting array/index formula to ignore blank cells
    By LandSim in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-14-2021, 04:14 PM
  3. Ignore blank cells when using Index and Match formula
    By Calaquendi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2021, 08:48 AM
  4. Replies: 3
    Last Post: 10-09-2019, 09:04 PM
  5. INDEX MATCH to ignore blank cells in array
    By Leaflock in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-05-2019, 06:36 PM
  6. INDEX MATCH formula, ignore blank cells and define time frames
    By ChildishAlbino in forum Excel General
    Replies: 2
    Last Post: 02-16-2016, 03:16 PM
  7. Replies: 0
    Last Post: 11-05-2014, 10:54 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