ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I SUMIF between rows rather than columns? (https://www.excelbanter.com/excel-worksheet-functions/257091-how-can-i-sumif-between-rows-rather-than-columns.html)

Robnarc

How can I SUMIF between rows rather than columns?
 
I need to sum the values in one row, but only if the corresponding values in
a second row fulfil a criteria.

e.g. With a budget laid out with a column for each month in 2010: for each
month sum "Cost A" if "Income type 1" 0.

Thanks!

Mike H

How can I SUMIF between rows rather than columns?
 
Hi,

From your description I'm struggling to undertsnad you data layout but maybe
this

=SUMIF(A2:L2,"0",A1:L1)

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Robnarc" wrote:

I need to sum the values in one row, but only if the corresponding values in
a second row fulfil a criteria.

e.g. With a budget laid out with a column for each month in 2010: for each
month sum "Cost A" if "Income type 1" 0.

Thanks!


Bernard Liengme[_2_]

How can I SUMIF between rows rather than columns?
 
Mike,
The OP is looking for missing names in column B but present in A, you neat
method seems to locate names missing in column A compared to B
best wishes
Bernard

"Mike H" wrote in message
...
Hi,

From your description I'm struggling to undertsnad you data layout but
maybe
this

=SUMIF(A2:L2,"0",A1:L1)

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Robnarc" wrote:

I need to sum the values in one row, but only if the corresponding values
in
a second row fulfil a criteria.

e.g. With a budget laid out with a column for each month in 2010: for
each
month sum "Cost A" if "Income type 1" 0.

Thanks!




All times are GMT +1. The time now is 02:14 AM.

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