Conditional Formatting + Counting Cells

jbird10

New Member
Joined
Jul 28, 2011
Messages
8
I have been working on this but I can't seem to get it working properly so I figured I would ask for help.

I have an excel spreadsheet in which I want to distinguish the first, second and third highest ranked cells in a column. At the moment I am doing conditional formattinig using =LARGE and putting a different color for 1st, 2nd, and 3rd.

The next step I want to do is to put a column at the end of the data that adds the number of times each row had data that was 1st, 2nd, or 3rd. I will upload a picture so hopefully that makes this explaining a little easier.

Thanks for any help.

http://imageshack.us/f/220/exampledl.jpg/
exampledl.jpg
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to MrExcel.

In D2:

=SUM($A2=LARGE($A$2:$A$26,COLUMN(A$1)-COLUMN($A$1)+1),$B2=LARGE($B$2:$B$26,COLUMN(A$1)-COLUMN($A$1)+1),$C2=LARGE($C$2:$C$26,COLUMN(A$1)-COLUMN($A$1)+1))

copied down and across.
 
Upvote 0
or you could use (A4=LARGE(A$4:A$17,1))+(B4=LARGE(B$4:B$17,1))+(C4=LARGE(C$4:C$17,1)) and change range and ranking as required before you copy down
 
Upvote 0
Thank you for the quick responses.

Andrew what does the end part of the formula mean?

And if I have a whole bunch of columns I want to sum just rinse and repeat?

Thanks again.
 
Upvote 0
What do you mean by "the end part of the formula"? If you mean:

COLUMN(A$1)-COLUMN($A$1)+1

it just sets the second argument for LARGE in such a way that the formula can be copied across. Copied across it becomes:

COLUMN(B$1)-COLUMN($A$1)+1 = 2
COLUMN(C$1)-COLUMN($A$1)+1 = 3
 
Upvote 0
So far so good, it worked in one worksheet, but when I tried to copy it into another worksheet I get "#NUM".
 
Upvote 0
It's for a work project, so I don't think I can upload it here.

Perhaps the problem comes in the cells without the $? I don't understand what that is referring to right after the sum.
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,153
Members
452,891
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top