+ Reply to Thread
Results 1 to 10 of 10

how to criteria greater than 0 from expression results.. !\!@#$

  1. #1
    Registered User
    Join Date
    01-10-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    how to criteria greater than 0 from expression results.. !\!@#$

    Hi,

    I'm stuck to a simple criteria question...

    I have a SUM formula that is working fine.. but I want to see only the relust greater than 0.

    Is someone can help? I just keep have an Enter parameter value message..

    Thanks
    Guillaume
    Attached Images Attached Images

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    Hi,

    Pictures are rarely much use, as is the case here - see advice in rule area.

    Please upload the workbook and explain how you want to use it, and what results you expect in response to specific inputs.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-10-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    FORMULA : TOTAL: [030]+[035]+[040]+[045]+[050]+[055]+[060]+[065]+[070]+[075]+[080]+[085]+[090]+[095]+[100]+[105]+[110]+[115]+[120]+[125]+[130]+[135]+[140]+[145]+[150]+[155]+[160]+[165]+[170]+[175]
    CRITERIA: >1

    It's giving me : Enter parameter value..

    030 - 035 - 040 ... are feild column

    I want to show only the results greater than 0 from the formula

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    As I said, upload the workbook. Your request is still not clear to me. For a start I don't know whether we're dealing with some macro code you're running or a standard function.

    Manually add the results you expect to see so that we can see the end goal.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    It is giving you a parameter screen because it is looking for a field Named "Total" It appears that you are trying to do a calculation but have the field named Expr1 and it has a unknown field name of Total in your QBE. Replace the field in question with the following:

    PHP Code: 
    TOTAL: [030]+[035]+[040]+[045]+[050]+[055]+[060]+[065]+[070]+[075]+[080]+[085]+[090]+[095]+[100]+[105]+[110]+[115]+[120]+[125]+[130]+[135]+[140]+[145]+[150]+[155]+[160]+[165]+[170]+[175
    Do not include the following in the field Formula:. That is what is causing Access to generate the parameter request.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    01-10-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    @richard sorry this is an access query, nothing to do with excel,

    @allan

    I keep receivind the same message,

    here more info

    030: Nz([qte_1],0)-Nz([qte_fact_1],0)
    035: Nz([qte_2],0)-Nz([qte_fact_2],0)
    040: Nz([qte_3],0)-Nz([qte_fact_3],0)
    .. etc

    Then I added a column for the hate the total

    TOTAL: [030]+[035]+[040]+[045]+[050]+[055]+[060]+[065]+[070]+[075]+[080]+[085]+[090]+[095]+[100]+[105]+[110]+[115]+[120]+[125]+[130]+[135]+[140]+[145]+[150]+[155]+[160]+[165]+[170]+[175]

    Then I added a criteria to only show positive value of the total ... [Total]>1


    But I received a message Enter parameter value of [Total]



    any ideas?

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    Suggest you upload a sanitized (limited data) of your database. Be sure to run a compact and repair and then zip the file. Difficult to analyze with out seeing it.

    Just a thought before you upload. change your criteria to >1. Do not include the word Total in your criteria. It is implied by placing the criteria in your alias field called Total.

  8. #8
    Registered User
    Join Date
    01-10-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    Thanks,

    I've attached an excel file to try to be more precise.


    I'm pushing my luck a bit for help also with another problem.. Database2.. I would like to know how to sum or subtract depending on rows..

    thank you for you help, its very appreciated
    Attached Files Attached Files

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    If you are having an issue with Access, why did you post an excel spreadsheet. You are forcing helpers to rebuild your database. Time is an issue for all of us. If you really want help, then help us to make it easy. Upload a sample database. I personally don't have time to try and reconstruct your database and guess at your set up. Mind reading is not one of my qualifications.

  10. #10
    Registered User
    Join Date
    01-10-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: how to criteria greater than 0 from expression results.. !\!@#$

    I'm sorry,

    here it is

    query1 TOTAL criteria > 1 is not working... :S




    and about table2 I want to group by num_style with a sumif.. but not sure how to do it or if it's the right thing to do...

    (AJUSTMENT-DIMINUTION+RECEPTION) Ex DAWSON = 45 (50-30+25)



    Sorry again and have a nice day
    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)

Similar Threads

  1. [SOLVED] Replace Semi Colon by Regular Expression on basis of some criteria
    By taps in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-15-2013, 10:38 AM
  2. [SOLVED] Data Type Mismatch in Criteria Expression
    By williams485 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-15-2012, 10:26 AM
  3. Replies: 1
    Last Post: 09-15-2012, 08:00 AM
  4. I need a criteria expression to not include records that start wit
    By Steve A in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2006, 03:00 PM
  5. Hiding Expression Results...
    By bartinpc in forum Excel General
    Replies: 3
    Last Post: 06-12-2005, 02:05 PM

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