Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Return duplicate max values in same cell

Hello,
I have a spreadsheet where column C a user must select a response of A,B,C.
At the bottom of the response list I have 3 cells with a formulae in each,
=COUNTIF(C5:C65,"A")
=COUNTIF(C5:C65,"B")
=COUNTIF(C5:C65,"C")
then below that a summary cell:
=MAX(C81:C83), which returns the counted number of times an option is
selected.
I then have a results cell with this formulae:
=IF(($C$84=$C$81),"A",IF(($C$84=$C$82),"B",IF(($C$ 84=$C$83),"C",""))). This
returns the 'users overall response'.

My question is - there may be times two responses have the same number of
selections - is there a way of return both results in one cell ie, A&B

Thank you in advance guys.
Caren.




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Return duplicate max values in same cell

try this

=IF(C84=C81,"A","")&IF(C84=C82,"B","")&IF(C84=C83, "C","")


On Feb 12, 4:06*pm, Caren wrote:
Hello,
I have a spreadsheet where column C a user must select a response of A,B,C.
At the bottom of the response list I have 3 cells with a formulae in each,
=COUNTIF(C5:C65,"A")
=COUNTIF(C5:C65,"B")
=COUNTIF(C5:C65,"C")
then below that a summary cell:
=MAX(C81:C83), which returns the counted number of times an option is
selected.
I then have a results cell with this formulae:
=IF(($C$84=$C$81),"A",IF(($C$84=$C$82),"B",IF(($C$ 84=$C$83),"C",""))). *This
returns the 'users overall response'. *

My question is - there may be times two responses have the same number of
selections - is there a way of return both results in one cell ie, A&B

Thank you in advance guys.
Caren.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Return duplicate max values in same cell

Thank you worked just fine.
Caren.

"muddan madhu" wrote:

try this

=IF(C84=C81,"A","")&IF(C84=C82,"B","")&IF(C84=C83, "C","")


On Feb 12, 4:06 pm, Caren wrote:
Hello,
I have a spreadsheet where column C a user must select a response of A,B,C.
At the bottom of the response list I have 3 cells with a formulae in each,
=COUNTIF(C5:C65,"A")
=COUNTIF(C5:C65,"B")
=COUNTIF(C5:C65,"C")
then below that a summary cell:
=MAX(C81:C83), which returns the counted number of times an option is
selected.
I then have a results cell with this formulae:
=IF(($C$84=$C$81),"A",IF(($C$84=$C$82),"B",IF(($C$ 84=$C$83),"C",""))). This
returns the 'users overall response'.

My question is - there may be times two responses have the same number of
selections - is there a way of return both results in one cell ie, A&B

Thank you in advance guys.
Caren.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Formula based Cell Content Return Unique Consecutive Duplicate Values Sam via OfficeKB.com Excel Worksheet Functions 8 February 7th 07 11:33 PM
Return Unique Consecutive Duplicate Values across Single Row Sam via OfficeKB.com Excel Worksheet Functions 22 February 6th 07 11:44 AM
Return Unique Duplicate Numeric Values across Single Row Sam via OfficeKB.com Excel Worksheet Functions 7 January 21st 07 02:51 AM
Find Duplicate Values and Return Another Value [email protected] Excel Worksheet Functions 2 January 18th 07 05:25 PM
Why do my cell values/words duplicate themselves over and over? stevow84 Excel Discussion (Misc queries) 1 January 31st 06 09:44 PM


All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"