Count Mutiple Criteria With Wildcard

Dec 4, 2006

I have attached a report I do monthly, a duplicate ticket report.

I am able to work out the duplicate tickets and parent tickets but

I need a formula to do 1 more task.

I need to check all the duplicates in A:A and also the assignment group in K:K.

If the ticket is a duplicate and the assignment group is nz - dms* i need it to count these.

Probably simple but Im still pretty new to all this. I came up with the following but its obviously wrong or I wouldn't be here.

COUNTIF(AND('Duplicate Calls for'!A:A,"Duplicate"),('Duplicate Calls for'!K:K,"dms - nz*))

View 5 Replies


ADVERTISEMENT

COUNTIF With Mutiple Criteria

Apr 6, 2009

In Row 3, starting at cell C3, I have a list of Stores in the format Store A (Town 1), Store A (Town 2), Store B (Town 1) etc

In Rows C4 to CA7 I have 1 or -1

I want to count the number of instances of 1 for Store A

I have tried the following formula, which is returning 0

{=SUM((C3:CA3="Store A *")*(C4:CA7=1))}

View 3 Replies View Related

Count Of Numbers Based On Value In Mutiple Columns

Apr 14, 2008

I would like to count how many 5's and 6's are in a column when the same row but different column is 7 and 8. For the example below the answer is 3.

4 7
4 3
5 3
5 8
6 7
6 7

View 2 Replies View Related

Sumproduct With 2 Criteria & Wildcard

Jun 8, 2007

I have spent the last 2 1/2 hours trying to figure this one out on my own. I have attempted multiple possiblities from the forum, however without success.

Okay, I need a count based on 2 criteria. My data source is a different workbook.

My last attempt on a formula is:

=SUMPRODUCT(('[eTE Status - TX HSP Math 2009.xls]Project'!$B$2:$B$248=D2)*('[eTE Status - TX HSP Math 2009.xls]Project'!$A$2:$A$248="978*"))

Column A - ISBN #
This will ALWAYS begin with 978 or will contain N/A. There are no blank cells in this column
Column B - Grade

In the formula above, cell D2 represents the Grade criteria. And in the second part of the criteria I was trying to create a wildcard so all numbers beginning with 978. Excel "accepts" this formula with giving me an error message, but yields 0 as a result rather than 34.

View 6 Replies View Related

Autofilter More Than 2 Criteria On Strings With Wildcard

Mar 12, 2013

I am trying to autofilter more than 2 criteria, for example 3 criteria.

Below code works fine as the criteria are exact match strings

VB:
ActiveSheet.Range("$A$1:$O$25").AutoFilter Field:=7, Criteria1:=Array( _
"=apple", "=orange", "=grape"), Operator:=xlFilterValues

However below code does not work when the criteria are strings with wildcard "*"

VB:
ActiveSheet.Range("$A$1:$O$25").AutoFilter Field:=7, Criteria1:=Array( _
"=*apple*", "=*orange*", "=*grape*"), Operator:=xlFilterValues

I need a wildcard * indicating strings contains instead of exact match the criteria.

Data looks like this

Fruits
apple, orange, peach
orange, strawberry
banana, peach
grape, peach

After autofilter, any rows that contains one of the criteria(in this case orange, apple, grape) will remain.

View 1 Replies View Related

2003: COUNTIF/SUMPRODUCT, Multiple Criteria W/Wildcard

Nov 24, 2008

I'm trying to write this but it returns a 0 when I know there are 3 records that match this criteria: =SUMPRODUCT(('Invoice-Detail'!J2:J50="NewJob_Post.NET")*('Invoice-Detail'!H2:H50="KY_*")). I think the problem is in the wildcard character. I don't know if I should be using COUNTIF or SUMPRODUCT or something else?

View 3 Replies View Related

Filter Table To Show Data Meeting Wildcard Criteria

Apr 10, 2008

My goal is for any of my team members to be able to use a macro to delete all of the unwanted text from a fairly large worksheet and only show their specific information. I created it for myself and posted a slimmed down version of it below. Instead of the macro deleting any rows that do not have BRANDON SCOTT in column D, I want a pop up box to enter your name, and then any rows that do not have your name in column D will be deleted. I’m sure it is something simple, but I have not been able to find another forum with this information.

Sub MyTeam2()
With Columns("D")
. AutoFilter field:=1, Criteria1:="<>BRANDON SCOTT*"
.Resize(Rows.Count - 1).Offset(1).EntireRow.Delete
.AutoFilter
End With
End Sub

View 3 Replies View Related

Excel 2010 :: Macro With Autofilter With Array To Remove Unwanted Criteria With Wildcard

Apr 28, 2014

I'm having a hard time making this maro work in Excel 2010.

I need it to filter out the items "AR", "BATCH", and the line of "Total:*" where the * is a total amount of any given number dependant on the day.

Below is the coding I have that Excel is not liking.

Sub FilterAccurateRawData()
'
' FilterAccurateRawData Macro
'
'
Rows("1:1").Select
Selection.AutoFilter
ActiveSheet.Range("$A$1:$AA$45415").AutoFilter Field:=1, Criteria1:=Array("<>AR", "<>BATCH", "<>Total:*")
Operator:=xlFilterValues
Sheets("Instructions").Select
Range("A9").Select
End Sub

View 3 Replies View Related

Count Of Rows In Array That Meet Criteria In Column2 And Different Criteria In Column3

Dec 6, 2013

I have a table with 3 columns with an unkown number of rows (text, date, date) that is being imported daily.

I want to create a 4th column with dates starting from today and each subsequent row be one day earlier. I want to look at 30 previous days.

I then want to count the number of rows (looking at column 1-3) with the following criteria:

Countif column2<= "date in colum4" AND column3< "date in column4"

View 6 Replies View Related

Compare Two Cells In A Row With Criteria. Count Rows That Match Criteria

Sep 22, 2009

Here is what I have. 4 Worksheets. The first worksheet is a summary page. I have 350 personnel that are broken down into three different groups. So each group has it's own sheet. Here is what I need to accomplish. Results need to be posted on the summary sheet.

I need to compare cells B2 & D3 for each row on a worksheet and display the number of times they match on a worksheet. For example how many times does EP & EP match on a certain row. I need to compare cells B2 & D3 for each row on a worksheeet and display the number of times they don't match on a worksheet. For example how many times does EP & MP occur. I've attached an example for reference

View 5 Replies View Related

Loop To Count Cells Until Criteria Met Then Restart Count

Mar 7, 2012

ABCDE1DATEEMP1Days Between SalesEMP2Days Between Sales
23/6/2012 YES0NO 33/5/2012NO NO 43/4/2012NO NO 53/3/2012 YES2NO 63/2/2012NO NO 7 3/1/2012 YES1YES682/29/2012 YES0NO 92/28/2012NO NO 102/27/2012 YES1NO 112/26/2012 YES0NO 122/25/2012NO YES4

I believe I need a loop code to do what I need, because none of the functions I've tried have worked. I want to start at B2 and go down the column until I come to a YES. When I find a YES, I want to know the number of NOs that preceded it. Then I want to go from that YES(#1) to the next YES(#2) and count the number of NOs between YES(#1) and YES(#2) and so forth, until I run out of rows. For example, in C5, the answer is 2, because there are 2 NOs between YES#1 and YES#2 in coulmn B, and a 1 in C7, because there is 1 NO between YES(#2) and YES(#3) in column B.

View 5 Replies View Related

Multiple Criteria Count Between 2 Dates & Other Criteria

Jul 30, 2008

I have a spreadsheet which lists letters issued, the date issued and the potcode. I need a formula that counts, on a weekly basis, the number of letters issued to postcodes in Sutton and Bexley.

I have a count sheet set up on one worksheet and the list of postcodes applicable to each area are listed on another worksheet. I have been playing around with sumif, sumproduct etc, but these don't seem to work as I am pointing the formula to a list of postcodes and not an individual postcode. For example, the formula for one week needs to tell me, the number of letters issed to Sutton between 26/07/08 - 01/08/08. This is what I tried -

=SUMPRODUCT(('MU63 NC'!$F$2:$F$10>=COUNT!B$2)*('MU63 NC'!$F$2:$F$10<=COUNT!B$3)*('MU63 NC'!$D$2:$D$10=Sutton!$A$2:$A$50))

But I get #N/A - if I change the last refernce to a specific cell instead of a range it works, but this will make the process very lengthy as there are lots of postcodes!

View 5 Replies View Related

Count Values In One List And Then Narrow / Combine Values Based On Criteria And Count Those

Jan 20, 2014

I need a way to find a value in a column which has one or more corresponding values in an adjacent column. Then take all of the corresponding values found and count all occurrences of the found values in another column. But I only want to count the entries if an adjacent column is not blank.

Not the easiest thing to describe. Starting to wonder if I need to think in reverse. I hope the attached example makes more sense.

Book1.xlsx

View 2 Replies View Related

Lookup With Mutiple Returns

Dec 16, 2008

i am trying to lookup up when ppart matches spart and subtract total shipped from total produced. Here is where I am getting stuck .... because spart has multiple returns LOOKUP(2,1/((I2=C:C)),J2)

View 3 Replies View Related

Importing Mutiple Files

Jul 14, 2009

Which is the best way import many (thousands of) files in text format into a single excel spreadsheet. Importing files with e.g. 50 lines to create 50 columns for rows for every file

View 2 Replies View Related

Using Mutiple Entries In A Calculation

Feb 19, 2010

I'm trying to create a workbook that will calculate times. Currently I have a worksheet that has, for example Incident #1, Date/Time In, and Date/Time Out. At the end of the row it will calculate total time in hours.

I need to create a second worksheet that will have Incident # to correspond to the incident # on Sheet1, with Date/Time In and Out. However, on this sheet there could be more than one occurance of Incident#1, and multiple times in an out. That total will be deducted from the total of incident#1 on Sheet1.

The easiest way to explain this would be...say for the sake of argument Sheet1 calculates the duration of a vacation in hours (lets say 168 hours). Sheet2 will calculate how much of that time was spent doing business (lets say 2 hours on day1, 3 hours on day 4). In the end I want to subtract 5 hours from 168 hours giving me 163 actual vacation hours.

My problem is, I don't know how to go about using the values in multiple rows in Sheet2 that correspond to the row in Sheet1.

View 6 Replies View Related

Mutiple Filters Using VBA Or Non VBA Method?

May 8, 2012

I need to apply filters based on 2 criteria

Filter1Dropdown SelectionFilter2Dropdown SelectionHeader1Header2Header3Header4Header5Header6

Depending on what is selected in Filter 1, lets say it applies to column F and i get a data set

Now with the filtered dataset of Filter 1, I should be able to apply Filter 2 or vice versa.

Also at the end, I need to release all filters so that i can see the entire data set.

View 2 Replies View Related

Combine Mutiple Cells Into One

Jun 9, 2009


I am having a hard time with this one. I have 3 cells.

A1 Dallas, TX.

A2 Chicago, IL. (Sometimes Blank)

A3 New York, NY


I would like this info to transfer to another cell like this

Dallas, TX / Chicago, IL. / New York, NY (All in one cell with the "/" to divide.

When the "Chicago, IL." is missing it would look like

Dallas, TX / New York, NY

View 9 Replies View Related

Delete Mutiple Sheets By Name

Sep 22, 2007

i have created that will sort a db into dozens of sheets, now i need to be able to reset the process. There are 3 sheets i need, "balances", "trans", and "template". im unsure as to how define the sheet names so that the dSheet variable will recognize them. the way i have it now just deletes everything.

Sub reset()
Dim dSheet As Variant
Sheets(1).Select
On Error Resume Next
Do Until Sheets(1)
dSheet = ActiveSheet.Name
If Not dSheet Is "balances" Or "trans" Or "template" Then
Application.DisplayAlerts = False
ActiveSheet.Delete
Application.DisplayAlerts = True
Else
ActiveSheet.Next.Select
End If
Loop
End Sub

View 3 Replies View Related

Calculate Mutiple Rows And Columns

Jan 8, 2010

I have 134 parts and each part is available in 5 price groups - these are static items that need no calculation as they are completed on another worksheet. I have 400+ "items" each item is made up of various parts. I need to calculate the cost of each item. Hard to explain without example so I have attached an example.

View 2 Replies View Related

Mutiple Clear Data Macro

May 16, 2009

I have made a spreadsheet but would love to be able to incorporate multiple 'Clear Data Buttons', (Macros)
that clear cell data.

I have attached several screen shots of my spreadsheet, with the URLs listed below.
(Images 1-6)
http://tinyurl.com/qba57l
http://tinyurl.com/od9upb
http://tinyurl.com/ovaeej
http://tinyurl.com/pctsvj
http://tinyurl.com/oc2qqm
http://tinyurl.com/qdhzge
Spreadsheet (xls & xlsm) in zip format
http://tinyurl.com/qczlap

It is a trading order sheet that I want to use, but also upload to a blog that I have just
started, relating to trading as a free download, hopefully it may benefit some users/visitors etc.

OK, regarding the macros.

I'm not quite sure how it is best to do it.
In total there are 13 'Clear Buttons.'

11 are 'CLEAR DATA' Buttons
12 is a 'Clear ONLY ORDER SHEET DATA' Button.
Finally 13 is a 'Clear All DATA!' Button

I think it's best if I give the cell location of where I would like the macro buttons located and what data they clear.
Clear DATA - Button 1 - (Is in Cell F3) - To Clear Data, Columns D,E,F & Rows 4 to 13)
Clear DATA - Button 2 - (Is in Cell N3) - To Clear Data, Columns G to O & Rows 4 to 13)
Clear DATA - Button 3 - (Is in Cell U3) - To Clear Data, Columns S,T & U & Rows 4 to 13)
Clear DATA - Button 4 - (Is in Cell F15) - To Clear Data, Columns D,E,F & Rows 16 to 25)
Clear DATA - Button 5 - (Is in Cell N15) - To Clear Data, Columns G To O & Rows 16 to 25)
Clear DATA - Button 6 - (Is in Cell U15) - To Clear Data, Columns S,T & U & Rows 16 to 25)................................

