+ Reply to Thread
Results 1 to 14 of 14

Conditional format help help help!?!?!?

  1. #1
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Conditional format help help help!?!?!?

    cell A1 increments daily by 10. currently it sits at 5780.
    how do i apply a conditional format so that only the last 3 digits are evaluated. IE when it gets to '*900' it turns amber?

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Conditional format help help help!?!?!?

    Hello
    Maybe this CF formula might work if the last three digits are 900 or greater:

    =VALUE(RIGHT($A$1,3))>=900

    DBY

  3. #3
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    ok can you explain what the formula means first tho so i can get a better understanding please.

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Conditional format help help help!?!?!?

    Select the cell or cells where you wish to apply the formatting, then open up Conditional Formatting and apply as in the attached image. Here it has A1 as an absolute reference but you can change that depending on what you require.

    CF formatting screenshot.jpg


    It uses the RIGHT function to return the last 3 digits in the cell but as text, so the VALUE function turns it into a number to calculate the =>900.

    Hope this helps.
    DBU
    Last edited by DBY; 04-24-2015 at 03:47 PM. Reason: added further explanation

  5. #5
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    it has helped its introduced me to the right function, thank you, i can now research more to get the desired format i need. I've never really used conditional formatting before and I've kinda threw myself in at the deep end.
    Thank you kindly

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Conditional format help help help!?!?!?

    This will work if the values are in column A.

    Select the cells in column A that you want formatted if the right 3 digits make a value of 900 or more.

    In Conditional Formatting, New Rule, Use formula enter this formula and then choose the formatting that you want.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    ok so i selected the cells in D3:D22 in my case and applied the formula =RIGHT(D1,3)*1>=900 and to highlight amber and i got one that was 10899 highlighting and none of the ones that should have highlighted.
    this is why it drives me crazy lol

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional format help help help!?!?!?

    As you selected range D3:D22, then use =RIGHT(D3,3)*1>=900

    How can you use Conditional Formating.

    --In Excel 2007 and 2010, Conditional Formatting is in the Styles group on the Home tab. In Excel 2003, Conditional Formatting is on the Format menu. See here how you can work using CF.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --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.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  9. #9
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    shhhhhh right my god I'm stupid lo. where did you learn this stuff so i can address the root cause of my stupidity lol

  10. #10
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    can i send you the file and you have a look at it for me?

  11. #11
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    test.xlsm

    so as you can see i have applied your rule to d3 to d22 i intend to do th same with column f and h.
    i think i could roughly organise it so that when it goes from 10940 to 11010 by incrementing that i could make the cell then highlight red as it has gone over the 000 mark as such with the right function controlling it.

    Quick question, could i use a and input box activex, not a pop up one tho one that alway there, when i type the number of hours in say in this example if i typed in the actual hours being 10999 could i make a macro that will ignore the conditional format for say 200 hours making the fill white then after 200 hours has passed apply the conditional forma again?

  12. #12
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    **could i use an input box activex**

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional format help help help!?!?!?

    so as you can see i have applied your rule to d3 to d22 i intend to do th same with column f and h.
    Now you know how to do this.

    i think i could roughly organise it so that when it goes from 10940 to 11010 by incrementing that i could make the cell then highlight red as it has gone over the 000 mark as such with the right function controlling it.
    Not sure that i get which is the goal here.

    Quick question, could i use a and input box activex, not a pop up one tho one that alway there, when i type the number of hours in say in this example if i typed in the actual hours being 10999 could i make a macro that will ignore the conditional format for say 200 hours making the fill white then after 200 hours has passed apply the conditional forma again?
    You'll need to start a new thread in VBA section for this and pls make sure that will have a better title than this one.

  14. #14
    Registered User
    Join Date
    12-20-2012
    Location
    uk
    MS-Off Ver
    Excel mac
    Posts
    36

    Re: Conditional format help help help!?!?!?

    it was a title of despair which attracted you lol many 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. Replies: 7
    Last Post: 03-24-2015, 07:44 AM
  2. Replies: 3
    Last Post: 02-24-2015, 02:58 AM
  3. Replies: 3
    Last Post: 05-15-2013, 12:16 AM
  4. Replies: 2
    Last Post: 09-26-2012, 04:43 AM
  5. Replies: 0
    Last Post: 05-20-2011, 02:33 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