Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to assign "" for any error on frequency analysis?

Does anyone have any suggestion on how to assign "" for any error on
frequency analysis? such as
{=frequency(A:A,B:B)}
in case any error within column A or B, then it will display error on
frequency analysis.
I try following statement to avoid error, but it does not work.
{=IF(ISERROR(frequency(A:A,B:B)),"",frequency(A:A, B:B))}
Does anyone have any suggestions?
Thank you in advance
Eric

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to assign "" for any error on frequency analysis?

If you have logical errors in your data_array you can account for them like
this:

rng1 = data_array
rng2 = bins_array

Array entered:

=FREQUENCY(IF(ISNUMBER(rng1),rng1),rng2)

Note that you can't use entire columns as range references.

If you have logical errors in both the data_array *and* the bins_array you
can't "trap" those errors because they are not really errors being generated
by FREQUENCY. The bins are still being calculated properly and any errors
are ignored but since the formula is entered as an array the error values
are appended to the end of the histogram.

You would need to use conditional formatting to "hide" them.

Biff

"Eric" wrote in message
...
Does anyone have any suggestion on how to assign "" for any error on
frequency analysis? such as
{=frequency(A:A,B:B)}
in case any error within column A or B, then it will display error on
frequency analysis.
I try following statement to avoid error, but it does not work.
{=IF(ISERROR(frequency(A:A,B:B)),"",frequency(A:A, B:B))}
Does anyone have any suggestions?
Thank you in advance
Eric



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to assign "" for any error on frequency analysis?

If you have logical errors in both the data_array *and* the bins_array you
can't "trap" those errors because they are not really errors being
generated by FREQUENCY. The bins are still being calculated properly and
any errors are ignored but since the formula is entered as an array the
error values are appended to the end of the histogram.

You would need to use conditional formatting to "hide" them.


*OR*

When you enter the formula, only enter it in an array of cells equal to the
size of the count of your bins_array +1.

Biff

"T. Valko" wrote in message
...
If you have logical errors in your data_array you can account for them
like this:

rng1 = data_array
rng2 = bins_array

Array entered:

=FREQUENCY(IF(ISNUMBER(rng1),rng1),rng2)

Note that you can't use entire columns as range references.

If you have logical errors in both the data_array *and* the bins_array you
can't "trap" those errors because they are not really errors being
generated by FREQUENCY. The bins are still being calculated properly and
any errors are ignored but since the formula is entered as an array the
error values are appended to the end of the histogram.

You would need to use conditional formatting to "hide" them.

Biff

"Eric" wrote in message
...
Does anyone have any suggestion on how to assign "" for any error on
frequency analysis? such as
{=frequency(A:A,B:B)}
in case any error within column A or B, then it will display error on
frequency analysis.
I try following statement to avoid error, but it does not work.
{=IF(ISERROR(frequency(A:A,B:B)),"",frequency(A:A, B:B))}
Does anyone have any suggestions?
Thank you in advance
Eric





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to assign "" for any error on frequency analysis?

Thank you very much for your suggestions
Eric

"T. Valko" wrote:

If you have logical errors in both the data_array *and* the bins_array you
can't "trap" those errors because they are not really errors being
generated by FREQUENCY. The bins are still being calculated properly and
any errors are ignored but since the formula is entered as an array the
error values are appended to the end of the histogram.

You would need to use conditional formatting to "hide" them.


*OR*

When you enter the formula, only enter it in an array of cells equal to the
size of the count of your bins_array +1.

Biff

"T. Valko" wrote in message
...
If you have logical errors in your data_array you can account for them
like this:

rng1 = data_array
rng2 = bins_array

Array entered:

=FREQUENCY(IF(ISNUMBER(rng1),rng1),rng2)

Note that you can't use entire columns as range references.

If you have logical errors in both the data_array *and* the bins_array you
can't "trap" those errors because they are not really errors being
generated by FREQUENCY. The bins are still being calculated properly and
any errors are ignored but since the formula is entered as an array the
error values are appended to the end of the histogram.

You would need to use conditional formatting to "hide" them.

Biff

"Eric" wrote in message
...
Does anyone have any suggestion on how to assign "" for any error on
frequency analysis? such as
{=frequency(A:A,B:B)}
in case any error within column A or B, then it will display error on
frequency analysis.
I try following statement to avoid error, but it does not work.
{=IF(ISERROR(frequency(A:A,B:B)),"",frequency(A:A, B:B))}
Does anyone have any suggestions?
Thank you in advance
Eric






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to assign "" for any error on frequency analysis?

You're welcome!

Biff

"Eric" wrote in message
...
Thank you very much for your suggestions
Eric

"T. Valko" wrote:

If you have logical errors in both the data_array *and* the bins_array
you
can't "trap" those errors because they are not really errors being
generated by FREQUENCY. The bins are still being calculated properly
and
any errors are ignored but since the formula is entered as an array the
error values are appended to the end of the histogram.

You would need to use conditional formatting to "hide" them.


*OR*

When you enter the formula, only enter it in an array of cells equal to
the
size of the count of your bins_array +1.

Biff

"T. Valko" wrote in message
...
If you have logical errors in your data_array you can account for them
like this:

rng1 = data_array
rng2 = bins_array

Array entered:

=FREQUENCY(IF(ISNUMBER(rng1),rng1),rng2)

Note that you can't use entire columns as range references.

If you have logical errors in both the data_array *and* the bins_array
you
can't "trap" those errors because they are not really errors being
generated by FREQUENCY. The bins are still being calculated properly
and
any errors are ignored but since the formula is entered as an array the
error values are appended to the end of the histogram.

You would need to use conditional formatting to "hide" them.

Biff

"Eric" wrote in message
...
Does anyone have any suggestion on how to assign "" for any error on
frequency analysis? such as
{=frequency(A:A,B:B)}
in case any error within column A or B, then it will display error on
frequency analysis.
I try following statement to avoid error, but it does not work.
{=IF(ISERROR(frequency(A:A,B:B)),"",frequency(A:A, B:B))}
Does anyone have any suggestions?
Thank you in advance
Eric










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
Shortcut key for "Paste Options" and "Error Checking" buttons? johndog Excel Discussion (Misc queries) 1 October 6th 06 11:56 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
"assign macro" not an option from short menu SteveJ Excel Discussion (Misc queries) 2 May 18th 06 05:55 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
unable to load "Excel" analysis toolpak tried the tools and brows excel analysis toolpak Excel Discussion (Misc queries) 4 November 11th 05 05:01 AM


All times are GMT +1. The time now is 02:35 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"