ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help with formula (https://www.excelbanter.com/excel-discussion-misc-queries/204497-help-formula.html)

Cindi

Help with formula
 
I need to search criteria in two columns and sum the column based on that
criteria. I have one of the columns added, but I can't get the other one
added. Can someone help me please?
What I have so far is as the search area column I, sum area column K and I
need to add search area column B. Current formula is:

=SUMIF($I4:$I432,"ABC",$K4:$K432)

I need to add $B4:$B432,"AN/XYZ-12"
--
JustLearning

Mike H

Help with formula
 
Cindi,

Try this

=SUMPRODUCT((B4:B432="an/xyz-12")*(I4:I432="abc")*(K4:K432))

Mike

"Cindi" wrote:

I need to search criteria in two columns and sum the column based on that
criteria. I have one of the columns added, but I can't get the other one
added. Can someone help me please?
What I have so far is as the search area column I, sum area column K and I
need to add search area column B. Current formula is:

=SUMIF($I4:$I432,"ABC",$K4:$K432)

I need to add $B4:$B432,"AN/XYZ-12"
--
JustLearning


Gaurav[_4_]

Help with formula
 
=SUMPRODUCT(($I$4:$I$432="ABC")*($B$4:$B$432="AN/XYZ-12")*($K$4:$K$432))

Does this help?

"Cindi" wrote in message
...
I need to search criteria in two columns and sum the column based on that
criteria. I have one of the columns added, but I can't get the other one
added. Can someone help me please?
What I have so far is as the search area column I, sum area column K and I
need to add search area column B. Current formula is:

=SUMIF($I4:$I432,"ABC",$K4:$K432)

I need to add $B4:$B432,"AN/XYZ-12"
--
JustLearning




Cindi

Help with formula
 
Thanks to all for helping! It worked great!
--
JustLearning


"Gaurav" wrote:

=SUMPRODUCT(($I$4:$I$432="ABC")*($B$4:$B$432="AN/XYZ-12")*($K$4:$K$432))

Does this help?

"Cindi" wrote in message
...
I need to search criteria in two columns and sum the column based on that
criteria. I have one of the columns added, but I can't get the other one
added. Can someone help me please?
What I have so far is as the search area column I, sum area column K and I
need to add search area column B. Current formula is:

=SUMIF($I4:$I432,"ABC",$K4:$K432)

I need to add $B4:$B432,"AN/XYZ-12"
--
JustLearning






All times are GMT +1. The time now is 01:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com