A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

nested functions



 
 
Thread Tools Display Modes
  #1  
Old July 14th, 2004, 10:56 PM
external usenet poster
 
Posts: n/a
Default 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
  #3  
Old July 14th, 2004, 11:26 PM
external usenet poster
 
Posts: n/a
Default 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  
Old July 15th, 2004, 12:05 AM
Juan Sanchez
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 10:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.