+ Reply to Thread
Results 1 to 4 of 4

Google Sheets Array Formula Structure

  1. #1
    Registered User
    Join Date
    10-09-2014
    Location
    New York, United States
    MS-Off Ver
    2007
    Posts
    5

    Google Sheets Array Formula Structure

    I'm attempting to pull a list from another sheet where I have labeled scattered rows with the note "Hold" using an array formula and here is what I have so far:

    =ArrayFormula(IFERROR(INDEX('Sheet 1'!A$8:A$837,SMALL(IF('Sheet 1'!$BR$8:$BR$837,"*Hold*",ROW('Sheet 1'!A$8:A$837)-ROW('Sheet 1'!A$8)+1),ROWS('Sheet 1'!A$8:A8))),""))

    I'm no expert with building formulas but I feel like what I have makes sense logically, I'm just not returning any results and I have no idea why. When I remove the SMALL formula, it will pull a list of everything from the first column in my other sheet, which is not what I want but at least I know its pulling it from the correct places. Could anyone offer any suggestions? Thanks!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Google Sheets Array Formula Structure

    I think it's the use of the wildcard in "*Hold*"
    That won't work here, because it's processing 1 cell at a time, and saying does BR8 = "*Hold*"

    In a one-off value to value comparison, wildcards don't work, the * is treated literally.

    Try changing
    'Sheet 1'!$BR$8:$BR$837,"*Hold*"
    to
    ISNUMBER(SEARCH("Hold",'Sheet 1'!$BR$8:$BR$837))

  3. #3
    Registered User
    Join Date
    10-09-2014
    Location
    New York, United States
    MS-Off Ver
    2007
    Posts
    5

    Re: Google Sheets Array Formula Structure

    That worked perfectly! Thank you so much for your help, this is such a relief.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Google Sheets Array Formula Structure

    You're welcome.

+ 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. Google Spreadsheets, how do I make an array formula?
    By puretppc in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 02-02-2014, 08:13 PM
  2. Replies: 1
    Last Post: 01-25-2014, 02:10 PM
  3. Basic Sum Formula in Google Sheets
    By lesoies in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 7
    Last Post: 08-27-2013, 04:05 PM
  4. array formula google doc to excel
    By jettechfsr in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-09-2013, 02:46 PM
  5. Workbook structure protection for opnly specified sheets
    By skysurfer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2012, 01:36 PM

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