Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to use the formula =Sumif(B7:B203,"Paul
G",(COUNTIF(C7:C203,"*"))) to count the number of cells in the "C" column which contains text and are in the same row next to my name in the "B" column. This formula does not work. Ay suggestions? Thank you, paul |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(B7:B203="Paul"),--(ISTEXT(C7:C203)))
note that if you have formulas in C that can return a "" (blank looking cell) they will be included, then you can use =SUMPRODUCT(--(B7:B203="Paul"),--(ISTEXT(C7:C203)),--(LEN(C7:C203)0)) and of course if you only want to test for non empty cells in C =SUMPRODUCT(--(B7:B203="Paul"),--(C7:C203<"")) -- Regards, Peo Sjoblom Northwest Excel Solutions www.nwexcelsolutions.com (remove ^^ from email address) Portland, Oregon "paulgallanter" wrote in message ... I am trying to use the formula =Sumif(B7:B203,"Paul G",(COUNTIF(C7:C203,"*"))) to count the number of cells in the "C" column which contains text and are in the same row next to my name in the "B" column. This formula does not work. Ay suggestions? Thank you, paul |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Either:
=SUMPRODUCT(--($B$7:$B$203="Paul G"),--ISTEXT($C$7:$C$203)) Or: =SUM(IF($B$7:$B$203="Paul G",ISTEXT($C$7:$C$203)+0)) which needs to be confirmed with control+shift+enter, not just with enter. paulgallanter wrote: I am trying to use the formula =Sumif(B7:B203,"Paul G",(COUNTIF(C7:C203,"*"))) to count the number of cells in the "C" column which contains text and are in the same row next to my name in the "B" column. This formula does not work. Ay suggestions? Thank you, paul |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Paul,
Try these: =SUMPRODUCT(--(B7:B203="Paul G"),--(C7:C203<"")) =SUMPRODUCT((B7:B203="Paul G")*(C7:C203<"")) or if apart from non-empty the value in column [C] must be text... =SUMPRODUCT(--(B7:B203="Paul G"),--ISTEXT(C7:C203)) =SUMPRODUCT((B7:B203="Paul G")*ISTEXT(C7:C203)) Regards, KL "paulgallanter" wrote in message ... I am trying to use the formula =Sumif(B7:B203,"Paul G",(COUNTIF(C7:C203,"*"))) to count the number of cells in the "C" column which contains text and are in the same row next to my name in the "B" column. This formula does not work. Ay suggestions? Thank you, paul |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try
=SUMPRODUCT(--(A1:A100="Paul G"),--(ISTEXT(B1:B100))) Regards, Alan. "paulgallanter" wrote in message ... I am trying to use the formula =Sumif(B7:B203,"Paul G",(COUNTIF(C7:C203,"*"))) to count the number of cells in the "C" column which contains text and are in the same row next to my name in the "B" column. This formula does not work. Ay suggestions? Thank you, paul |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() hi! something like =SUMPRODUCT(--(B7:B203="PAUL"),--(C7:C203="*text you wanted*")) -via135 paulgallanter Wrote: I am trying to use the formula =Sumif(B7:B203,"Paul G",(COUNTIF(C7:C203,"*"))) to count the number of cells in the "C" column which contains text and are in the same row next to my name in the "B" column. This formula does not work. Ay suggestions? Thank you, paul -- via135 ------------------------------------------------------------------------ via135's Profile: http://www.excelforum.com/member.php...o&userid=26725 View this thread: http://www.excelforum.com/showthread...hreadid=531351 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumif of Sumif perhaps? | Excel Discussion (Misc queries) | |||
COUNTIF doesnt work! | Excel Worksheet Functions | |||
problems with sumif and countif | Excel Discussion (Misc queries) | |||
formula SUMIF or whichever one will work for my issue | Excel Worksheet Functions | |||
How do I use ">$E$5" as the criteria using SUMIF and have it work. | Excel Worksheet Functions |