+ Reply to Thread
Results 1 to 4 of 4

Retrieve data from Column A based on a 1st negative value from Column B

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Retrieve data from Column A based on a 1st negative value from Column B

    Hi.
    I have two Columns A and B. Column A has number of months in ascending order and column B has dollar values.
    What I was wished to do was display the month number from Column A when my Column B figure became a negative value.
    Any help would be greatly appreciated.
    Thanks
    edram95

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,417

    Re: Retrieve data from Column A based on a 1st negative value from Column B

    let's say you have Month Number between A1 and A12, alongside corresponding Dollar Values between B1 and B12, then the following formula, entered in C1, will give you the Month Number corresponding to the first negative Dollar Value looking top-down:

    Please Login or Register  to view this content.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Registered User
    Join Date
    10-10-2012
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Retrieve data from Column A based on a 1st negative value from Column B

    Thank you "icestationzbra".
    Formula works as desired.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Retrieve data from Column A based on a 1st negative value from Column B

    @ edram95

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, 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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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