Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Count if based on criteria within cells on another sheet

I'm creating a summary sheet (sheet 2) and I'm looking for the correct
formula to calculate the number of cells populated in Sheet1!G5:G137 if cells
Sheet1!C5:C137 contain PO1A (or other criteris). Note: cells in column C are
text fields that may contain a number or a combination of numbers and letters.

If Sheet1!C5:C137 equals P01A, then count Sheet1!G5:G137

Thanks for any help I can get!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Count if based on criteria within cells on another sheet

Try this:

=SUMPRODUCT(--(Sheet1!C5:C137="PO1A"),--(Sheet1!G5:G137<""))

--
Biff
Microsoft Excel MVP


"--Viewpoint" wrote in message
...
I'm creating a summary sheet (sheet 2) and I'm looking for the correct
formula to calculate the number of cells populated in Sheet1!G5:G137 if
cells
Sheet1!C5:C137 contain PO1A (or other criteris). Note: cells in column C
are
text fields that may contain a number or a combination of numbers and
letters.

If Sheet1!C5:C137 equals P01A, then count Sheet1!G5:G137

Thanks for any help I can get!



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
Count text cells based on two criteria aet999 Excel Worksheet Functions 9 May 2nd 09 03:20 AM
Using a function to count cells based on multiple criteria Rae Excel Worksheet Functions 1 February 22nd 08 09:34 PM
count cells,containing text, based on more than one criteria? Sarfraz Excel Worksheet Functions 1 March 30th 07 11:20 PM
Count no. of nonblank cells in one column based on criteria of ano Beach Lover Excel Discussion (Misc queries) 9 February 19th 07 03:39 PM
Count or Sum based on more than 1 criteria Andrew C Excel Worksheet Functions 1 December 29th 05 09:46 PM


All times are GMT +1. The time now is 02: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"