+ Reply to Thread
Results 1 to 11 of 11

Array with multiple IF's:

  1. #1
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Array with multiple IF's:

    I'm looking for help with an Array formula that does the following:

    Generate a list of results that contain:
    The value "1400"
    The value "1700"
    Contains "-F"
    Contains "p"
    All of these within the same range.

    My use of arrays has been with dates, I've been grasping a basic understanding of them with the help I've received on this forum in the past. Any help would be appreciated.
    Attached Files Attached Files
    Last edited by Pepe Le Mokko; 01-02-2020 at 04:51 AM. Reason: Removed unnecessary title part

  2. #2
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Help with Array with multiple IF's:

    Also, I've asked above with using the same range. Could multiple ranges work? Such as A1:A20 and B50:B70?

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

    Re: Help with Array with multiple IF's:

    Use variants of this:
    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(Table3133347172[Time])/(ISNUMBER(SEARCH($E$1,Table3133347172[Time]))),ROWS(E$2:E2))),"")

    see sheet.
    Attached Files Attached Files
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  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 2403
    Posts
    44,063

    Re: Help with Array with multiple IF's:

    Please attach an example of ONE scenario with multiple ranges, so I understand what you want.

  5. #5
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Array with multiple IF's:

    Attached is an example with a second range to include
    Attached Files Attached Files

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

    Re: Array with multiple IF's:

    Adapted formulae are in the sheet.

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Array with multiple IF's:

    Attempting to implement the formulas into my workbook however, this comes up with partial results. I've replaced table names/columns with actual ranges. Perhaps I interpreted the formula incorrectly. "1400" and "1700" are being searched in first range/table. "*p*" and "*-F*" are to be searched in another range/table.

    The first works correctly, listing the 1400's and 1700's as needed. *p and *-F are not.
    Last edited by Grizraz; 01-04-2020 at 02:50 AM.

  8. #8
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Array with multiple IF's:

    Attached is an exact excerpt of the workbook I'm working with. Worksheet "Map" is where I'm working with the formulas. "Data" is where I'm attempting to pull the data from.
    As stated previously, I've managed to pull 1400 and 1700 from range however the results were not correct. I believe I messed up while attempting to follow the formula provided and converting the table name and column name to range.
    Also searching "1700" will include "1700-F" for some reason I cannot get it to search only "1700".
    Attached Files Attached Files
    Last edited by Grizraz; 01-04-2020 at 03:46 AM.

  9. #9
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Array with multiple IF's:

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)

  10. #10
    Forum Contributor
    Join Date
    12-24-2018
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    104

    Re: Array with multiple IF's:


  11. #11
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,957

    Re: Array with multiple IF's:

    That's not the only place - please provide ALL links. Thanks.
    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.

+ 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] How to Multiple One Cell in an Array Value Identified by Text in Another Array
    By EverClever in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-31-2018, 03:45 PM
  2. Replies: 1
    Last Post: 01-04-2018, 01:07 PM
  3. Countifs on an Array Range using multiple criteria in an Array
    By Mysore in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2016, 04:39 PM
  4. Pull sub array from array using multiple column_num values
    By SinJinQLB in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-25-2015, 05:37 PM
  5. Multiple Criteria search and COUNT FOR TEXT across multiple sheet ARRAY's
    By akaushik25 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2014, 08:58 AM
  6. Find a value in an array and return multiple values in an adjacent array
    By tonbra in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2012, 08:35 PM

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