Solved

Help with Conditional Formatting in Excel 2010

Posted on 2011-03-10
5
218 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

751 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