View 8 Replies View Related

Create Query Of Mutiple Workbooks

Jul 27, 2006

I have a workbook that query's our case tracking database and pulls data into a csv. I am trying to write something that would do the following:

1) Prompt the user to enter in a case number
2) Open up the following file:
-"C:Documents and SettingsDetails.csv"
3) Look through A:A for a match of the user entered number
4) If a match is found then pull the data from cell B in that Row
5) Output the data (from row b)into a text box on the user form along with the original entry made by the user.

View 2 Replies View Related

Creating Chart With Mutiple Axis

Oct 20, 2006

i have this data.

WeekFRM CURRCY Account val val2 val3 val4
42100¢BBHBANK403522
43100¢BK200 001310
44100ABBHBANK3013
45100ABK200 9043
46100CBBHBANK10106
47100EBBHBANK903420
48100EBK200 503527

How do i get this into a chart, with week along the bottom, Amount on the left. This is starting to be a pain now as i need to seperate by currency, but a pivot chart looks really realy messy with all the drop down boxes and stuff. I dont mind using drop don boxes, in fact, its going to be essential. but the pivot one look horrible.

View 5 Replies View Related

Print Mutiple Rows Individually

Sep 1, 2007

about doing the opposite of consolidating multiple sheets into one: I have a large database and want each row of columns in their own new sheet. Rather than copying and pasting each row that I have, is there a code or formula to quickly command this to happen?

