Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Simon Lloyd
 
Posts: n/a
Default Creating a nested COUNTIF????


Hi all, im trying to get my spreadsheet to count in one cell if certain
criteria appear in two other cells, say for instance
=COUNTIF(Name,"Bloggs J" and Hours,= number) where hours is the next
named range and the number would be from -11 to 11.

So in short i would like the value for "Hours" displayed in Bloggs J
cell (which could be lets say E3) only if Bloggs J appears in the named
range "Name"

Hope that is clear and hope you can help!

Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=401673

  #2   Report Post  
Max
 
Posts: n/a
Default

Maybe you mean in E3:

=SUMPRODUCT((Name="Bloggs J")*(Hours=10))

which would return the count you're after in your line
=COUNTIF(Name,"Bloggs J" and Hours,= number)

assuming the "Hours" number = 10
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Simon Lloyd"
wrote in message
...

Hi all, im trying to get my spreadsheet to count in one cell if certain
criteria appear in two other cells, say for instance
=COUNTIF(Name,"Bloggs J" and Hours,= number) where hours is the next
named range and the number would be from -11 to 11.

So in short i would like the value for "Hours" displayed in Bloggs J
cell (which could be lets say E3) only if Bloggs J appears in the named
range "Name"

Hope that is clear and hope you can help!

Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile:

http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=401673



  #3   Report Post  
Simon Lloyd
 
Posts: n/a
Default


At the moment i have the follwing in the cells, which is great and adds
1 for every instance it sees of the name in the Range "Name" but
instead of counting in column B each instance of the name and adding 1
i need it to see the name Bloggs J in the "name" range and then look
for the value on the same row in the range "Hours" this will then be
totalled with the results from another sheet as you can see in column
G.

Any thoughts?

Simon

COLUMN E

Bloggs J

COLUMN F
=COUNTIF(Name,"Bloggs J")

COLUMN G
=SUM(F40,'Holiday Count'!K33)


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=401673

  #4   Report Post  
Max
 
Posts: n/a
Default

If you'd like to, email over a copy of your file at:
demechanik < at yahoo <dot com

Think a look at your set-up would be clearer

Drop me a note here if you're sending or not
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #5   Report Post  
Simon Lloyd
 
Posts: n/a
Default


will mail you but it won't be until 6pm GMT

Thanks,

Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=401673



  #6   Report Post  
Max
 
Posts: n/a
Default

No prob ! <g
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nested Countif wayne75 Excel Worksheet Functions 2 June 3rd 05 04:30 PM
COUNTIF and Nested Functions? Larry Novida Excel Worksheet Functions 3 May 29th 05 07:05 PM
Countif Function -Nested Angi Excel Discussion (Misc queries) 7 May 4th 05 07:04 PM
Creating an EXCEL COUNTIF formula for a range of values Pat Walsh Excel Discussion (Misc queries) 5 January 21st 05 02:57 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


All times are GMT +1. The time now is 06:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"