ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   SUMIF/COUNTIF (https://www.excelbanter.com/excel-discussion-misc-queries/131026-sumif-countif.html)

Tatebana

SUMIF/COUNTIF
 
The SUMIF formula works fine if as "criteria" I use a specific value.

I tried =SUMIF($A:$A,<"",$C:$C) and =SUMIF($A:$A,$C:$C)

but they do not work...

Mike

SUMIF/COUNTIF
 
What are you trying to do and maybe help can be provided?

"Tatebana" wrote:

The SUMIF formula works fine if as "criteria" I use a specific value.

I tried =SUMIF($A:$A,<"",$C:$C) and =SUMIF($A:$A,$C:$C)

but they do not work...


bj

SUMIF/COUNTIF
 
the sumproduct() function should do what you want
=sumproduct(--(A1:A64000<""),C1:C6400)
[you cant use the A:A shorthand for full column in Sumproduct()

"Tatebana" wrote:

The SUMIF formula works fine if as "criteria" I use a specific value.

I tried =SUMIF($A:$A,<"",$C:$C) and =SUMIF($A:$A,$C:$C)

but they do not work...


Ron Coderre

SUMIF/COUNTIF
 
If you want to add elements of Col_C where corresponding cells in Col_A are
NOT blank then your syntax is a bit off.

Try this:
=SUMIF($A:$A,"<"&"",$C:$C)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Tatebana" wrote:

The SUMIF formula works fine if as "criteria" I use a specific value.

I tried =SUMIF($A:$A,<"",$C:$C) and =SUMIF($A:$A,$C:$C)

but they do not work...



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

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