Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Mulitiple Criteria using SUMIF

I have a data table on worksheet within a workbook which contains a mix of
numeric and text data.
eg a2:a92 containis numeric values of either 0 or 1 while each cell in
n2:n92 contains one of the following values
Clinical Psychologist
Consultant Clinical Psychologist
Consultant Psychiatrist
CPN
Health Care Assitant
Inpatient Nurse
Learning Disability Nurse
Occupational Therapist
Other
Other Doctor
Other qualified nurse
SHO
Social Worker/ASW
Team Leader
(blank)
I want to be able to sum A2:A92 based on a specific value in N2:N92.
Tried =SUMIF(epiexport!N2:N92,"Clinical Psychologist",A2:A92), but returns 0
rather than 1 which is the actual sum (calculated using subtotal on filtered
list).

ANy idea where I'm going wrong

TIA
Trev
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Mulitiple Criteria using SUMIF

Your formula is correct except you wrote that columns A and N are on the same
worksheet, but you refer to diiferent ones. Omit epiexport! and try again with
=SUMIF(N2:N92,"Clinical Psychologist",A2:A92)

Regards,
Stefi

€˛Trevor Aiston€¯ ezt Ć*rta:

I have a data table on worksheet within a workbook which contains a mix of
numeric and text data.
eg a2:a92 containis numeric values of either 0 or 1 while each cell in
n2:n92 contains one of the following values
Clinical Psychologist
Consultant Clinical Psychologist
Consultant Psychiatrist
CPN
Health Care Assitant
Inpatient Nurse
Learning Disability Nurse
Occupational Therapist
Other
Other Doctor
Other qualified nurse
SHO
Social Worker/ASW
Team Leader
(blank)
I want to be able to sum A2:A92 based on a specific value in N2:N92.
Tried =SUMIF(epiexport!N2:N92,"Clinical Psychologist",A2:A92), but returns 0
rather than 1 which is the actual sum (calculated using subtotal on filtered
list).

ANy idea where I'm going wrong

TIA
Trev

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Mulitiple Criteria using SUMIF

Thanks stefi you made me realise my error. Infact the data is in a diffrent
worksheet, my error was not referencing the worksheet on the last part of the
formulae should have been
=SUMIF(epiexport!N2:N92,"Clinical Psychologist",epiexport!A2:A92)

Thanks again

"Stefi" wrote:

Your formula is correct except you wrote that columns A and N are on the same
worksheet, but you refer to diiferent ones. Omit epiexport! and try again with
=SUMIF(N2:N92,"Clinical Psychologist",A2:A92)

Regards,
Stefi

€˛Trevor Aiston€¯ ezt Ć*rta:

I have a data table on worksheet within a workbook which contains a mix of
numeric and text data.
eg a2:a92 containis numeric values of either 0 or 1 while each cell in
n2:n92 contains one of the following values
Clinical Psychologist
Consultant Clinical Psychologist
Consultant Psychiatrist
CPN
Health Care Assitant
Inpatient Nurse
Learning Disability Nurse
Occupational Therapist
Other
Other Doctor
Other qualified nurse
SHO
Social Worker/ASW
Team Leader
(blank)
I want to be able to sum A2:A92 based on a specific value in N2:N92.
Tried =SUMIF(epiexport!N2:N92,"Clinical Psychologist",A2:A92), but returns 0
rather than 1 which is the actual sum (calculated using subtotal on filtered
list).

ANy idea where I'm going wrong

TIA
Trev

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Mulitiple Criteria using SUMIF

You are welcome! Thanks for the feedback!
Stefi

€˛Trevor Aiston€¯ ezt Ć*rta:

Thanks stefi you made me realise my error. Infact the data is in a diffrent
worksheet, my error was not referencing the worksheet on the last part of the
formulae should have been
=SUMIF(epiexport!N2:N92,"Clinical Psychologist",epiexport!A2:A92)

Thanks again

"Stefi" wrote:

Your formula is correct except you wrote that columns A and N are on the same
worksheet, but you refer to diiferent ones. Omit epiexport! and try again with
=SUMIF(N2:N92,"Clinical Psychologist",A2:A92)

Regards,
Stefi

€˛Trevor Aiston€¯ ezt Ć*rta:

I have a data table on worksheet within a workbook which contains a mix of
numeric and text data.
eg a2:a92 containis numeric values of either 0 or 1 while each cell in
n2:n92 contains one of the following values
Clinical Psychologist
Consultant Clinical Psychologist
Consultant Psychiatrist
CPN
Health Care Assitant
Inpatient Nurse
Learning Disability Nurse
Occupational Therapist
Other
Other Doctor
Other qualified nurse
SHO
Social Worker/ASW
Team Leader
(blank)
I want to be able to sum A2:A92 based on a specific value in N2:N92.
Tried =SUMIF(epiexport!N2:N92,"Clinical Psychologist",A2:A92), but returns 0
rather than 1 which is the actual sum (calculated using subtotal on filtered
list).

ANy idea where I'm going wrong

TIA
Trev

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find matching records in two tables using mulitiple criteria RC Excel Worksheet Functions 2 June 19th 09 11:41 PM
Mulitiple functions in one cell cgroninger[_2_] Excel Worksheet Functions 1 May 12th 08 02:41 PM
mulitiple cells in a drop down Kaar Excel Discussion (Misc queries) 1 November 24th 06 02:27 PM
mulitiple droplist jinvictor Excel Discussion (Misc queries) 2 June 4th 06 10:34 AM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM


All times are GMT +1. The time now is 04:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"