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: 3,101
Default Two Criteria COUNTIF

I am trying to count the number cells with a value greater than zero based
upon two conditions. In column A will be Department numbers. In Columns B
through M will be monthly salary amounts. The work sheet will look like this:


A B C D
Dept Jan Feb Mar
11450 1000 1000 0
25000 0 2500 2500
70000 0 1000 1000
76500 1000 1000 1000

Domestic 1 2 1
International 1 2 2

Department numbers that begin with a number other than a 7 are Domestic
Departments and Department numbers that begin with a 7 are International
Departments.

I am trying to use the COUNTIF for the Domestic line by saying count the
cell for the month if the cell value is greater than zero and if the
Department number does not begin with a 7. For the International line I would
want the monthly cell counted if the cell value is greater than zero and if
the Department number does begin with a 7.

The Department numbers that are listed are formulas that are pulling values
from another Sheet.

I have been trying to use a combination of COUNTIF and MID with no luck. Any
help would be appreciated.

 
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
countif with 2 criteria tpeter Excel Worksheet Functions 4 July 28th 09 09:13 PM
countif criteria sg Fred Loh Excel Worksheet Functions 7 September 8th 08 03:35 PM
CountIf with 2 criteria possible? duketter Excel Discussion (Misc queries) 1 May 24th 07 08:34 PM
Countif using format criteria not number criteria? Rumbla76 Excel Worksheet Functions 1 April 20th 05 05:38 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM


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