ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumif function with remote cell references (https://www.excelbanter.com/excel-worksheet-functions/40058-sumif-function-remote-cell-references.html)

hennis

Sumif function with remote cell references
 

I have used the sumif function with remote cell references. When I open
the worksheet and click yes to update cell refences it returns errors in
the cells but if I open the other worksheet the references update.

Does anyone know how to use sumif and allow the remote references to be
updated without opening the worksheet that contains the references.

Thanks.....


--
hennis
------------------------------------------------------------------------
hennis's Profile: http://www.excelforum.com/member.php...o&userid=26207
View this thread: http://www.excelforum.com/showthread...hreadid=395133


RagDyer

You *can't* use Sumif(), but you *can* use a combination of Sum() and If()
in an *array* formula.

Revise this formula:

=SUMIF(A1:A20,C1,B1:B20)

To this *array* formula:

=SUM(IF(A1:A20=C1,B1:B20)

--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

Of course, you'll need to enter the path to the other WB.

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"hennis" wrote in
message ...

I have used the sumif function with remote cell references. When I open
the worksheet and click yes to update cell refences it returns errors in
the cells but if I open the other worksheet the references update.

Does anyone know how to use sumif and allow the remote references to be
updated without opening the worksheet that contains the references.

Thanks.....


--
hennis
------------------------------------------------------------------------
hennis's Profile:

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




All times are GMT +1. The time now is 09:45 PM.

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