Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want to count non-blank cells in two columns, but count only one of
them if both are non-blank. The following example would yield 4 4 t 3 5 y u |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
skrev i en meddelelse
oups.com... I want to count non-blank cells in two columns, but count only one of them if both are non-blank. The following example would yield 4 4 t 3 5 y u One way: =COUNTA(A2:B20)-SUMPRODUCT((A1:A20<"")*(B1:B20<"")) -- Best regards Leo Heuser Followup to newsgroup only please. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--((A1:A10<"")+(B1:B10<"")0))
Biff wrote in message oups.com... I want to count non-blank cells in two columns, but count only one of them if both are non-blank. The following example would yield 4 4 t 3 5 y u |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUM(IF((A4:A7<"")+(B4:B7<""),1))
ctrl+shift+enter " wrote: I want to count non-blank cells in two columns, but count only one of them if both are non-blank. The following example would yield 4 4 t 3 5 y u |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Maybe this?:
=SUMPRODUCT(--(LEN(A4:A7&B4:B7)0)) Does that help? *********** Regards, Ron XL2002, WinXP " wrote: I want to count non-blank cells in two columns, but count only one of them if both are non-blank. The following example would yield 4 4 t 3 5 y u |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hi J.F
if u are aware of using an array formula by pressing ctrl-shft-enter then you may also consider the sum array function... =SUM(--((A1:A10<"")+(B1:B10<"")0)) regards -- ***** birds of the same feather flock together.. " wrote: I want to count non-blank cells in two columns, but count only one of them if both are non-blank. The following example would yield 4 4 t 3 5 y u |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I've seen several references to 'ctrl-shft-enter' in these postings,
but I don't know about it. Thanks to all who responded! JF On Feb 3, 9:18 am, driller wrote: hi J.F if u are aware of using an array formula by pressing ctrl-shft-enter then you may also consider the sum array function... =SUM(--((A1:A10<"")+(B1:B10<"")0)) regards -- ***** birds of the same feather flock together.. " wrote: I want to count non-blank cells in two columns, but count only one of them if both are non-blank. The following example would yield 4 4 t 3 5 y u |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Count 2 Columns | Excel Worksheet Functions | |||
Pivot Table - How do I count number of columns? | Excel Discussion (Misc queries) | |||
how to count one value or another across multiple columns? | Excel Discussion (Misc queries) | |||
If two columns match then count one. How? Tried countif and sum . | Excel Worksheet Functions | |||
count number of cells based on TWO conditions (2 different columns | Excel Worksheet Functions |