View 9 Replies View Related

Format Mutiple Ranges & Transpose Another

Sep 14, 2007

At Line 40, the program stops running. It asks for an object, but Im not sure why.

Also, I realized that there is an issue with sub twodeux copying the range selection from sheet1 of oldbook to the newly created sheet1(transfer template) of newbook.
How can I cause the form to hold that selection of values until its ready to put them into the newbook? ....

View 9 Replies View Related

Mutiple Print Formats Of Same Sheet

Sep 19, 2007

I have created a form in excel. I now want to print the information from the form in 3 different ways from a custom buttom. The form is an invoice and

1. I want to print the entire sheet with all information including custom header and footer just as if the print icon from the toolbar was selected.
2. I want to print the second sheet the same as the first with the information of cell C21 replaced with upper case Xes except for 4 digits (this is the credit card Number) including header and footer (format in cell is 1111 2222 3333 4444 / 555 want to see XXXX XXXX XXXX 4444 / XXX)
3. the last printout I only want to print the following cells in their correct locations
A6:C6
A7:C7
A9:G9
A10:G10
A26:E26
A27:E27
A28:E28
A28:E29
A30:E30
A31:E31

Also on this last sheet I want to change some items : Cell F26 to read PULLED BY and cells F27, F28, F29, F30, and F31 to be blank and no header or footer.

