# Count Excluding N/A

May 19, 2009

I have a COUNTA function that I'm using. However, I want to exclude "N/A" from my count, what is the function that I need to use to do that.

Currently I have =COUNTA(\$C\$10:\$C\$122). How do I modify this formula so it doesn't include "N/A" in my count.

## Count Formula (count Everything Excluding 1 In One Row, While Looking At Another Row To Determine The Group)

Mar 26, 2009

I am trying to come up with a formula that will count everything excluding 1 in one row, while looking at another row to determine the group.
The attached example explains things a lot better.

I am going to have 2 formulas. 1 for the "Big" group and one for the "Small" The formula needs to look first at the column that has the group in it. Then it needs to count everything is column A excluding "Snake" And return the value.

## Excluding Zeros From Count

Jan 30, 2014

I have pivot table that is pulling data from a page that is using the vlookup formula. I would like the table to only include fields that have data in the count. However, the pivot table is registering cells that have "0" (i.e., there's no actual data in the cell it is pull from) as having data. How can I get the pivot table count to ignore these cells?

## Count Days Excluding Only Sunday?

Jun 5, 2014

how to count days excluding only sundays in a calender period.

"weekdays" excludes both saturdays and sundays.

## Count Rows Excluding Hidden

Nov 28, 2012

Have several rows

Some have data some do not
Some rows are hidden (Hidden rows also may or may not have data)

I wish to only count how many rows are not hidden.

## Count Sickness Days Excluding Weekends?

Dec 4, 2013

I have a holiday and sickness chart for all of the guys in my maintenance department for the whole of next year (2014). The holidays part works fine. The sickness is split into two areas; the number of occurrences of sickness and the total number of days sick. To make the formula work for the number of occurrences it is necessary to enter sick in both Sat and Sun if the sickness spans the weekend. But we do not work the weekend and so I do not want to count those two days. The formula needs to cover the entire year (cells BL5:ZL5). The calculation that I am currently using is =COUNTIF(BL5:ZL5,"Sick")/2 (divided by two as we log a.m. and p.m. and the answer is in days). In the example attached, it would be 1 occurrence of sickness and 3 days sick, not 4 as shown.

For completeness, the formula that I am using for the occurrences is =SUMPRODUCT((BL5:ZL5="Sick")*(BL5:ZL5<>BK5:ZK5))

## Count Word Occurrences But Excluding Keywords?

Feb 13, 2014

I have a list of courses that are run each month, I have a formula that counts the occurrences of these words to show how many times each course is run per month.

However, there are 'other' courses that will be run adhoc which I want to count the occurrences of. It basically needs to count if there is text there but exclude the normal courses which are run.

I have attached a spread sheet as an example, the list of the normal courses are on the right. I've highlighted in yellow where I need the formula.

## Count The Number Of Invoices Excluding Duplicates

Jun 14, 2007

I have a list of invoices numbers in column B, some are duplicated

I want to count the the number of invoices excluding duplicates.

## Count Column Of Text Excluding Duplicates?

Dec 5, 2012

I need to count a column of text excluding duplicates, but only if they are duplicates of the cell directly above them in the column. Example:

a
b
c
c
d
d
a
b

I want this to return 6 instead of 4. Is this possible?

## Search Column And Count While Excluding One Parameter

Sep 11, 2013

I want to count the number of cells in column C with one forumla that answers the question, "How many of the cells in column C contain the words, APM, BPPM, CAPM, and NMS while exluding any results that have "OUTLOOK" in Column K?

## Conditional Count Excluding Hidden Columns

Jan 22, 2008

I was wondering if was possible to create a conditional calculation excluding hidden columns.

For example in C4:HA4 the cells may have a number of values L, S, U etc.

When a user access the spreadsheet certain columns a hidden based on comparing their PC user ID to an access list in the workbook.

What I would like to be able to do would be to count the instances of L in C4:HA4 but exluding the hidden columns.

I'd hoped I might be able to use SUBTOTAL in a similar way to Domenic came up with here:

=SUMPRODUCT(SUBTOTAL(9,OFFSET(C2:C100,ROW(C2:C100)-ROW(C2),0,1)),--(C2:C100

## Count Number Days Excluding Weekends

Jun 9, 2007

I am trying to set up a sick leave list which will work out the cumulative total for the last 12 months (from last day of last sick entry). The problem I have, as the is is added to, I need a function/formula to work out 12 months from last date and then add up the no. of sick days from then to the last date. Hope this is clear. The next problem is I need it to work out total days and then without weekends. Below is the chart I have to work out.

Column 1 Start date of sickness
column 2 End date
Column 3 the number of days sick in period (column 2 less column 1 in days)
column 4 the number of days sick in period above excluding week ends (column
2 less column 1, less weekends in days)
column 5 total sick days in last 12 months from date in column 2 going back
a year including weekends
column 6 total sick days in last 12 months from date in column 2 going back
a year excluding weekends

What function or formulas can I use to calculate column 3,4,5 & 6. I am a not very experienecd in Excel

## Count Consecutive 0 Starting From Last Non Zero Cell In A Row (excluding Blanks)

Mar 13, 2014

Formula to count the number of consecutive zero starting from the last cell with non zero value.

## Function To Count Numbers Excluding Empty Cells

Jan 6, 2010

Is there a function that will count a column of numbers where that will eliminate counting empty cells based on a certain date that will also capture any numbers that is added after refreshing the table from Access? I have attached a spreadsheet for an example. I need to count on the number in column V that equals 13 for the date of 12/22/09.

## Count Excluding Duplicates Based On Multiple Criteria

Jul 4, 2014

I have the below table of data and what I am looking for is a formula that will count the number for unique numbers (col E) depending on a several criteria. So far I have got this formula but it's not working!

=IFERROR((SUMPRODUCT(--(A3="2014"),--(B3="1"),--(D3="Boc Limited"),)),"")

A
B
C
D
E

year
week
smsupplier_code
supplier name
orders_no

[code].....

## Excluding Cells

Feb 3, 2009

I have three columns that i've called 'active period' and 'Date/time' and 'value'

The the value of the cells in the 'active period' column depend on the value and time.

I want to create a cell that; when i can enter a date, this date will be excluded from the 'active period' column

## Calculate Value Excluding Text

Feb 11, 2014

On the attached spreadh sheet I have production costs that I wish to calculate. There are certain courses that are a constant each month and they are input via a data validation list, however there will be courses that are run that are not on this list.

on the cell with 'Other' I want to total the costs for the courses that exclude the normal monthly courses.

Ive managed to use the formula below to exclude certain text but I cannot do it for multiple keywords, or maybe there is a simpler formula.
=SUMPRODUCT(--(G4:G31>0),L4:L31,--ISNUMBER(FIND("Suicide",G4:G31)))

## Min Value Excluding 0 For Non-contiguous Cells

Apr 2, 2009

I can find the min value excluding zero in a range of contiguous cells, but how can I do it if the cells are A1, A3, A25, A67, etc?

## Excluding Non Mature Data

Dec 15, 2009

I am trying to automatically add up data, excluding that last two data points in a row. And every month add the next data point based on the date of the spreadsheet (top left). see trail below... This sting is going in circles.

## Sumproduct Excluding An Array

Dec 16, 2009

I have the the following formula =SUMPRODUCT(--(dealer1=\$B36),--(make=\$A36),--(company<>nominated))

The first two statements work alone, however I have an array which contains a list of customers that I wish to exclude from the total. I've put those in an array and called it nominated, However I just get #N/A.

## Excluding Data From Worksheets?

Jul 17, 2013

I've been asked by one of our Managers to generate a report on stock that hasn't been sold for x amount of time. Unfortunately with our accounting package the report I run also includes stock that we may have purchased recently but have not sold.

So what I did was generate a report for stock that hasn't sold in the last two years(NOTSOLD), and then a report for stock that has been purchased within the last six months(PURCHASED). I've put both of these reports into two worksheets.

What I'd like to do now is match up stock codes across the two worksheets and exclude the PURCHASED stock from the NOTSOLD stock.

My Excel knowledge is limited but to put it in beginners terms I'm basically looking to do a reverse VLOOKUP.

## SUMIF Excluding Text

Dec 28, 2005

I am trying to sum data in a column based on the absence of a character in a related column.

That is to say I need to be able to exclude rows that contain an "m" (there may be multiple characters in the criteria cell)

## Dates Excluding Sundays

Sep 27, 2007

I have a worksheet which calculates dates a product will be manufactured based on how many hours the job will run.

The first column has the starting date of the job which I input. The second column contains the date the job will finish based on a third column which contains the hours the job will run. The calculated ending date is then put into the starting date of the 2nd job. It continues to calculate down to the last job.

This calculation is based on a 24 hour day, 7 days a week. I would like to take out Sunday's in the calculation.

## Excluding Outliers When Using Formula

Jan 16, 2012

Is there a way to exclude outliers when doing a calculation? For example, I am calculating the degradation in sales for a given period. During that period a store may have had an extraordinary sales day that is skewing my slope up/down.

Store9/19/29/39/4Slope Should ReturnA15145013-1B131450151C1511413-1D13141151

Jun 30, 2012

I am creating a quote sheet that will have data entry for: customer name: company name: (Can be blank if customer is private)

street:
City:
Postal code:

[Code]....

## Excluding Weekends And Holidays

Mar 21, 2013

I am generating a spreadsheet that focuses on a target opening date. There is about 12 other headings along the top all stating the different phases of construction, permitting, etc. I need to exclude weekends and holidays from most of these columns, and only exclude holidays from about 2 of the columns. I think I am to use the formula for NETWORKDAYS, but not sure how or where to incorporate it.

## Excluding Rows From Formula?

Jun 13, 2013

excel formulas and currently have a very large excel sheet with over 1400 rows of stats from hockey games. For reference will call it Sheet A. I have the stats broken down by month from each season, and under each month I have 6 rows of "Totals" for that month which I would like to exclude. For example monthly totals for games at home(row 12) monthly stats away(row 13) etc. columns include stats such as Goals scored, goals allowed etc.

I want to pull highest and lowest numbers (excluding the totals rows) from each column in sheet A in to sheet B which would be a franchise records sheet. I'm looking for a formula to make this happen. I have tried the MIN and MAX formulas but am unsure of how to exclude those abve mentioned totals rows of sheets.

## Sum Of A Range Excluding Cells Containing #N/A

Jan 5, 2007

I want to sum a range of cells that are referencing another spreadsheet using a vlookup function, eg:

#N/A
#N/A
#N/A
51
78
73

i dont want to delete the formulas that are returning the #N/A but i want to be able to sum only the numeric values from the six cells.

## Averaging But Excluding Zeros

May 18, 2009

I have a list of numbers that I want to average. Problem is, some of the numbers contain zeros and i want to exclude these entries.

So, if I had a list of 6 values and 3 were zero, I'd want to sum the list and divide it by 3 (not 6).

## Average Excluding If-error Data

Apr 13, 2014

I've got set of data in columns B, E,H,K, N, Q, T and W. Some of columns are with if-error and some are not (Attachment). I want to find the average excluding if-error data columns. Another way, columns with if-error data should not be counted when average is calculated(In column X).