LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default If 0, count various codes in a range on another sheet

I have this formula in N37 =SUM(G37:M37)/5
If the above result is 0, I want to count the number of times a specific
code(PQ) is in a specific range on another worksheet, and in cell N38, I'd
like the result to be, if PQ occurs 2 times in that range, 2 PQ. And if not
0, then nothing.


Something like. If N370, countif(data!A1:A7*PQ*,"")
So the result in the sample would be 2 PQ
A
s
s
pq
pq
s
s
s

Thanks

Steve
 
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
Count occurences of same zip codes Outlook, eh? Excel Worksheet Functions 2 December 15th 09 08:25 PM
Countif over a range of cells for various codes. AJ Excel Worksheet Functions 1 November 30th 09 02:50 PM
Looking up a value within a range of 3 letter or number codes Jimmy Excel Worksheet Functions 4 June 6th 08 07:11 PM
Looking up a value within a range of 3 letter or number codes... Jimmy Excel Worksheet Functions 6 June 4th 08 07:16 PM
How do I count alpha codes in a range of cells in a row? Barbarosa Excel Discussion (Misc queries) 1 February 7th 06 04:19 PM


All times are GMT +1. The time now is 06:45 PM.

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"