View 3 Replies View Related

Add Array Formulas To Mutiple Ranges

Oct 3, 2007

I would like to set up VBA codes to generate a variable number of transition matrices. I would like to know how I can define dynamic ranges instead of coding each and every range. In the codes below, I have to define each range one by one instead of using a loop.

Sub TransitionMatrix()
Dim P1 As Range
Set P1 = Cells(2, 2).Resize(3, 3)
Dim P2 As Range
Set P2 = P1.Offset(5, 0).Resize(3, 3)
P2.Cells(0, 1) = "P2"
For i = 1 To 3
For j = 1 To 3
P2.FormulaArray = "=MMULT(" & P1.Address & "," & P1.Address & ")"
P2.BorderAround Weight:=xlMedium
Next j
Next i
Dim P3 As Range
Set P3 = P2.Offset(5, 0).Resize(3, 3)........................

View 3 Replies View Related

Re-Enter Mutiple Array Formulas

Jan 16, 2008

I've created a very large spreadsheet (4096 calculations) and I'm using array formulas for a large number of cells, which leads me to my current predicament. All the formulas are written in, but I haven't done the necessary ctrl+shift+enter after finishing all of them (there is only slight variation in each calculation so I produced them in an iterative manner) and I was wondering if there was a way besides selecting each cell individually - pressing F2 - Then pressing CTRL + SHIFT + ENTER to make all my formulas array formulas.

View 5 Replies View Related

Filling Drop Down List Of Mutiple Names

Jul 17, 2009

What I have is a spreadsheet with a names column A and purchasing information in columns B-AA pertinent to the name in A. Additional information pertinent to the same name in Cell A1 exists in B2:AA2, or 3 etc. depending on the number of purchases made by the name in column A. The spredsheet is well over 100,000 rows long. Is there a method of copying the names so that each purchase has the correct name associated with it in the corresponding (currently empty) cell in column A? .....

View 2 Replies View Related

Indexing With Mutiple Results - Dynamic Source

Mar 28, 2009

I was able to come up with a formula that returns multiple results when indexing rather than just the first match.

Now the problem I have is that my source table is going to vary in size. My source table in the formula I got working below is a dynamically named range 'ImportedData'. The data in this table will always start on Row 8 but the last row of the table will vary, so the bold/red areas of the formula need to be dynamic.

how I might modify this formula to allow for the dynamic table size?

=IF(ROWS(B$19:B19)

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved