+ Reply to Thread
Results 1 to 3 of 3

INDEX, Condition for Array

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    INDEX, Condition for Array

    I need , INDEX(Array, Row, Col, 0) but ONLY if cell has value

    IF (INDEX(Array, Row, Col, 0)<>"",INDEX(Array, Row, Col, 0),"")

    Can the Condition be moved to Array ? like IF(Array<>"",INDEX(Array,Row, Col, 0)) ?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,874

    Re: INDEX, Condition for Array

    I don't see what you are trying to do in your imaginary formula that is not accomplished by the real formula.

    Instead of assuming the solution, it would be better if you could describe what your data looks like and what you are actually trying to do. Then we can propose a solution, which may be totally different than what you thinking is the solution.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: INDEX, Condition for Array

    INDEX generally has 3 arguments, not 4 (unless you are selecting from multiple ranges)
    You have a 0 at the end, which is not needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Use Index Match or lookup to create array from array
    By kinemagichemistry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-01-2018, 02:27 PM
  2. [SOLVED] If range contains one of the values in the array, return the index of the array
    By LawCarrot in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-01-2018, 04:12 AM
  3. Replies: 3
    Last Post: 04-02-2016, 08:16 PM
  4. Replies: 5
    Last Post: 12-02-2015, 05:23 AM
  5. [SOLVED] Return the Index of an array BUT with an IF condition (or other filter...), Thanks!
    By bbernzy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2013, 02:20 PM
  6. Adding another condition to an INDEX SMALL array
    By reborn537 in forum Excel General
    Replies: 3
    Last Post: 12-21-2011, 09:27 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