ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   MODE function where there are no common functions. (https://www.excelbanter.com/excel-discussion-misc-queries/237638-mode-function-where-there-no-common-functions.html)

DJFudd

MODE function where there are no common functions.
 
I have a situation where I have a list of numbers where there are no
duplicates. Instead of N?A I would like a blank cell.

Is there any way to do this with an IF statement.

Something like =if (MODE(a1.a11)="NA","",(MODE(a1.a11)))? This seems to work
when mode produces a value, but not when there are no duplicates.

T. Valko

MODE function where there are no common functions.
 
Try it like this:

=IF(ISNA(MODE(A1:A11)),"",MODE(A1:A11))

--
Biff
Microsoft Excel MVP


"DJFudd" wrote in message
...
I have a situation where I have a list of numbers where there are no
duplicates. Instead of N?A I would like a blank cell.

Is there any way to do this with an IF statement.

Something like =if (MODE(a1.a11)="NA","",(MODE(a1.a11)))? This seems to
work
when mode produces a value, but not when there are no duplicates.





All times are GMT +1. The time now is 06:21 AM.

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