In my spreadsheet, I have a formula that extract to other column only non duplicates, then I want this information in other column sort by the lowest number but without the zero.

Column A, all numbers extracted
Column B, all non duplicates, where normally we have one zero.

I want the result from Column B in other sheet like that:

The only thing is, if only one cell contains a number other than 0 (eg. 1,2 or 3) then it returns #N/A. Ideally i'd like it to show the appropriate response for the number that is in the number range. For example - if one cell shows the number 2 and the rest are 0's, i'd like it to show Secure(the response for 2) rather than #N/A.

I'm trying to return the average, min and max values of a range that will have errors, be blank or have zeros. I have already found an array formula that works getting rid of the errors but the zeros are now a problem.

{=AVERAGE(IF(NOT(ISERROR(D27:G27)),D27:G27))}

I was thinking that an OR might be needed but for the life of me can't figure out where it belongs. I will also be using this formula with both MIN and MAX in the adjacent cells so it would be great if all I have to do is swap those in for AVERAGE. I'm not keen on how array formulas work, just found an example similar to this on the interwebs, and I'm curious why if the array brackets are removed the value returned is 0 and not an error.

Workbook is proprietary so VB is locked and not an option (not sure if it was but wanted to be clear).

I would like to reorder a list whilst ignoring any 0 values. I've attached (I hope correctly!) a spreadsheet of what I mean. It's pretty simple, but I've been banging my head over it for a while now!

I am trying to create a weighted average which will skip any row when Column B say's "yes" and then if Column N contains, a 0, I would like that to be skipped as well. The below works for skipping any row with the word "Yes", but it still includes 0 in the weighted average. Also, let's say the Column N contains a word and 0's, how can I skip that?

I'm trying to rank the values in cells S32:S38 in ascending order while ignoring zeros and negative values. I also need to rank duplicate values with a unique ranking, so that no ranking value is repeated. I tried the formula below, but the ranking values start at "2" instead of "1" and I can't figure out how to fix it.

with the data in the attached sheet, I create several different pivot tables that need show the count of the information in the columns M:DU. My issue is that the data is sent to me from a third party and the columns contain zeros that cause the counts to inflate.

What I would like to be able to do is run a macro that will search out any zeros in M:DU and replace them with a blank cell.

Unfortunately the number of rows increases with every monthly reporting cycle so the macro would need to be able to accommodate for that.

