If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
nested functions
I would like to nest a function that would first filter
the data in a column and then look for all of the "y" in that filtered column. I thought this would work =IF(COUNTIF(ViewData!W5:W1196,"Joe"),COUNTIF(ViewD ata! FR4:FR1195,"Y")) But it only gives me back the count for all of the "y" that do not belong to "Joe". THANKS! Pauline |
#2
|
|||
|
|||
nested functions
Hi
try =SUMPRODUCT(--(ViewData!W5:W1196="Joe"),--(ViewData!FR5:FR1196="y")) -- Regards Frank Kabel Frankfurt, Germany wrote: I would like to nest a function that would first filter the data in a column and then look for all of the "y" in that filtered column. I thought this would work =IF(COUNTIF(ViewData!W5:W1196,"Joe"),COUNTIF(ViewD ata! FR4:FR1195,"Y")) But it only gives me back the count for all of the "y" that do not belong to "Joe". THANKS! Pauline |
#3
|
|||
|
|||
nested functions
That worked!!! Thank you so much!!!
-----Original Message----- Hi try =SUMPRODUCT(--(ViewData!W5:W1196="Joe"),--(ViewData! FR5:FR1196="y")) -- Regards Frank Kabel Frankfurt, Germany wrote: I would like to nest a function that would first filter the data in a column and then look for all of the "y" in that filtered column. I thought this would work =IF(COUNTIF(ViewData!W5:W1196,"Joe"),COUNTIF(ViewD ata! FR4:FR1195,"Y")) But it only gives me back the count for all of the "y" that do not belong to "Joe". THANKS! Pauline . |
#4
|
|||
|
|||
nested functions
If what you want is all the "y" that DO belong to "joe" try =SUMPRODUCT(--(ViewData!W5:W1196="Joe"),--(ViewData! FR4:FR1195="Y")) I assume that the difference in the postion of your ranges is unpurpose (w5:w1196 & fr4:fr1195) according to this the formula will assume that row 5 in W belongs to row 4 in FR and so on... Cheers Juan -----Original Message----- I would like to nest a function that would first filter the data in a column and then look for all of the "y" in that filtered column. I thought this would work =IF(COUNTIF(ViewData!W5:W1196,"Joe"),COUNTIF(View Data! FR4:FR1195,"Y")) But it only gives me back the count for all of the "y" that do not belong to "Joe". THANKS! Pauline . |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
incorrect result of nested functions | Alfredo | Worksheet Functions | 2 | March 13th, 2004 10:50 PM |
Nested IF with AND Functions | Joe Smith | Worksheet Functions | 1 | October 29th, 2003 03:56 AM |
nested functions | Linda | Worksheet Functions | 2 | September 17th, 2003 07:26 PM |