Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLM CLM is offline
external usenet poster
 
Posts: 12
Default MORE THAN ONE CONDITION IN A FORMULA

I am trying to create a formula that will sum Column E, if Column A has more
than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E).
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default MORE THAN ONE CONDITION IN A FORMULA

=IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000))

Dave
--
Brevity is the soul of wit.


"CLM" wrote:

I am trying to create a formula that will sum Column E, if Column A has more
than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E).

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLM CLM is offline
external usenet poster
 
Posts: 12
Default MORE THAN ONE CONDITION IN A FORMULA

I need the sum of Column E if Column A = AY or BU and Column E = S or D
I am not sure I understand the formula you gave

"Dave F" wrote:

=IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000))

Dave
--
Brevity is the soul of wit.


"CLM" wrote:

I am trying to create a formula that will sum Column E, if Column A has more
than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E).

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLM CLM is offline
external usenet poster
 
Posts: 12
Default MORE THAN ONE CONDITION IN A FORMULA

This is my current formula:

=SUM(IF((A9:A10001="SI")*(C9:C10001="D"),E9:E10001 ))

I need the first if to be either SI or SY with the rest to stay as is.

"CLM" wrote:

I need the sum of Column E if Column A = AY or BU and Column E = S or D
I am not sure I understand the formula you gave

"Dave F" wrote:

=IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000))

Dave
--
Brevity is the soul of wit.


"CLM" wrote:

I am trying to create a formula that will sum Column E, if Column A has more
than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E).

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 303
Default MORE THAN ONE CONDITION IN A FORMULA

Have a go using a sumproduct formula

=SUMPRODUCT((A9:A10001="SI")+(A9:A10001="SY"),(C9: C10001="D")*(E9:E10001))


--
Greetings from New Zealand

"CLM" wrote in message
...
This is my current formula:

=SUM(IF((A9:A10001="SI")*(C9:C10001="D"),E9:E10001 ))

I need the first if to be either SI or SY with the rest to stay as is.

"CLM" wrote:

I need the sum of Column E if Column A = AY or BU and Column E = S or D
I am not sure I understand the formula you gave

"Dave F" wrote:

=IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000))

Dave
--
Brevity is the soul of wit.


"CLM" wrote:

I am trying to create a formula that will sum Column E, if Column A
has more
than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E).





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLM CLM is offline
external usenet poster
 
Posts: 12
Default MORE THAN ONE CONDITION IN A FORMULA

Thank you so much. It worked perfect.

"Bill Kuunders" wrote:

Have a go using a sumproduct formula

=SUMPRODUCT((A9:A10001="SI")+(A9:A10001="SY"),(C9: C10001="D")*(E9:E10001))


--
Greetings from New Zealand

"CLM" wrote in message
...
This is my current formula:

=SUM(IF((A9:A10001="SI")*(C9:C10001="D"),E9:E10001 ))

I need the first if to be either SI or SY with the rest to stay as is.

"CLM" wrote:

I need the sum of Column E if Column A = AY or BU and Column E = S or D
I am not sure I understand the formula you gave

"Dave F" wrote:

=IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000))

Dave
--
Brevity is the soul of wit.


"CLM" wrote:

I am trying to create a formula that will sum Column E, if Column A
has more
than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E).




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
Formula and Condition for a Calculation to leave a zero if the res SSG Devine Excel Worksheet Functions 3 March 13th 06 06:55 PM
Can I set up a formula to lookup a value for a condition Jai Excel Discussion (Misc queries) 2 July 26th 05 08:48 PM
Multiple Condition Formula prolixity Excel Worksheet Functions 5 April 13th 05 01:24 AM
Multiple Condition Sumif Formula momtoaj Excel Worksheet Functions 3 April 6th 05 04:06 PM
Add condition to formula Pat Excel Worksheet Functions 0 November 16th 04 12:23 PM


All times are GMT +1. The time now is 07:44 AM.

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"