+ Reply to Thread
Results 1 to 15 of 15

Conditional formatting

  1. #1
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Unhappy Conditional formatting

    Hi!

    So, last week I asked for help in this matter and it got solved... but now the file has changed a little bit and I can't apply the same formulas shirleyxls gave me.

    http://www.excelforum.com/excel-form...he-symbol.html


    The goal is the same as in the other file. The difference is this file is bigger and as more columns.


    Any help?

    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-08-2011
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2007 to 2016
    Posts
    456

    Re: Conditional formatting

    Hi again,

    I think your only problem is where you have set the "Applies to" range. If you go to manage rules and select "This worksheet" (under Show formatting rules for) you will see that you have the same formatting applied to lots of different sets of rows, and some of the have #REF errors. My suggestion would be to just keep one set of rules and apply these to all the rows you need as a single range.

    If you're not sure what I mean, just reply and I will try to clean it for you.
    Excel is a constant learning process and it's great to help each other. If any of us have helped you today, a click on the "reputation" star on the left is appreciated.

  3. #3
    Valued Forum Contributor
    Join Date
    01-08-2011
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2007 to 2016
    Posts
    456

    Re: Conditional formatting

    I also just noticed that your text in column B has a space in front of each word, so you would need to adjust the LEFT statements to take this into account.

  4. #4
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Re: Conditional formatting

    Oh thanks! that really solved almost of the issue
    I really don't know what I would be doing without you, i'm feeling really dumb x).

    The "yellow" conditional part still doesn't work. I think that is because the cell where de + is doesn't have a + introduced by hand. I'll try to show you:

    Capturar.PNG
    ds.PNG


    Is there a way to overcome this issue? Or should I try another parameter? Maybe if we put instead of "LEFT" (on the +) something like "positive numbers"?
    Last edited by vittiglio; 07-12-2016 at 11:40 AM.

  5. #5
    Valued Forum Contributor
    Join Date
    01-08-2011
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2007 to 2016
    Posts
    456

    Re: Conditional formatting

    Ah so it's actually just a positive number. So instead of checking for the + sign, just check to see if it is greater than 0. So something like this:

    =AND(LEFT($B13,1)="T",$C13>0)

    Not "dumb", just learning We all learn more from our mistakes

  6. #6
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Re: Conditional formatting

    Thanks shirleyxls!

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Conditional formatting

    Quote Originally Posted by shirleyxls View Post
    =AND(LEFT($B13,1)="T",$C13>0)
    Tip...

    If you omit the number of characters argument in the LEFT/RIGHT functions it will default to 1.

    A1 = This

    =LEFT(A1) = T
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  8. #8
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Re: Conditional formatting

    Capturar.PNG

    thanks for the tip Tony Valko!

    So, now this happened... I made the corrections to the "yellow" condition and it solved the issue, but then the "green" one got crazy... any ideas? I tried re-writing it and changing the words to " Remessa Comerciante" with 20 characters, but he still goes for the " Débito"...

  9. #9
    Valued Forum Contributor
    Join Date
    01-08-2011
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2007 to 2016
    Posts
    456

    Re: Conditional formatting

    Hi, sorry for the delay - been away from the computer for a few days

    Are you still stuck with this one?

    I tried it on the last example you loaded and it works fine. The English version of the formula looks like:

    =LEFT($B14,8)=" Remessa" (notice the space before Remessa, which I can't see if you have in your formula)

  10. #10
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Re: Conditional formatting

    Hummm. This is weird. Let me try formatting everything again and I'll tell you if something changes.

    Thanks

  11. #11
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Re: Conditional formatting

    So I've tried everything you told me to and nothing seems to work.
    The green one just doens't work properly.

    I'm sending you the original file.
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Conditional formatting

    Please Login or Register  to view this content.
    Change this.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  13. #13
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Re: Conditional formatting

    thanks popipipo !!

    now it works. :D

    Could you just explain me why so I don't make the same mistake again?

  14. #14
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Conditional formatting

    The formula (=LEFT($B2;8)=" Remessa") and range (=$A$2:$G$16) should start in the same row

  15. #15
    Registered User
    Join Date
    07-05-2016
    Location
    Lisbon
    MS-Off Ver
    2016
    Posts
    10

    Re: Conditional formatting

    Thanks a lot to both of you!

+ 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: 9
    Last Post: 03-07-2016, 10:39 AM
  2. Conditional Formatting Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  3. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  4. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  5. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. Replies: 3
    Last Post: 05-15-2012, 04:13 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