Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Using SUMIF and AND functions simultaneously

I am not an excel superuser so I'll try to explain what I'm trying to do as
efficiently yet clearly as possible.

I have tab in a workbook that is labeled as a summary page. On the summary
page, I would like to use a SUMIF and AND function simultaneously that
reviews all of the data in one column then isololates only the data based on
the defined "criteria" from the summary tab. Once that data has been isolated
it is then further reviewed and compared to another "criteria" cell on the
summary tab. After this operation is completed, the total count of
occurrences that meet both criteria are listed.

I currently am using the formula
=(SUMIF(AUDACCODE,$A4,AUDPERIOD1)+SUMIF(SVCCODE,J$ 2,AUDPERIOD1)) but it's
counting every single occurrence and not pulling out those numbers that meet
the second SUMIF operation.

thanks for the help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default Using SUMIF and AND functions simultaneously

If you have Excel 2007, look in the help for SUMIFS, in previous versions
use

=SUMPRODUCT(--(AUDACCODE=$A4),--(SVCCODE=J$2),AUDPERIOD1)


will sum AUDPERIOD1 where AUDACCODE equals A4 AND where SVCCODE equals J2



The above works in Excel 2007 but SUMIFS will work as well in 2007

--


Regards,


Peo Sjoblom


"dsc3291965" wrote in message
...
I am not an excel superuser so I'll try to explain what I'm trying to do as
efficiently yet clearly as possible.

I have tab in a workbook that is labeled as a summary page. On the summary
page, I would like to use a SUMIF and AND function simultaneously that
reviews all of the data in one column then isololates only the data based
on
the defined "criteria" from the summary tab. Once that data has been
isolated
it is then further reviewed and compared to another "criteria" cell on the
summary tab. After this operation is completed, the total count of
occurrences that meet both criteria are listed.

I currently am using the formula
=(SUMIF(AUDACCODE,$A4,AUDPERIOD1)+SUMIF(SVCCODE,J$ 2,AUDPERIOD1)) but it's
counting every single occurrence and not pulling out those numbers that
meet
the second SUMIF operation.

thanks for the help



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default Using SUMIF and AND functions simultaneously

Hi

To use multiple conditions use SUMPRODUCT. I think this if what you need:

=SUMPRODUCT(--(AUDACCODE=$A4),--(SVCCODE=J$2),AUDPERIOD1)

Regards,
Per

"dsc3291965" skrev i meddelelsen
...
I am not an excel superuser so I'll try to explain what I'm trying to do as
efficiently yet clearly as possible.

I have tab in a workbook that is labeled as a summary page. On the summary
page, I would like to use a SUMIF and AND function simultaneously that
reviews all of the data in one column then isololates only the data based
on
the defined "criteria" from the summary tab. Once that data has been
isolated
it is then further reviewed and compared to another "criteria" cell on the
summary tab. After this operation is completed, the total count of
occurrences that meet both criteria are listed.

I currently am using the formula
=(SUMIF(AUDACCODE,$A4,AUDPERIOD1)+SUMIF(SVCCODE,J$ 2,AUDPERIOD1)) but it's
counting every single occurrence and not pulling out those numbers that
meet
the second SUMIF operation.

thanks for the help


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Using SUMIF and AND functions simultaneously

check out this link...

http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


"dsc3291965" wrote:

I am not an excel superuser so I'll try to explain what I'm trying to do as
efficiently yet clearly as possible.

I have tab in a workbook that is labeled as a summary page. On the summary
page, I would like to use a SUMIF and AND function simultaneously that
reviews all of the data in one column then isololates only the data based on
the defined "criteria" from the summary tab. Once that data has been isolated
it is then further reviewed and compared to another "criteria" cell on the
summary tab. After this operation is completed, the total count of
occurrences that meet both criteria are listed.

I currently am using the formula
=(SUMIF(AUDACCODE,$A4,AUDPERIOD1)+SUMIF(SVCCODE,J$ 2,AUDPERIOD1)) but it's
counting every single occurrence and not pulling out those numbers that meet
the second SUMIF operation.

thanks for the help

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
sumif functions Macil Excel Worksheet Functions 4 October 17th 08 10:58 AM
Using Vlookup and If functions simultaneously Vlookup and If Excel Worksheet Functions 3 October 6th 08 11:10 PM
Nesting sumif functions JT Excel Worksheet Functions 10 February 2nd 08 12:04 AM
can you nest sumif functions ? SCarleton Excel Worksheet Functions 2 September 12th 06 11:22 AM
COUNTIF and SUMIF Functions DCSwearingen Excel Discussion (Misc queries) 6 July 12th 06 08:18 PM


All times are GMT +1. The time now is 07:18 PM.

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

About Us

"It's about Microsoft Excel"