I’ve created a formula for this statistic and I’m happy with the results. Because I’m working with formulas, my only problem is the unwanted zeros. How do I hide zeros that show up automatically (i.e. #3 [blank] and Nov 09-June 10)? I can hide the numbers, but if I enter a zero to one of my future statistics it will not appear and I don’t want that to happen. Is there a way to hide those automatic zeros without affecting my real zeros?

I have a list in rows where I have a ranking formula =COUNT($G$5:$G$81)-(RANK(G5,$G$5:$G$81)+ COUNTIF($G$5:G5,G5)-1)+1 When I sort the rank, ascending. All of the unique numbers sort ascending, but the non-unique numbers sort descending

I have a column I want to average however it contains zero's and #DIV/0 entries in it.

Those entries are from linked sheets that have not been populated and are supposed to be there. I want to average the column that contains these values but want the values excluded from the calculation until they are populated with real numbers.

Is it possible to make excel sort ascending or descending but from mid way through alphabet and then loop through the alphabet again. for example. If Cell A1 had "A" in, it would sort as normal.

Cell A1 = A Cell A2 = B Cell A3 = C Cell A4 = D Cell A5 = E

If Cell A1 had "C" in, it would sort from "C" through the alphabet and then loop to the start of the alphabet as shown below.

Cell A1 = C Cell A2 = D Cell A3 = E Cell A4 = A Cell A5 = B

I have rows of data with numbers and these #DIV/0! errors. I need a sum formula so when going through the entire row it will ignore these errors, at the moment as they are included in my sum formula the total is also giving me #DIV/0!

I have managed to get it almost done with lots of help from here the last issue I have is this:

The module I want transferred is working the assigning of the macro within that module to the button is working, however, when it gets to the FillSalesSheet section it opens the said workbook but then jumps to the module and the FillSalesSheet in that.

Module 1 which I would like ignored on the newly formed workbooks looks like this: ...

As of right now these are the steps i do to sort...i click custom sort choose My data has headers and then i select from the drop down list the word FRNAME.

is there any way i can setup a macro to do this for me? i tried recording the macro but it just is recording me choosing the column FRNAME is in. This does not work for me since FRNAME end up being in different columns all the time but will always be in row 1.

I have stacked formulas that look for values via vlookup and index match functions.

Sometimes the worksheet will have ( 100 ) separated into 3 columns (open parenthesis, number, closed parenthesis) and the formula will pull the first column containing the parenthesis. How can I write the formula to ignore the "(" and get to the "100"?

The formula uses ISERROR to move forward, could I incorporate ISNUMBER also or is there a better way to do this?

I am using a simple SUM formula like this, =SUM(D10:E10). I would like for the SUM cell to be left blank until a value is entered into the cells D10. Currently it calculates the SUM as 0.

If I have a formula which adds the value of each day of the week and divides by 7 to get an average per day, how do i fix it to get an average if their is a holiday so their would only be 6 days without changing the formula as the holidays could change from week to week by province. =(a+b+c+d+e+f+g)/7 what happens if "e" is a holiday and I need to divide by 6, or in the case of xmas if "d and e" are holidays and I need to divide by 5?

I'm trying to average a column range range =AVERAGE(A5:A29) that has blank cells not yet populated and also cells with formulas that contain the #DIV/0! error.

Obviously the cell with my formula produces the #DIV/0! error when it tries to average this range. Can someone point me in the right direction so the formula =AVERAGE(A5:A29) will work?

I have a line graph that charts certain data per day in a month.

During the weekend there is no data. The graph however considers the number as zero, and I want it to just "skip" that day and plot the line directly from the friday date to the monday, instead of the line touching zero on saturday's and sundays.

Is it possible to do this? Or am I forced to adapt my table to only include days of the week?

I am a excel novice and can't seem to find a solution to this problem, there's most likely a simple solution. I want to calculate the total of N - M in L only if N is > £0, If I have not got a selling price in N how can I make cell L show blank? I have attached a sample of the sheet.

I have the following formula but I want to ensure that the sum ignores any text so I don't get #VALUE! returned. I've tried including ISERROR but doesn't seem to be working correctly. The formula is: =IF(H19+H20+H21+H22+H23+H24+H25+H26+H27+H28>0,SUM(H19:H28),"")

Example i import data of say names steve jones, paul jones etc but in some cases it imports (5) steve jones or (db) steve jones and then the lookup wont produce the right data and i get #N/A coming up so it has steve jones 10 tom jones 15 (4) steve jones #N/A

i would like to be able to do a vlookup on another tab of that information and just import everything except ( ) and the contents

I've recorded some macros for completing formatting tasks and I'd like to know if there is a way of asking the macro to ignore sheets if there is no data.

The files are reports we export from our accounting system and they need to be tidied up, named and sorted. It's the sorting and subtotalling that is causing an issue because not every department has transactions every month. I'd like the macro to skip over sheets with no transactions and continue on.

I have a combo box with a list of vendors. The problem is that a vendor can appear more than once. The list of vendors is dynamic so new vendors can be added and still appear in the combo box but how can I get the combox box list to only recognize the vendor name once so I don't have multiple duplicate vendors showing in the list?

I want to count back the last 6 cells in column S which has data (ignoring any blank cells) and add them up.

My data is ranging betwen S62:S143 (with S144 being the cell that I want to show the total for the last 6 cells with data). I have column headings and various other bits of data from S1:S61 that I want to exclude completely but need to keep for historical purposes.

Here is an example of some of the data in column S:

I have tried adding a negative and positive number on the end of the COUNTA formula but all it does is count all the cells within that given heigh range, not a specific number of cells with data.

I don't specifically need to use SUM. As long as I get a total.