+ Reply to Thread
Results 1 to 7 of 7

Conditional formatting based on deviation values.

  1. #1
    Forum Contributor
    Join Date
    07-04-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2007
    Posts
    105

    Conditional formatting based on deviation values.

    Hello guys..

    i wanna ask , regarding my problem that i currently face now.

    I need to do some conditional formatting but its quite complicated than the usual one. What i need is, every time i plug in the value into F7 and downwards for example, it will be compared to the value in their respective column A accordingly.

    For example, column A may have the value such as,

    1) Ø12.26 +0.001/-.005
    2) R.20 ± 0.03
    3) Ø5.64 ± 0.03
    4) CHF 20° ± 2°

    So once the values in column F is out of the deviation in column A ( not in between plus minus value) , it will change the cell color into red for every values which are inserted not within specified range in column A. So once i type the wrong value, i will be notified immediately.

    You may refer to my attachment.

    Thanks in advance.Really appreciate your help.
    Attached Files Attached Files

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Conditional formatting based on deviation values.

    Hello pyol17,

    The formats of the deviations vary and are not constant, making it very difficult.

    It would make things far much easier if you could seperate and split the deviations into two seperate adjacent Colums, each with a Header of "Minimum" and "Maximum".

    I would suggest you consider that first. The only question remaining is how to do that with Code or Formulae, and my honest answer is, I dont know.

    Hopefully, one of the Forum Gurus, and there are many of them, will come to our rescue.

    Good Luck!
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Contributor
    Join Date
    07-04-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2007
    Posts
    105

    Re: Conditional formatting based on deviation values.

    Thnaks for your opinion.I got ur idea..

    So let say i has created a cell that can calculated the deviation value in Column E. But i want to do conditional formatting in column B, which can turn red if the value in column E is more than 100, or less than 0. (0>E>100). So everytime someone key in the wrong value in column B , he will be notified immediately.

    i got some difficulties to find the setting, because the conditional format is in column B which based on value in column C.Here is my attachment.



    Thanks in advance for entertaining my question

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Conditional formatting based on deviation values.

    to apply CF to a cell other than the 1 you want to apply it to, under new rule, select "use formula" and use this...
    =AND(ISNUMBER(E1),E1<>"",OR(E1<0,E1>100))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    07-04-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2007
    Posts
    105

    Re: Conditional formatting based on deviation values.

    Thanks dude. Really appreciate ur help. Thats all what i need!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Conditional formatting based on deviation values.

    glad to help, and thanks for the star

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Conditional formatting based on deviation values.

    @ FDibbins,

    "If you snooze you lose". I was snoozing, and you followed up and helped solving this thread!

    Baie dankie.

+ 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