Search results

  1. H

    Query not filtering correctly, 0 values still showing

    Are they null values? Maybe try <>0 or is not null
  2. H

    Average is showing #Error when all cells are null

    I'm not sure what you mean by not normalizing my data. Do you think I'm not trying to average values? I am trying to normalize my data. I have three sets of values, some of which have null. I am trying to get an average to hopefully get usable data for other queries. I'm getting 15687 records...
  3. H

    Make Table query not working because of running total?

    I'm not sure what indexes are. Could you elaborate?
  4. H

    Average is showing #Error when all cells are null

    I have the following in a query Avg: (nz([A],0)+nz([B],0)+nz([C],0))/(3-IIf(IsNull([A]),1,0)-IIf(IsNull([B]),1,0)-IIf(IsNull([C]),1,0)) which seems to work really well except when A, B, and C are all null. I would like it to show 0.
  5. H

    Make Table query not working because of running total?

    I have a running total query that seems to run but when I try to total the query results then Access will be "Not Responding". I tried to change it to a Make Table query because I need to use the running total result in another query. So I created a table but when I try to run the make table...
  6. H

    Average from Multiple Columns

    This works really good. But, I have a slight problem when all three columns are null then I am getting #Error. Is there a way to tweak either this query or a second one? I would actually prefer the result to show 0 so I think that may be easier than having it show null. But I will take whatever...
  7. H

    Pulling records based on date of another record

    I have a file of transaction history from the accounting system. All of the payroll cash payments are coded as ZG. Payroll accruals are coded as ZC. I need a sum of payroll accruals by department that have the same date or later than the last payroll cash payment. How do I write that query?
  8. H

    Number of Pay Periods in a Fiscal Year

    I got the answer, where AsOf is the pay period that just paid RemainPP: Round(((#12/31/2014#-[AsOf])/14),1)
  9. H

    Null is generating #Error

    Thanks to everyone who answered. I used this one but really because it was in the first answer and it's what made the most sense to me. IIF(Hrs=0 or Isnull(Rate),Null,((CCur(Rate*Hrs)) I'm not actually a programmer (not sure how obvious that is or will become).
  10. H

    Null is generating #Error

    I have two tables that are joined together. I am trying to multiple hours and rate and I have the following expression: Salary: IIF(Hrs=0,Null,((CCur(Rate*Hrs)) It works great except when Hrs are not null and Rate is null. I am getting #Error when I would like to get Null.
  11. H

    <this field> is less than <another field>

    Yes, I just needed the "And" and it worked! There is no join. Thanks you!!:):D
  12. H

    <this field> is less than <another field>

    Re: [this field] is less than [another field] I have qryA and tbl1 that do not have any joins. tb1 only has one field so I don't think there's a problem with that. I'm trying to get the solution to only show results when qryA.[this field] is less than tbl1.[another field]. This is what I put...
  13. H

    Number of Pay Periods in a Fiscal Year

    Pay periods are every two weeks. The pay period started 12/29/2013 and ended 1/11/2014. The next one started 1/12/2014 and ends 1/25/2014. People generally work Mon-Fri or paid holiday so we just exclude Sat-Sun for planning purposes. At the end of 2014, the pay period is looked as 3 days in...
  14. H

    Number of Pay Periods in a Fiscal Year

    If my fiscal year ends 12/31 but the pay period doesn't end until 1/10, how do I get a query to tell me there are 25.3 pay periods remaining (counting from the last pay period 1/11)?
  15. H

    Exclude where columns match

    I have a table that lists Cost Center, Partner, and Cost. I need a query to sum the cost when Cost Center and Partner do not match. How can I write that expression?
  16. H

    New Member

    Hello! An engineer has turned me onto Access and I've been using it for a few months for various projects. I am not a programmer and I do not use SQL. I work with funding and I've found that Access is a great tool for comparing data as well as slicing and dicing to display data in different...
Back
Top Bottom