+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting

  1. #1
    Registered User
    Join Date
    10-20-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    58

    Conditional formatting

    I have attached a picture to try an explain what I need to do.

    I would like to put a line between the negative a positive values to indicate the breakeven point.

    I would this line to apply to the whole column. The table is 30 rows.

    I understand that I can use conditional formatting to apply the line but I cannot figure out how to write the statement.

    I want to say: =IF(AND(M1<0,N1>0)) then put a line to the left of N to show the breakeven (I know I will do this with borders no problem and there seconf and 3rd Logic is missing in the forumlae)

    Am I complicating the issue or have I missed something completely? The statement needs to be applied from B1 to P1 as the value will breakeven at different points.

    Thanks

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: Conditional formatting

    No picture... and if you don't have sensitive data rather upload example (or change names)
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    10-20-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    58

    Re: Conditional formatting

    Really sorry! did not attached as you mention.
    Attached Images Attached Images

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: Conditional formatting

    Here, try this in first cell:

    Conditional formatting -> New rule -> Use formula to determine wich cells to format -> =SIGN(A1*B1)<0

    Choose formatting (right line)

  5. #5
    Registered User
    Join Date
    10-20-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    58

    Re: Conditional formatting

    Works a treat. Applied it across the range from B1:P1.

    However, this row is number 10 in a table of 30. How do I apply the line to the entire column, so that you can see a clear line break in the table?

    Thanks

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: Conditional formatting

    Try =SIGN(A$10*B$10)<0 and pull accross table

+ 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