+ Reply to Thread
Results 1 to 2 of 2

How to exclude a cell from array

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    How to exclude a cell from array

    Hello everybody,

    I am using the following formula to pick random values from a column:

    =INDEX($D:$D,RANDBETWEEN(12,33),1)

    What I need is to exclude certain cell (say D12) from the array. Can somebody please help me with this issue?

    Thank you

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: How to exclude a cell from array

    In the context of your formula - why not change the low value of the RANDBETWEEN from 12 to 13 ?

    I suspect what you're really looking to do is not quite that trivial... might be worth outlining a few further examples...

+ Reply to Thread

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