#1   Report Post  
andrewm
 
Posts: n/a
Default countif function


Hi

can someone help me with a countif function

this one works - =if(countif(D2:D23,A15)=1," ",ROW())

however if I use more than one range it doesn't allow the formula

I tried to incorporate D2:D5, E5, F4

I tried this - = if(countif(D2:D5, E5, F4)=1," ",ROW())
it doesn't allow the formula

any help

thanks

andrewm


--
andrewm
------------------------------------------------------------------------
andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130
View this thread: http://www.excelforum.com/showthread...hreadid=386380

  #2   Report Post  
Krishnakumar
 
Posts: n/a
Default


Hi,

First define names to the ranges.

D2:D5=Rng1,
E5=Rng2 and
F4=Rng3
and the formula

=IF(SUM(COUNTIF(INDIRECT({"rng1","rng2","rng3"}),A 15))=1," ",ROW())

confirmed with Ctrl+Shift+Enter

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=386380

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
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Countif Function -Nested Angi Excel Discussion (Misc queries) 7 May 4th 05 07:04 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
How do I use COUNTIF in a SUBTOTAL function to differentiate the . Lettie Excel Worksheet Functions 6 March 22nd 05 08:47 AM


All times are GMT +1. The time now is 08:18 AM.

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

About Us

"It's about Microsoft Excel"