ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   SUMIF and multiple columns (https://www.excelbanter.com/excel-discussion-misc-queries/104462-sumif-multiple-columns.html)

wait3264

SUMIF and multiple columns
 
I need to add the number entries in three different columns. Must I use three
separate SUMIF functions and add them together? To get the total for all
three? Thanks, Kay

robert111

SUMIF and multiple columns
 

I suppose you could highlight the range of cells in each column together
and then name it as a non contiguos range, but I have never tried it....


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=570706


Bob Phillips

SUMIF and multiple columns
 
Nice idea, but doesn't work.

Try this instead

=SUMPRODUCT(SUMIF(INDIRECT({"B1:B10","D1:D10","E1: e10"}),"10"))

as an example

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"robert111" wrote
in message ...

I suppose you could highlight the range of cells in each column together
and then name it as a non contiguos range, but I have never tried it....


--
robert111
------------------------------------------------------------------------
robert111's Profile:

http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=570706




robert111

SUMIF and multiple columns
 

thanks Bob, I learn something useful from this forum nearly every day.

Robert111 = another Bob


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=570706



All times are GMT +1. The time now is 02:31 PM.

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