+ Reply to Thread
Results 1 to 4 of 4

Finding the first negative number in a series

  1. #1
    Registered User
    Join Date
    01-13-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    2

    Finding the first negative number in a series

    Trying to find the first negative number and showing that negative number and not showing the rest of the negative numbers using this format:
    01/01/2016 2000.00
    02/01/2016 1500.00
    03/01/2016 1000.00
    04/01/2016 500.00
    05/01/2016 0.00
    06/01/2016 (500.00)

    So, using the chart above, I need something that will show the (500.00), but not the anymore in both columns. The date column is based off the number column and the formula is pasted down the rows by 50 rows for each row. I'll have A1 show the number we start at (i.e. 2000.00), A2 will have the number we reduce by (i.e. 500.00), A3 will show the starting date (i.e. 1/1/2016). Any suggestions?

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Finding the first negative number in a series

    Welcome to the forum.

    If you just want to hide the figures, not delete them entirely, then use Conditional Formatting. From what you say, it appears that your numbers start with 2000 in cell B3. Select B3:B52 (50 rows), click Conditional FormattingNew RuleUse a formula to determine which cells to format. Enter this in the formula box:
    =AND(B3<0,B2<0)
    Click the Format button and choose to make the text white (or use the custom number format ;;; (three semi-colons) which will show the cell entirely blank).
    The figures will still be there - you just won't see them anymore.

    Does that do what you want?
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    01-13-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    2

    Re: Finding the first negative number in a series

    Yes, the conditional formatting worked. I had to adjust the formula you gave a little but it has so far worked for my instance. Thank you.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Finding the first negative number in a series

    You're welcome, glad I could help.

    As you're new, you may not know that you can mark the thread as Solved if your original question has been taken care of so others know there's an answer here. Instructions to do it are in my sig - if you could take a moment to do it, that would be appreciated. Thanks.

+ 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. Finding the last negative number in a column
    By echills in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-04-2014, 08:54 PM
  2. [SOLVED] finding a partial series of numbers within a number
    By bzl in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-05-2014, 06:23 AM
  3. [SOLVED] SUMIF positive and negative numbers - take double a negative number?
    By Zordrail in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 08:34 AM
  4. finding number series in an array
    By kman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2013, 08:53 PM
  5. Finding the next real number in a series
    By bearlieve in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2011, 02:47 PM
  6. Replies: 1
    Last Post: 11-20-2008, 01:52 AM
  7. Finding the internal index number of a Chart Series.
    By Phil Outram in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2008, 04:19 PM
  8. 2003= negative number&2004= negative number How Do I Calculate gro
    By Jason in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2005, 02:06 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