+ Reply to Thread
Results 1 to 6 of 6

Count_Question

  1. #1
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    123

    Red face Count_Question

    Hi,

    Need your help on the following:

    I have a set of data on sites operating with different volts. volts are between 24 & 48.

    I have to perform set of criteria's calculation to understand the data more deeply. I have attached a sample set of data but in reality I have around 10000 rows of same.

    Criteria's I want to build are:
    Sites Count With > 1 24V
    Sites Count With > 2 24V
    Sites Count With > 3 24V
    Sites Count With > 4 24V

    Sites Count With > 1 48V
    Sites Count With > 2 48V
    Sites Count With > 3 48V
    Sites Count With > 4 48V

    and some other more...I have given the desired output view also.. I need to have same output through some excel formulea. Right now, I have calculated this manually.

    Thanks a lot in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161

    Re: Count_Question

    Could you possibly attach a workbook that has been saved down to xl97-2003 ?, i'd like to take a look but don't have xl2010 on this machine.
    Not all forums are the same - seek and you shall find

  3. #3
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    123

    Re: Count_Question

    here you go.. attached is 2003 version...
    Attached Files Attached Files

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Count_Question

    One route...

    First create a key, concatenating each Volt recording, eg:

    Please Login or Register  to view this content.

    Then to allow for relatively consistent formulae...

    Please Login or Register  to view this content.

    With the above in place we can proceed to summarise...

    Please Login or Register  to view this content.

    then

    Please Login or Register  to view this content.

    then

    Please Login or Register  to view this content.

    Attached is above in working form...
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    123

    Re: Count_Question

    hi,

    Thanks for the prompt reply. but this seems to be dependent on concatenation part and I dont have that comfort to increase the columns...The data set is very huge and no of variables are multiples..this does not seems to be feasible to me... Can I have some other short and non-dependent formulae to achieve the same...

    Thanks a lot

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Count_Question

    A single cell formula devoid of helpers would IMO require use of a Volatile SUMPRODUCT / Array approach and if as you say the dataset is vast that will pretty much lead to your file imploding upon itself in terms of calculation times.

    If you don't want to use Concatenation (too many columns) then another (far) simpler route would be to use three calculations adjacent to each row, namely:

    Please Login or Register  to view this content.

    returning count of 24, 48 and any of 24/48 respectively

    From these three cells you can determine the remainder for yourself I think.
    (this is a much better route than that advised previously)

    If you can't do that then I'm afraid you should really be looking at User Defined Functions (VBA) or simply conduct the calcs on another sheet where you do have space.

    Regardless it is important you accept that XL is not a purpose built data warehouse - if you have mass data as implied then you should be using one to store your data and using SQL to analyse.
    Attached Files Attached Files

+ 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