# Average A Set Of Figures Which Ignores 0 Entries

Dec 22, 2005

I need to average the figures in several cells. However some cells have a 0
in them.

I therefore want the formula to ignore the cells which have a zero.

I have used the AVERAGE & AVERAGEA function, but both count 0 cells.
(although AVERAGEA ignores blank cells, I need to keep the 0s in as they are
linked to another formula)

## Excel 2003 :: Average Of Cells Which Are Not In Range Which Ignores Any Zero Values

Dec 4, 2013

I have a worksheet which has various figures for each day of the week however I need to establish the weekly average of these figures.

Due to the way in which the figures are displayed, I am unsure how to use a formula which does not require a range with cells located adjacent to one another.

I have attached a test sheet as an example. The cells in yellow require the formula and I need a weekly average for criteria 1-3. This formula also needs to be compatible in Excel 2003

Test Sheet.xls

## Average The Time Figures Labled

Nov 12, 2007

I'm trying to average some time figures labled Avg Time below:
I don't know how to average mm:ss data to give accurate results.
5:09 5:14 5:17 and 5:39 should = an average of about 5:20 but I can't figure out how to use a formula to give me that result. Once I do, I'll apply that to a multitude of other parts of a larger chart.

Drive-in Name: ******, NJ
Drive-in #: 5770Day 1Day 2Day 3Day 4Day 5Day 6Day 7Weekly Totals
Open Date:7-Nov8-Nov9-Nov10-Nov11-Nov12-Nov13-Novand Averages

Sales\$12,406.54\$13,682.66\$14,749.75\$15,262.44 \$56,101.39
Transactions1,1911,2451,2501,2314,917
Average Check\$10.42\$10.99\$11.80\$12.40 \$11.41
Sales Per Labor Hour (SPLH)0
Tray Time
Avg Time5:095:145:175:39 0:00

## How To Get Average Time For Four Specific Entries

Apr 7, 2013

I have a database of over 10,000 entries. I am trying to get the average time for four specific entries (department, test 1, test 2, test 3). I did an averageifs for the tests individually and calculated the average time individually.

The three tests comprise of the department.

Average of test 1 = 40.8
Average of test 2 = 39.9
Average of test 3 = 94.8

Average of dept using the averageifs is 41.3
Average of dept by taking the average of the values above is 58.8

Why is that discrepancy there?

## Calculate Average Of 4 Lowest Numbers Out Of Last 7 Entries In Column

Jun 4, 2014

Daily Result
14
10
16
10
5
15
8
12
15
9

I have the formula working for the average of the 4 lowest of all, using "AVERAGE" and "SMALL"; need for average of 4 lowest in most recent 7

## Get Average Of Last 6 Data Entries Not Including Blanks Or Zeroes

Jul 22, 2014

I am trying to get the average of the last 6 data entries not including blanks or zeroes.

Currently I have:

{=AVERAGE(INDEX(C2:CP2,LARGE(IF(C2:CP2<>"",COLUMN(C2:CP2)-COLUMN(C2)+1),6)):CP2)}

Which works fine when I've got 6 or more values in the row.

But if there are less that 6 values in the row it returns with #NUM!. Is there a way to add an IF ERROR THEN make = to AVERAGE of C2:CP2?

## Calculate A 30-day Moving Average Based On The Last X Number Of Entries And Date

Jul 5, 2006

I have a worksheet that has all weekday dates in column 1 and values in column 2. I want to create a 30-day moving average based on the last (non-zero) value in the column 2.

