Amateur here, asking "How do I change this to a database for
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Amateur here, asking "How do I change this to a database for

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Hi all. Any help is greatly appreciated on this:

    I'm working with a database consisting of one and two digit numbers, if more than one number, it is separated by the || characters.

    One column of the database looks something like this:

    DATA
    1
    1||2
    2
    1||2||3||4||5||6
    1||2||3||4||5||7
    1||2||3||4||5||6||8
    1||2||3||4||5||6||9

    To do my analysis, I needed to count all the 1's in this column, all the 2's etc.etc.

    I've been using this formula to do this:
    =SUMPRODUCT((ISNUMBER(SEARCH("||"&1&"||","||"&A1:A9&"||"))+0))

    My dilemma now is that I need to filter this by using a database formula of some sort and add criteria. If these were single numbers I'd use a formula such as =DCOUNT(A1:D9,1,G1:G2) where G1:G2 is my criteria range.

    Does anyone have any suggestions for a database formula I can use that would do the same thing as my SUMPRODUCT formula above?

    Again, any help is GREATLY appreciated. Thanks!

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,771
    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Default

      
    On 2002-03-25 13:21, Jennn wrote:
    Hi all. Any help is greatly appreciated on this:

    I'm working with a database consisting of one and two digit numbers, if more than one number, it is separated by the || characters.

    One column of the database looks something like this:

    DATA
    1
    1||2
    2
    1||2||3||4||5||6
    1||2||3||4||5||7
    1||2||3||4||5||6||8
    1||2||3||4||5||6||9

    To do my analysis, I needed to count all the 1's in this column, all the 2's etc.etc.

    I've been using this formula to do this:
    =SUMPRODUCT((ISNUMBER(SEARCH("||"&1&"||","||"&A1:A9&"||"))+0))

    My dilemma now is that I need to filter this by using a database formula of some sort and add criteria. If these were single numbers I'd use a formula such as =DCOUNT(A1:D9,1,G1:G2) where G1:G2 is my criteria range.

    Does anyone have any suggestions for a database formula I can use that would do the same thing as my SUMPRODUCT formula above?

    Again, any help is GREATLY appreciated. Thanks!
    I don't think a d-function can do what the above SUMPRODUCT formula is doing. Is there any particular reason you want a d-function?

    Aladin

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com