ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumif help (https://www.excelbanter.com/excel-worksheet-functions/31165-sumif-help.html)

Hirsch

Sumif help
 

=SUMIF(B:B,B92,AE:AE)+SUMIF(B:B,B92,AI:AI)+sumif(b :b,b92,AK:AK)

is there a way to condense this formula.

i.e. =sumif(b:b,b92,ae:ae&ai:ai&ak:ak)

Thanks in advance.


JE McGimpsey

One way:

=SUMPRODUCT(--(B1:B1000=B92),(AE1:AE1000+AI1:AI1000+AK1:AK1000))

In article ,
Hirsch wrote:

=SUMIF(B:B,B92,AE:AE)+SUMIF(B:B,B92,AI:AI)+sumif(b :b,b92,AK:AK)

is there a way to condense this formula.

i.e. =sumif(b:b,b92,ae:ae&ai:ai&ak:ak)

Thanks in advance.



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

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