+ Reply to Thread
Results 1 to 17 of 17

Formula to identify negative#

  1. #1
    Registered User
    Join Date
    09-27-2021
    Location
    Detroit, MI
    MS-Off Ver
    2016
    Posts
    7

    Formula to identify negative#

    Thanks for considering to help me. I have a table that includes an AGE row and a FUNDS row. If my FUNDS row goes negative, I want to report the AGE at which the FUNDS go negative. It is a large spreadsheet with many calculations and random returns, so I seek to know the time when the funds go negative.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Formula to identify negative#

    There are instructions at the top of the page explaining how to attach your sample workbook.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    09-27-2021
    Location
    Detroit, MI
    MS-Off Ver
    2016
    Posts
    7

    Re: Formula to identify negative#

    Sorry, but when I tried to attach a sample, I received an IP Error, stating I needed to Whitelist my IP (VERY ODD). So in the most basic form: Row A = Age, Row B = Funds. I want to create a cell with a formula that inspects the FUNDS row looking for a negative (out of funds) number. I want it to tell me the AGE of the negative number. Age is 60-65, Funds is 10, 6, 2, -2, 0, 0. I would want the results of the formula to find 63 as the result. I hope this helps.
    Last edited by AliGW; 09-27-2021 at 06:20 AM. Reason: PLEASE don't quote unnecessarily!

  4. #4
    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,981

    Re: Formula to identify negative#

    Never heard of that before! Please explain exactly what steps you took to get to that message. Is there anything odd about your workbook? Did you prepare a sample, or were you trying to attach the entire dataset?
    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.

  5. #5
    Registered User
    Join Date
    09-27-2021
    Location
    Detroit, MI
    MS-Off Ver
    2016
    Posts
    7

    Re: Formula to identify negative#

    I created a very small two row, 5 column spreadsheet and attached it per the process listed. When I hit submit to my Edit, I got a message..... Not sure if I can replicated. Just need this simple excel - vlookup or other formula help

  6. #6
    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,981

    Re: Formula to identify negative#

    What name did you use for the workbook?

    I appreciate you need help, and I and others will be willing to do so as soon as we have the information we need. I cannot visualise from your description what you want. Under normal circumstances, I would not ask for a screenshot, but if you can attach one, and really can''t attach the workbook, then please do so.

    I'd still like to get to the bottom of the issue in case it happens again to another member. I am sure you will be willing to help us on this, too. Thanks.

  7. #7
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Formula to identify negative#

    Maybe

    =Lookup( 1 , --( Range of Funds < 0 ) , Range of Age )

    for example your age in A5:A10 , fund in B5:B10 the formula will
    =Lookup( 1 , --( B5:B10 < 0 ) , A5:A10 )

    Regards.

  8. #8
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Formula to identify negative#

    Please Login or Register  to view this content.
    -6 >>>>> G7 = 1st cell with a negative value, so that row is 7 minus 1 = 6
    In Excel2016 Shift+Ctrl+Enter instead of Enter (matrixfomula)
    Attached Files Attached Files
    Last edited by bsalv; 09-27-2021 at 06:45 AM.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  9. #9
    Registered User
    Join Date
    09-27-2021
    Location
    Detroit, MI
    MS-Off Ver
    2016
    Posts
    7

    Re: Formula to identify negative#

    Still struggling with this (Brain Fog - Damn you COVID). Cant upload a spreadsheet so I will try to explain better.
    ROW A = Ages: I have a row of ages starting at 60 through 95.
    ROW B = FUNDS: I have a row of calculated numbers that will generate either a positive amount, or a negative amount.
    If a number in ROW B (FUNDS) is negative, I want the output to be the first instance to present the AGE from ROW A as my output. It needs to ignore the remaining numbers. For example, if the third calculation is a negative number, I want it to present 63, even if there are positive numbers after the initial negative number.

    I will create this formula in Row D of a different Tab (not that it matters, it could be a different cell on the same sheet).

    Thanks again for helping this Brain Fogged newbie.

  10. #10
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Formula to identify negative#

    With your data arranged per post #9:

    funds.png

    I think the following in B5 works:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is an array formula and needs to be committed via CTRL-SHIFT-ENTER

    See the attached workbook

    Let us know if this helps.
    Attached Files Attached Files
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  11. #11
    Registered User
    Join Date
    09-27-2021
    Location
    Detroit, MI
    MS-Off Ver
    2016
    Posts
    7

    Re: Formula to identify negative#

    That did not work unfortunately.

  12. #12
    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,981

    Re: Formula to identify negative#

    Explain "did not work" - in what way? Details, please.

    Are you still unable to attach a workbook? Are you still getting the error message you talked about? Just following up post #6 ...

  13. #13
    Registered User
    Join Date
    09-27-2021
    Location
    Detroit, MI
    MS-Off Ver
    2016
    Posts
    7

    Re: Formula to identify negative#

    Quote Originally Posted by GeoffW283 View Post
    With your data arranged per post #9:

    I think the following in B5 works:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is an array formula and needs to be committed via CTRL-SHIFT-ENTER

    See the attached workbook

    Let us know if this helps.
    OUTSTANDING - I did finally get this formula to deliver exactly what I needed. many thanks European Jeff

  14. #14
    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,981

    Re: Formula to identify negative#

    Before you go, would you please reply to post #12 (regarding adding an attachment), please? Thanks.

  15. #15
    Registered User
    Join Date
    09-27-2021
    Location
    Detroit, MI
    MS-Off Ver
    2016
    Posts
    7

    Re: Formula to identify negative#

    Thanks Ali for checking in, Post #10 from Geoff worked via an array. All Good

  16. #16
    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,981

    Re: Formula to identify negative#

    That doesn't answer my question! Please don't ignore it ...

    When you've done that, please mark the thread as solve (Thread Tools top right).

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Last edited by AliGW; 09-28-2021 at 08:00 AM.

  17. #17
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Formula to identify negative#

    Quote Originally Posted by jbryngelson View Post
    European Jeff
    Well observed. And before Ali asks, yes, my current profile location is correct

    Thanks for the added reputation jbryngelson

+ 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. Replies: 7
    Last Post: 07-10-2018, 01:05 PM
  2. Need a formula to change a negative time to negative decimal
    By Renejorgensen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-12-2016, 11:51 AM
  3. column comparison, trying to identify identify identical columns.
    By Jowel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2014, 04:12 AM
  4. Conditional Formatting: Identify if negative number exists.
    By chamber12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-13-2012, 08:03 PM
  5. Replies: 5
    Last Post: 05-12-2009, 04:47 PM
  6. Identify Cells with Negative Values
    By smlaff01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2008, 09:43 AM
  7. Excel Formula Negative/Negative =+%
    By BigDon in forum Excel General
    Replies: 1
    Last Post: 05-31-2005, 09:05 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