Solved

Help with Conditional Formatting in Excel 2010

Posted on 2011-03-10
5
215 Views
Last Modified: 2012-05-11
Hello:

I am trying to get some conditional formating to work and I must be missing something.  I have 2 columns with % in them.  They want to add the 2 columns together and then highlight the top 3 in green.  BUT they don't want the total of the 2 % to show only the first 2 columns.

I didn't explain that very well, let me give an example:

Say this row is one of the top 3:

Row  35.4%  35.6%       The total would be 71% but they want the 35.4% and 35.6% to be shaded green and the 71% would just be a calculation used to determine the top 3.

I am attaching a file as an example.  It hopefuly makes more sense.

Thank you in advance.




 exampleTop3.xlsx
0
Comment
Question by:MeowserM
  • 3
  • 2
5 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 35095355
Hello MeowserM,

I selected the whole range A1:B21 and then used this formula in conditional formatting

=$A1+$B1>=LARGE(IF(ISNUMBER($A$1:$A$21+$B$1:$B$21),$A$1:$A$21+$B$1:$B$21),3)

see attached

regards, barry
26877400.xlsx
0
 

Author Comment

by:MeowserM
ID: 35095396
Barry -

You're awesome.  I didn't know the Large formula.

Thank you Thank you Thank you!

0
 

Author Closing Comment

by:MeowserM
ID: 35095397
Thanks again
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 35095418
No problem....

.....Oh, and I didn't mean to keep column G in there - that was just for testing purposes so you can delete that - only requires formula in conditional formatting....

barry
0
 

Author Comment

by:MeowserM
ID: 35097448
yes I didn't keep column G in the real spreadsheet.  

Much appreciated.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question