+ Reply to Thread
Results 1 to 8 of 8

Array lookup function when value < 0

  1. #1
    Registered User
    Join Date
    03-23-2017
    Location
    canada
    MS-Off Ver
    365
    Posts
    45

    Array lookup function when value < 0

    Looking for a function that returns a row/col when value < 0

    ie: return Ax when value in C1:C100 is < 0 values are descending in value

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

    Re: Array lookup function when value < 0

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-23-2017
    Location
    canada
    MS-Off Ver
    365
    Posts
    45

    Re: Array lookup function when value < 0

    See Attached: I need the Age at which the end balance (F4:F47) is less than zero


    Thanks
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,234

    Re: Array lookup function when value < 0

    Try this:

    =INDEX($A$4:$A$47,MATCH(MAX(IF($F$4:$F$47<=0,$F$4:$F$47)),$F$4:$F$47,0))

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files
    Last edited by AliGW; 05-30-2019 at 03:33 AM.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,750

    Re: Array lookup function when value < 0

    Another way.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  6. #6
    Registered User
    Join Date
    03-23-2017
    Location
    canada
    MS-Off Ver
    365
    Posts
    45

    Re: Array lookup function when value < 0

    Brilliant, both methods work

    Thanks so much!

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,750

    Re: Array lookup function when value < 0

    You are welcome. Thank you for the feedback.

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

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,234

    Re: Array lookup function when value < 0

    No pproblem.

+ 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] Table array lookup function details
    By OMICRONcc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-27-2015, 12:33 PM
  2. [SOLVED] How to use Indirect function in array lookup formula
    By PM1985 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2014, 06:58 PM
  3. [SOLVED] Array output for a LOOKUP function...
    By tipti in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2012, 12:36 AM
  4. Replies: 4
    Last Post: 11-22-2011, 04:05 AM
  5. Complex array lookup function?
    By hodeware in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-13-2011, 03:41 AM
  6. Variable Table Array in Lookup Function
    By matt_the_brum in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-04-2006, 12:07 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