Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countifs/or
I have the following formula in a spreadsheet:
=COUNTIFS(A:A,"<",C:C,"",D:D,"Received") I now want to also count rows in column D that have "n/a" (I want to count both "n/a" and "received". How do I modify the function to include those? Thank you, Caroline |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countifs/or
you should be able to stack them try:
=COUNTIFS(A:A,"<",C:C,"",D:D,"Received")+COUNTIFS (A:A,"<",C:C,"",D:D,"n/a") "Caroline" wrote: I have the following formula in a spreadsheet: =COUNTIFS(A:A,"<",C:C,"",D:D,"Received") I now want to also count rows in column D that have "n/a" (I want to count both "n/a" and "received". How do I modify the function to include those? Thank you, Caroline |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countifs/or
Think you need to revert to a Sumproduct function: =Sumproduct(--(A:A<""),--(C:C=""),((D:D="Received")+(D:D="n/a"))) -- NBVC Where there is a will there are many ways. 'The Code Cage' (http://www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=123188 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countifs/or
=SUM(COUNTIFS(A:A,"<",C:C,"",D:D,{"Received","n/a"}))
"Caroline" wrote: I have the following formula in a spreadsheet: =COUNTIFS(A:A,"<",C:C,"",D:D,"Received") I now want to also count rows in column D that have "n/a" (I want to count both "n/a" and "received". How do I modify the function to include those? Thank you, Caroline |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Countifs | Excel Worksheet Functions | |||
Countifs | Excel Worksheet Functions | |||
CountIfs | Excel Worksheet Functions | |||
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr | Excel Worksheet Functions | |||
countifs | Excel Discussion (Misc queries) |