+ Reply to Thread
Results 1 to 11 of 11

formating according to how far away a value is from ideal value

Hybrid View

  1. #1
    Registered User
    Join Date
    01-16-2019
    Location
    zurich
    MS-Off Ver
    Office 2019
    Posts
    15

    Question formating according to how far away a value is from ideal value

    Formating according to how far away a value is from an ideal value. E.g. ideal value is 100, the lowest value 10 should become dark red, 20 ligther red, 30 maybe orange etc. the nearer it gets to the ideal value the greener (or less red or whatever) it becomes. The same for the other direction for numbers over 100.
    Last edited by itge13; 04-30-2019 at 10:40 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,185

    Re: formating according to how far away a value is from ideal value

    Conditional formatting is what you need.

    By the way, please do not forget to respond to those who helped you in your first thread here - I notice you haven't yet done so. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-16-2019
    Location
    zurich
    MS-Off Ver
    Office 2019
    Posts
    15

    Re: formating according to how far away a value is from ideal value

    Hi AliGW, I was too unprecise. I would like that the color is depentand on how far away the value is. I updated the question.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,185

    Re: formating according to how far away a value is from ideal value

    Yes - as I said, look at conditional formatting, in particular colour scales: https://support.office.com/en-ie/art...b-fe00f3378fb9.

  5. #5
    Registered User
    Join Date
    01-16-2019
    Location
    zurich
    MS-Off Ver
    Office 2019
    Posts
    15

    Re: formating according to how far away a value is from ideal value

    thanks for your answer, I already looked at conditional formatting but couldnt find out how to adjust the color shading according to the furtherness to the ideal value. E.g. ideal value is 100, the lowest value 10 should become dark red, 20 ligther red, 30 maybe orange etc. the nearer it gets to the ideal value the greener (or less red or whatever) it becomes. The same for the other direction for numbers over 100. (sorry English is not my first language)

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,185

    Re: formating according to how far away a value is from ideal value

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  7. #7
    Registered User
    Join Date
    01-16-2019
    Location
    zurich
    MS-Off Ver
    Office 2019
    Posts
    15

    Re: formating according to how far away a value is from ideal value

    something like this: (first line are the ideal values. The first 4 are maximum values, the optimal is below. The last one is a should be, but a bit above is ok. PS: it doesnt really matter what color it has, just that the further away the stronger i.e. the ideal values can also be yellow, above/below to green, below/above to red)
    Attached Files Attached Files
    Last edited by itge13; 04-25-2019 at 01:40 PM.

  8. #8
    Registered User
    Join Date
    01-16-2019
    Location
    zurich
    MS-Off Ver
    Office 2019
    Posts
    15

    Re: formating according to how far away a value is from ideal value

    is it not possible?

  9. #9
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: formating according to how far away a value is from ideal value

    Conditional formatting using a 3 color scale is most likely what you're looking for. I'm not sure I understand your description of the data, but you should be able to play around with the settings for the 3 color scale to achieve what you want. If you can provide more details on the data, we might be able to help further.
    If someone helped achieve your solution, consider clicking "* Add Reputation" on their post.

    If your question has been answered, mark the thread as [SOLVED] using the Thread Tools menu at the top of the thread.

  10. #10
    Registered User
    Join Date
    01-16-2019
    Location
    zurich
    MS-Off Ver
    Office 2019
    Posts
    15

    Re: formating according to how far away a value is from ideal value

    yeees this was exactly what I was searching, now I feel a bit stupid thank you
    Last edited by itge13; 04-30-2019 at 01:06 PM.

  11. #11
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: formating according to how far away a value is from ideal value

    Glad I could point you in the right direction. And never feel stupid for asking questions!

+ 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. What's the ideal way to represent this data in a chart?
    By Katie620 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-11-2018, 08:32 PM
  2. [SOLVED] An ideal graph that summarizes the situation
    By asifamanulla in forum Excel General
    Replies: 2
    Last Post: 12-18-2017, 01:11 PM
  3. Finding Ideal Schedule Times
    By mike182 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2017, 03:37 AM
  4. Vlookup for multiple resulf
    By mic1412 in forum Excel General
    Replies: 4
    Last Post: 07-22-2017, 01:59 AM
  5. stumped on ideal layout
    By tammym in forum Excel General
    Replies: 1
    Last Post: 07-06-2012, 08:21 PM
  6. use an ideal function to MATCH
    By iliasark in forum Excel General
    Replies: 10
    Last Post: 06-25-2012, 02:14 PM
  7. Ideal Tracking Log Help
    By kblaine in forum Excel General
    Replies: 2
    Last Post: 07-28-2011, 08:50 AM

Tags for this Thread

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