ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Returning colours from a function (https://www.excelbanter.com/excel-worksheet-functions/17781-returning-colours-function.html)

Annie1904

Returning colours from a function
 
I have a spreadsheet with 4 columns - the first contains names of
individuals, and the other 3 are choices they can make. I put a tick next to
the names in the column(s) of their choices. Then I add the 3 choice columns
using a COUNTA function. I'd like to highlight the column with the highest
total in a different colour, so that it stands out. I've looked at
conditional formatting, but this doesn't seen to give the results I need. I
know I've seen this before using a function - possibly IF (where content is
greater than both of he other columns, or greater than one and equal to
another) but haven't a clue how to write this! HELP!

Don Guillett

Try selecting all three and use formula=
=if(i1=max($i$1:$k$1),1,"") and format as desired

--
Don Guillett
SalesAid Software

"Annie1904" wrote in message
...
I have a spreadsheet with 4 columns - the first contains names of
individuals, and the other 3 are choices they can make. I put a tick next

to
the names in the column(s) of their choices. Then I add the 3 choice

columns
using a COUNTA function. I'd like to highlight the column with the

highest
total in a different colour, so that it stands out. I've looked at
conditional formatting, but this doesn't seen to give the results I need.

I
know I've seen this before using a function - possibly IF (where content

is
greater than both of he other columns, or greater than one and equal to
another) but haven't a clue how to write this! HELP!




Annie1904

THANK YOU - THANK YOU - THANK YOU! You don't know how many people in my
workplace (of 250) I've asked and only got blank looks or people backing away
from me - I got the answer from you in about 30 minutes! I'm going to find
lots of uses for this. AND I'll be using the discussion groups a lot more in
future!

"Don Guillett" wrote:

Try selecting all three and use formula=
=if(i1=max($i$1:$k$1),1,"") and format as desired

--
Don Guillett
SalesAid Software

"Annie1904" wrote in message
...
I have a spreadsheet with 4 columns - the first contains names of
individuals, and the other 3 are choices they can make. I put a tick next

to
the names in the column(s) of their choices. Then I add the 3 choice

columns
using a COUNTA function. I'd like to highlight the column with the

highest
total in a different colour, so that it stands out. I've looked at
conditional formatting, but this doesn't seen to give the results I need.

I
know I've seen this before using a function - possibly IF (where content

is
greater than both of he other columns, or greater than one and equal to
another) but haven't a clue how to write this! HELP!





Don Guillett

Glad to help. Someone once sent me a thank you case of dog food. I don't
have a dog but my son does.

--
Don Guillett
SalesAid Software

"Annie1904" wrote in message
...
THANK YOU - THANK YOU - THANK YOU! You don't know how many people in my
workplace (of 250) I've asked and only got blank looks or people backing

away
from me - I got the answer from you in about 30 minutes! I'm going to

find
lots of uses for this. AND I'll be using the discussion groups a lot more

in
future!

"Don Guillett" wrote:

Try selecting all three and use formula=
=if(i1=max($i$1:$k$1),1,"") and format as desired

--
Don Guillett
SalesAid Software

"Annie1904" wrote in message
...
I have a spreadsheet with 4 columns - the first contains names of
individuals, and the other 3 are choices they can make. I put a tick

next
to
the names in the column(s) of their choices. Then I add the 3 choice

columns
using a COUNTA function. I'd like to highlight the column with the

highest
total in a different colour, so that it stands out. I've looked at
conditional formatting, but this doesn't seen to give the results I

need.
I
know I've seen this before using a function - possibly IF (where

content
is
greater than both of he other columns, or greater than one and equal

to
another) but haven't a clue how to write this! HELP!








All times are GMT +1. The time now is 11:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com