Re: complex filter and calculations in access

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



DrTominRI wrote:

I don't really think this is that complex. My medical database includes
mixed data, text, numbers, yes/No's etc Specifically, patients that have
undergone a specific operation by a specific surgeon, some have certain risk
factors and some have had certain complications. I can certainly filter to
get all of the patients who have had an appendectomy/by Dr Kildare/who have
diabetes/and got and infection/ But how do I calculate Dr Kildare's overall
infection rate? How do I make the query count Just all of Dr Kildares
operations, and use that as a denominator. How can I compare his infection
rate in diabetcs vs non diabetics?

Please help, my local exper says I need to export it all to excel and do it
there.


You will probably want to use queries of queries or
subqueries for some of that, but, as Karl said, we need to
know your table structure.

If your "expert" thinks Excel is the way to do this, s/he's
probably an "expert" in Excel, not in Access/SQL.

--
Marsh
MVP [MS Access]
.



Relevant Pages

  • Re: formula - sum "x" column L only when same row contains "y" col
    ... With a lot of work you can maintain this in Excel and fight through the logic ... > I need a formula that will only add up the patients who share common ... Patient stayed in unit Surgery (that info appears in one ... > For instance: Under the category requiring three columns called Procedures: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Report from Query, 4 views
    ... number of patients, their diagnosis, which doctor sees the patient, as ... The report in question would allow me to pull a ... Is it a "problem" because you don't know Access as well as you know Excel, ...
    (microsoft.public.access.reports)
  • Re: Filemaker Query: Is that possible, and how ?
    ... I have an excel spreadsheet reporting some clinic numbers and a ... reporting some of the same patients listed in the spreadsheet. ... Filemaker leaving out patients previously inserted. ... in some way to those listed in Excel and delete the repeated records, ...
    (comp.databases.filemaker)
  • DoCmd.TransferSpreadsheet question
    ... I need to send names and addresses to an excel spreadsheet to use as a ... The user can choose patients on a form and opt ... So I have 3 queries that can be exported to excel. ... different pages of the excel sheet corresponding to the query name. ...
    (microsoft.public.access.formscoding)
  • Re: Excel from Windows to Mac
    ... preparing a caselist of patients (data from patient history, ... I need to open an Excel program, ... >> version of Excel, on my Mac. ...
    (microsoft.public.mac.office.excel)