Average of text

BradleyS

Active Member
Joined
Oct 28, 2006
Messages
333
Office Version
  1. 2010
Platform
  1. Windows
Is it possible in XL2003 to get an average based on text values.

For example in each row in a single column I have text values like: Single, Married, Divorced, etc...

Can I get a single result return in text format for the average text data recorded in that column.

A2 = Single
A3 = Married
A4 = Single
A5 = Divorced
A6 = Single

i.e. the total majority of data = Single
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Is it possible in XL2003 to get an average based on text values.

For example in each row in a single column I have text values like: Single, Married, Divorced, etc...

Can I get a single result return in text format for the average text data recorded in that column.

A2 = Single
A3 = Married
A4 = Single
A5 = Divorced
A6 = Single

i.e. the total majority of data = Single
This array formula** will return the entry that appears the most often. If more than one different entry appears the most the formula will return the first instance of the entry from top to bottom.

=INDEX(A2:A6,MODE(MATCH(A2:A6,A2:A6,0)))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,575
Members
449,039
Latest member
Arbind kumar

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