Since every month has a different amount of days, I want it to search the date that has the last value (since I don't get a chance to update it daily) and go back thirsty days from that date and give an average of all the column 2 values skipping and values that are null or zero.

## COUNTIF Ignores Leading Zero's

Nov 12, 2009

I have two, technically unique text values, with leading zeros, countif is including them in the count for each.

D17 = 01234
D18 = 1234

formula in column "C"
=IF(D17<>"",COUNTIF('Part Numbers'!B:B,D17),"")
=IF(D18<>"",COUNTIF('Part Numbers'!B:B,D18),"")

both countif's are resulting in 2, whereas they should be 1 since they are textually unique. The cells themselves, on both the source and counting side are formatted as text.

## Set Up A Formula That Ignores The 31st Of Each Month?

Jun 18, 2014

I am trying to setup a formula that will add 20 days to date entered in another cell. If the date entered is the 31st (ie 5/31/2014) I need it to return the 21st of the next month. Using the example date - 5/31/2014 - it would return the date as 6/21/2014. I would also need it to return the 30th day if you enter the 11th - ie 6/11/2014 would return 6/30 not 7/1.

## How To Use A SUM Array Formula That Ignores Letters

Feb 15, 2014

I have two array formula's, one to count hours, the other to count days. Both are based on: type of worker, day of week, and week number. The problem is if I use a "V" or "T" for vacation or training, then the array formula will not work. Currently I leave the field blank if they are not working, but it would be nice to see whether they are on vacation or training. Is there a way i can have my cake and eat it too?

Counting Days
{=SUM((\$E\$5:\$MN\$50>0)*(\$B\$5:\$B\$50=\$D56)*(\$E\$3:\$MN\$3=F\$54)*(\$E\$2:\$MN\$2=\$E\$67))}

Counting Hours
{=SUM((\$E\$5:\$MN\$50)*(\$B\$5:\$B\$50=\$D56)*(\$E\$3:\$MN\$3=F\$54)*(\$E\$2:\$MN\$2=\$E\$67))}

Here is a breakdown of what each of the ranges mean:

\$E\$5:\$MN\$50 is the area which the hours are forecasted\$B\$5:\$B\$50 is the column for which type of worker (Electrician, Pipefitter, etc)\$D56 is the specific type of worker we are counting for\$E\$3:\$MN\$3 is a row with all the week days ("Fri, Sat, Sun...)F\$54 is the specific day we are counting for\$E\$2:\$MN\$2 is a row with all the week numbers\$E\$67 is the specific week number we are counting for

## Count That Ignores Strikethrough Font

Jun 29, 2012

I need a count that will ignore font that is strikethrough. Is that possible?

## Standard Deviation Formula That Ignores 0 Values

Sep 10, 2006

I am trying to come up with a STDEVA formula that will only count values greater than 0 in a data set. Is this possible?

## Excel 2007 :: Ignores Paper Source Selection

Nov 28, 2012

Pretty straightforward: randomly and infrequently, Excel ignores my selection of the rear tray paper source on my MX870 Canon. Able to correct issue only by closing out and re-opening Excel.

## Excel 2010 :: Range That Ignores Hidden Rows?

Oct 16, 2013

range formula that i am using for drop-down lists. One of the drop down lists is based on the range where the data changes(it is a list of jobs that has been released from cad room and when they have been machined a "yes" in one of column appears and then it needs to be filtered so that only non-machined jobs are visible).

Bitmap Part Description

Expected Spindle Hours
Clock In
VLOOKUP

[Code]....

I need a formula that is not taking into account values from hiden rows. OR the formula that is not taking into account values from the rows that have Yes in the 4th column.

## How To Show If The Figures Have Gone Up Or Down

Oct 9, 2008

I need to indicate if the figures for this week has gone up or down compared to last weeks figures.

So looking at the attached, I need to add a column (I5) to sheet Admitted Patients WE 20081005, so it compares the % treated in <18 wks figure by specialty to previous weeks figures on sheet Admitted Patients WE 20080921.

Ideally I would love an arrow either point up if the figures has increased or down if they have reduced.

## Matching The Figures

Feb 10, 2010

I need to produce three different formats of accounts data monthly. I attached a file with each accounts description in Columns A, E and G. Is there a way to match the data with those accounts name in a faster way than manual linking?

## Cut And Paste Last 6 Figures?

Jul 1, 2013

I would like the last 6 figure in cell a1 to be highlighted cut and pasted into B1 - the amount to be cut will vary

## Duplicating The Last Row Of Figures?

Jul 15, 2009

I am trying to make an inventory cover page - that shows data of separate products on different sheets with the following;

Product
Date
Previous Total
Amount Taken
New Total
and occasionally there is a Re-issue of stock to the previous total.

This is at the moment an historical record as anyone can see the usage across the dates for any particular product by looking at the sheet. Each time there is a change to the inventory it is recorded on a new row. But what I am trying to do is to copy the last row of data from each sheet to the cover page to show an overall inventory.

The part where I get stuck is making the selection of the last entered row of data [from each sheet] automatically updating the coverpage, when each sheet will get new data added frequently.

I thought about somehow making a duplicate of the last row and locking it in place and linking that to the coverpage - but I still do not have a clue on how to get it to automatically select the last row of the data.

## Dim Figures From Cell

Nov 26, 2012

Dim figure from the cell b4,b5,c4,c5 to accumulate add total b11,b12,c11,c12, respectively.

## How To Add Space Between The Figures

Jul 28, 2013

How to make space between the figures ex:11480831525 i want like: 11480 831525

because i want to do it for thousand of transactions in one time by using only one formula.

## Alignment Of Figures

Sep 17, 2007

I have the following ...

.Offset(3, 0).Value = "For " & P & " numbers there are " & Format(tly, "###,###,##0") & " x different values of " & cmb & " numbers. "
... which includes figures upto and including millions.

The thing is that the above code ONLY produces figures that are relevent.

## SUM Formula For Certain Figures In A Column?

Jul 28, 2014

I want to calculate the sum of a column but I have 4 lots of figures going down the column and I only want it to calculate the some of 2 of those 4.

The 4 figures: £4.80, £3.80, 31 & 25.

These 4 figures are within the column multiple times and I just want to have one cell that sums up the £3.80's and £4.80's within the column and then another cell to do a separate sum of the 25's and 31's.

Is this possible, if so how? Does it require an IF SUM formula of some sort?

## Rounding To Significant Figures?

Mar 31, 2014

I have a large number that has 6 figures.I want to display this number to 3 significant figures on the spreadsheet, but I have more formulas that need to use the unrounded number.So is there a way to DISPLAY the number to 3 sig figs whilst keeping it as the complicated number for the rest of the formulas?

## Summing Figures Which Include #N/A

Feb 3, 2010

how can I total three columns together, one with the value of #N/A, and two with figures in, without the total coming back as #N/A ?

## RANKING Set Of Figures Using Criteria

Jul 11, 2012

I'm wanting to Rank a set of figures in one column but use criteria in another column to pick up the array which is used. I don't want any figures to be ignored so will have multiple rank 1's 2's etc. Would also be handy if I could use multiple criteria.

## HLookup For Words Not Figures

Jul 15, 2012

I am using a Hlookup to retrieve Words and Figures but when retrieve words it is failed and output is figures ONLY while I need the same word to be shown in the cell value?

## How To Get Final Figures From Raw Data

Feb 13, 2014

DATE
PRODUCT
BALANCE

1/2
KEY CHAIN
4

1/2
KEY CHAIN
8

1/2
KEY CHAIN
27

[code]....

How to get final figure each product from sample data above:

the result:

Key chain = 27
Hamper = 1

## How To Paste Figures From Column To Row

May 7, 2007

I have 2 spreadsheets, one is on crew costs and the other one is a summary page. On "crew cost" worksheet, say A1= IBM, B1 =Microsoft, C1=HP and D1=Pioneer. I want to link A1 to D1 to cells A1 to D4 on "summary page".

However, I do not want to use "paste special", "transpose" function as I may need to add in columns to "crew cost" spreadsheet.

Instead I hope that I could link A1 on "crew cost" spreadsheet to A1 on "summary page" spreadsheet. Then I hope to drag the formula from A1 down to D4. The result will be A1= IBM, B2 =Microsoft, C3=HP and D4=Pioneer on "summary page" spreadsheet.

However, it does not work as dragging only occurs through columns or through rows. Is there any formula that I can use?

## Formula Account For All Possible + Or - Figures

Nov 23, 2007

I am working with percentages, and trying to avoid #DIV/0! Errors at the same time.
Lets assume column A holds last years figures, and column B holds this years figures, column C calculates the difference in percentages.

I am having dificulty where say A1 = 0 B1 = 10 (C1 Should be 100%)
then what happens if A2 = 5 and B2 = 0 (C2 Should be - 100%)

Is there a common formula that will account for all possible + or - figures in A and/or B that will also suppress #DIV/0! Errors?

## Finding Figures That Add To A Total

Apr 7, 2009

I have a list of 30 numbers representing receipts due. I have one receipt which I know must represent the sum of some of these numbers. Is there anyway in Excel that I can highlight the range of 30 numbers and ask Excel to sample all possible combinations to find which numbers add up to my total receipt?