#1
|
|||
|
|||
Countif issue
I have a workbook with just 2 sheets, the first sheet is where data is input. Basically what you need to know is:
1st sheet Column C: Estimators Name E: Contract Amount F-U: how the company heard about us (each column has a header with a different source and an "x" is placed in the proper column) on the 2nd sheet I want to count the total number of "x"s in each column, which I was able to do Next I want to count the number of "x"s per column that also have a name in column C but I cant get it to work quite right, I've tried vlookups combined with countif(and but the closest ive gotten is using: =IF(Input!C:C="","",COUNT(Input!F:F,"x")) but it doesn't output the correct number. Please Help! Katy |
#2
|
||||
|
||||
Hi,
Quote:
Condition 1: Column C is not blank AND Condition 2: Column F is equal to "X" COUNTIF() can't do that, but a new function in Excel 2007 called COUNTIFS() can. =COUNTIFS(Input!C:C,"<>",Input!F:F,"X") |
#3
|
|||
|
|||
wow thank you so much!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CountIF in R1C1 With Ampersand and Address Reference | MicronExcel | Excel | 3 | 02-12-2012 06:49 PM |
COUNTIF and Cell address problem | ColinC | Excel | 3 | 12-24-2011 04:08 AM |
Vlookup, offset, match & countif | jujuwillis | Excel | 2 | 10-15-2011 11:06 AM |
using a cell content as a string with COUNTIF | geoffm | Excel | 1 | 08-16-2011 11:31 AM |
Countif with 2 criteria | ibrahimaa | Excel | 3 | 05-23-2011 11:23 AM |