+ Reply to Thread
Results 1 to 13 of 13

Criteria without using cells

  1. #1
    Registered User
    Join Date
    12-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Criteria without using cells

    A couple years ago I defined criteria that did not refer to cells. I don't recall how I did it but it's certainly not obvious. Anybody know how to do this? I tried a bunch of different syntax but can't get it. See attachment. I am trying to populate the Equity column. I've simplified it here. The actual database is getting close to the 256 column limit (we're at column HG now).
    Attached Files Attached Files
    Last edited by Alpha Hunter; 12-28-2010 at 03:58 PM.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Criteria without using cells

    it's sort of go somewhere and bring something I do not know what. Be more specific or this thread will remain nearly empty.

    Please see attachment.
    Attached Files Attached Files
    Last edited by watersev; 12-23-2010 at 03:14 PM.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Criteria without using cells

    Just a guess, but try this

    In C2
    Please Login or Register  to view this content.
    Drag/Fill Down

    Adjust to suit your actual ranges.

    Hope this helps.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    12-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Criteria without using cells

    Yes, I already solved it with an INDEX(MATCH,MATCH) but I've come across this challenge so often with many different functions I thought I'd throw it out there.

    There must be a simple way to describe criteria without using cells.

  5. #5
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Criteria without using cells

    do you mean VB arrays, VB inputbox or some unknown for me method?
    Last edited by watersev; 12-23-2010 at 04:16 PM.

  6. #6
    Registered User
    Join Date
    12-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Criteria without using cells

    I thought you could write it in quotation marks or something like that

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Criteria without using cells

    Nae doot, PM snb

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

    Re: Criteria without using cells

    You don't have to use cell references for arguments - you can use constants if you prefer.

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    the 2nd illustrates an inline array where ; denotes a row and , a column

    Please Login or Register  to view this content.
    etc...

  9. #9
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Criteria without using cells

    You cannot use D-functions without criteria ranges, if that's what you are referring to.
    Remember what the dormouse said
    Feed your head

  10. #10
    Registered User
    Join Date
    12-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Criteria without using cells

    I like where you're going with these examples DonkeyOte, but can you show an example where it acts as the criteria for a function that takes criteria?

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

    Re: Criteria without using cells

    I'm afraid I don't follow.... if you are referring to the D-functions then see romperstomper's previous post (ie must be stored in physical range).

  12. #12
    Registered User
    Join Date
    12-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Criteria without using cells

    ok, I'll give up. I guess I'll call that solved (or unsolveable).

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

    Re: Criteria without using cells

    The clearer you are in your requirements the more likely you are to get an (satisfactory?) resolution... thus far everything has been far too vague for anyone to offer anything meaningful in return I'm afraid.

    Per the initial sample file it appears as though you want to use constants for the criteria in your DGET call and as has been outlined previously you can't.

    Edit: to elaborate on D functions
    Given your set up in the original attachment you have an issue in so far as you can't create the requisite range reference (must be contiguous)
    You could however use a basic SUMIF with INDEX construct

    Please Login or Register  to view this content.
    but again based on response to Marcol's earlier suggestion this is not seemingly what you're interested in.
    Last edited by DonkeyOte; 12-28-2010 at 04:09 PM. Reason: edit: added note re: DGET given attachment in OP

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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