exclude

  1. R

    How to add a condition to COUNTIFS formula to exclude certain numbers?

    Hello, I have a COUNTIFS formula [=COUNTIFS(B2:I2,"<70")] that calculates the number of times a score is less than 70, as follows: <tbody> Dates 3/4/2019 3/11/2019 3/18/2019 3/25/2019 4/1/2019 4/8/2019 4/15/2019 etc. Student1 71 68 78 92 79 96 73 etc. Student2 56 71 68 75 70 81 77...
  2. T

    VBA dynamically exclude value in filter

    I was wondering if anybody can tell me how to exclude a specific value from a filter after I run my macro. I have the code at the end so it runs last however I am needing to always exclude 0 and #N/A from the output. I cannot tell it what values to include because they change with every run of...
  3. P

    Rank - exclude subtotals

    How do I setup a rank, type formula, to exclude subtotals? I am trying to pull a top 10 list. if I do a subtotal on the original data, I lose most of my top 10 values.
  4. G

    count cells that string contains X but does not contains Y or Z

    Hi, sooo..... I have list in table 1 (below) and I want to count in table 2, the number times the text in table 2 column A appear in the list from table 1. BUT i need to to exclude any entries that are in A4 or A5 from table2. I can do count if but i cant figure out how to exclude. for the...
  5. R

    COUNTIF with exclusions

    Hello. I'd like to count a range of cells that contain any text using the formula: =COUNTIF(H11:H64, "*") Problem is that it’s counting all of my cells since they each contain an IF statement. How do I exclude cells that contain an IF statement that output blank? For example, here’s what one...
  6. S

    SumProduct if A=ABC and to exclude B = 123

    hey guys, would apreciate some help What would be the formula, to do the following logic? To sum the values in Column U, but only if Column A = B1(same data as the value in cell B1) and Column B= C1 but exclude if Column D= E1and Column E=F1 thanks in advance
  7. C

    vba autofilter multiple criteria same column not working

    So I am trying to use this to exclude two different choices in column 4 but it does not want to work, Any advice? .AutoFilter 4, "<>ETOX-SKIP, EDC/WDC", xlOr, "<>EDC/WDC" Of course this is just a snipit of the code but the part that does not seem to work, if i make it a single criteria it...
  8. R

    Exclude certain dates fron holidays in the NETWORKDAYS function

    I've set up a worksheet to calculate holidays. There is a table consisting two columns. On column with dates, which include and days-off (holiday, public holidays and business trips) and another column with types of holiday ("holiday", "Public Holiday" and "business trip"). I use this table for...
  9. JaapZ

    VBA-Autofilter with text not working when excluding

    Good afternoon, finding myself in a "smash head on keyboard to continue"-situation. I'm filtering a dataset on various columns. In one it has to exclude all rows where the cell value in the column reads "Don't use". The cell contents are entered via a formula which looks in another cell. The...
  10. I

    how can i get rid of #DIV/0! error

    his guys i have the below formula which pics up the average day from a different sheet IF(AND(MONTH(MAX('Days'!$Q:$Q))=5,YEAR(MAX('Days'!$Q:$Q))=2019),AVERAGEIFS('Days'!$S:$S,'Average Lead Days'!$E:$E,$D17,'Days'!$R:$R,"Qualified"),"-") however when there is no data it comes back with a...
  11. M

    2 dimension array

    Hi, I am building a tool that contains a list of worksheets that the user can choose to either "Exclude" or resequence in their preferred order. I am hoping to learn how this can be achieved using arrays and have so far developed the following: Sub test_001() Dim IndexCell As Range Dim...
  12. I

    Exclude cell value from array when using textjoin

    Okay, after working at this for several hours I'm still stumped. I'm using textjoin to display combined values from Col BF that match numbers in BH but I want to exclude the value in the current row. i.e. for row 2, I want to exclude "CP60" from the results in Col BI and display all other...
  13. synergy16

    exclude a textbox from a clear all command button

    good morning all. if i am doing a "clear all" such as the code below, is there a way to do that and exclude a textbox from that? Dim ctl For Each ctl In Me.Controls If TypeOf ctl Is msforms.TextBox Then ctl.Text = "" End If Next ctl
  14. M

    Sumifs Help - exclude

    Hello, I am looking to have a sumifs formula that one of the criteria excludes an item as opposed to include. =sumifs(L:L,H:H,H3,J:J,J3) I need to exclude J3 in the above. I know there is a way "<> TEXT" but is there a way to exclude a cell itself not text? Thanks, Mr R
  15. D

    Dynamic Range to Exclude Blank Cells with Formulas

    I have below dynamic range formula to automatically change chart range. However i need formula to ignore blank cells with formula and exclude it from the range. Did anyone came acriss similar issue? =(Inno!$AU$6:INDEX(Inno!$AU6:$AU$65,COUNTIF(Inno!$AU6:$AU$65,"<>"&""))
  16. B

    Excluding Duplicate data in a SUMIF

    My data source has duplicates in it that I need to only sum once and exclude the others. Below is my SUMIF that just sums everything but I need to add a portion that tells it to exclude the duplicates for each section of the formula. <colgroup><col width="64" style="width: 48pt;"> <tbody>...
  17. mole999

    SHEET NAME List

    I have a simple lister to put information onto a page Dim I For I = 3 To Sheets.Count Cells(I, 24) = Sheets(I).Name Next I I've tried eliminating a number of sheet names, that are usually hidden Master and Data Page and Times anyone point me into how I can exclude those...
  18. P

    Need some help with this STDEV formula

    Hello. I've got this formula that I use to give me the STDEV of all data in column "E" from the previous month. It works just as it should, but I was wondering if there is any way to change it to exclude blank cells. Right now, if the cell is blank it calculates it as 0, and it throws off my...
  19. H

    Exclude certain banches in Col Y when extracting data

    I have the following macro below I want have certain branches (Br1, Br2 & Br3) in Col Y which I want to exclude when extracting the data when the code below was set as If cel3 <> "BR1" Or "BR2" Or "BR3" Then Branches.Add CStr(cel3), CStr(cel3) [ , the code copies the data except BR1...
  20. mole999

    SUMPRODUCT exclude zero

    I have this, (=SUMPRODUCT(MAX((Q14:Q45<>"")*(ROW(Q14:Q45)))) and it works fine except when I need to add a cell marker and this results in 0:00 in the cell, can they be excluded somewhere in this?

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top