#1   Report Post  
sip8316
 
Posts: n/a
Default Using MODE

Is there a way to display some arbitrary word or symbol in a cell if there is
no mode.

I use this to take the mode: =MODE(IF(BV35:BV40<0,BV35:BV40)) of all non
zero answers, but sometimes there are only one non zero numbersand sometimes
there are multiple non zero numbers but only one of each number.

How do I get it to display " ", or "no mode", etc. Instead of ginving me the
#N/A error in the cell.

Thanks

  #2   Report Post  
galimi
 
Posts: n/a
Default

Try the following to test for #VALUE and #N/A

=IF(OR(ISERR(MODE(D9)),ISNA(MODE(D9))),"No Mode",MODE("D9"))
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"sip8316" wrote:

Is there a way to display some arbitrary word or symbol in a cell if there is
no mode.

I use this to take the mode: =MODE(IF(BV35:BV40<0,BV35:BV40)) of all non
zero answers, but sometimes there are only one non zero numbersand sometimes
there are multiple non zero numbers but only one of each number.

How do I get it to display " ", or "no mode", etc. Instead of ginving me the
#N/A error in the cell.

Thanks

  #3   Report Post  
sip8316
 
Posts: n/a
Default

That does get rid of the Error when I put it in,

But when I use that it takes the mode of all the values in the column. I
want to only take the mode of the non zero values in the column like I was
before,

Scott

"galimi" wrote:

Try the following to test for #VALUE and #N/A

=IF(OR(ISERR(MODE(D9)),ISNA(MODE(D9))),"No Mode",MODE("D9"))
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"sip8316" wrote:

Is there a way to display some arbitrary word or symbol in a cell if there is
no mode.

I use this to take the mode: =MODE(IF(BV35:BV40<0,BV35:BV40)) of all non
zero answers, but sometimes there are only one non zero numbersand sometimes
there are multiple non zero numbers but only one of each number.

How do I get it to display " ", or "no mode", etc. Instead of ginving me the
#N/A error in the cell.

Thanks

  #4   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=IF(ISNA(MODE(IF(A1:A10<0,A1:A10))),"No
Mode",MODE(IF(A1:A10<0,A1:A10)))

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
"sip8316" wrote:

Is there a way to display some arbitrary word or symbol in a cell if there is
no mode.

I use this to take the mode: =MODE(IF(BV35:BV40<0,BV35:BV40)) of all non
zero answers, but sometimes there are only one non zero numbersand sometimes
there are multiple non zero numbers but only one of each number.

How do I get it to display " ", or "no mode", etc. Instead of ginving me the
#N/A error in the cell.

Thanks

  #5   Report Post  
sip8316
 
Posts: n/a
Default

Thanks Domenic,

That worked great

Scott

"Domenic" wrote:

Try...

=IF(ISNA(MODE(IF(A1:A10<0,A1:A10))),"No
Mode",MODE(IF(A1:A10<0,A1:A10)))

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
"sip8316" wrote:

Is there a way to display some arbitrary word or symbol in a cell if there is
no mode.

I use this to take the mode: =MODE(IF(BV35:BV40<0,BV35:BV40)) of all non
zero answers, but sometimes there are only one non zero numbersand sometimes
there are multiple non zero numbers but only one of each number.

How do I get it to display " ", or "no mode", etc. Instead of ginving me the
#N/A error in the cell.

Thanks


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
How do I turn off [Group] mode? tothemax Excel Discussion (Misc queries) 4 April 2nd 23 08:13 PM
Mode Function with Criteria DaveShoe Excel Worksheet Functions 1 April 6th 05 06:22 PM
Unable to open excel sheet in Protected mode from VB 6.0 ourspt Setting up and Configuration of Excel 0 January 26th 05 11:07 AM
Combo Box goes to edit mode even if design mode is in OFF position Chas Excel Discussion (Misc queries) 0 January 7th 05 07:21 PM
coverting answer from Radian mode to degree mode Xmastrzman Excel Worksheet Functions 1 November 10th 04 04:45 PM


All times are GMT +1. The time now is 01:30 AM.

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

About Us

"It's about Microsoft Excel"