+ Reply to Thread
Results 1 to 4 of 4

Histogram (Analysis Toolpak) - can I make it ignore non-numerical or logical values?

  1. #1
    Registered User
    Join Date
    04-30-2013
    Location
    London, United States
    MS-Off Ver
    Excel 2013
    Posts
    74

    Histogram (Analysis Toolpak) - can I make it ignore non-numerical or logical values?

    Hi,

    basically, the title says all

    I have some data, that, in-between, has some non-numeric (logical) data: FALSE;


    I.e. the data is like


    10
    20
    10
    30
    10
    FALSE
    10
    20
    30



    etc etc.


    When I use the histogram maker in the Data Analysis Toolpak and select as "input range" the data above, it says that "the data contains non-numeric data."

    Is it possible to somehow do this directly, ignoring the non-numeric AND/OR logical data? or will I have to use another column, and copy the values over, leaving out the logical values with some IF clause.

    Thanks!!


  2. #2
    Registered User
    Join Date
    04-30-2013
    Location
    London, United States
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: Histogram (Analysis Toolpak) - can I make it ignore non-numerical or logical values?

    If I HAVE to () I would also probably be open to using VBA, but, if I can, I would like to stay in "native" excel

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Histogram (Analysis Toolpak) - can I make it ignore non-numerical or logical values?

    According to http://office.microsoft.com/en-us/ex...in=HA010342655 the FREQUENCY() worksheet function ignores text. If you could perhaps change those boolean values to a text string [=IF(A2,A2,"none")], then you might be able to use the FREQUENCY() function to populate the frequency for each bin, then build your histogram off of that.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    04-30-2013
    Location
    London, United States
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: Histogram (Analysis Toolpak) - can I make it ignore non-numerical or logical values?

    Yep, I did something like that. Thanks again, Shorty!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1