Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Help with Conditional Formatting in Excel 2010

Posted on 2011-03-10
5
Medium Priority
?
222 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
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.

886 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