Data Search Count
Jan 17, 2013
I have a spreadsheet with multiple coulmns of data with rows which equate to each site location.
Basically I am after searching one column which says "Earth Rods Fitted" which is located in Column K which goes from K4:K767
In each the rows its either yes or no answer.
So the search would count number of "no" entries in column K.
But then it would search also on column Y (Y4:Y767) for a range of values of risk assessment.
So in column Y you could have each row with different assessment risk score from 0-300
So my search would need to count coloumn K for no earth rods fitted and then count within this range the number of cells in column Y which have risk score say between 200 to 400.
Column K Coulumn y
Earth Rods Fitted Risk Score
No 350
Yes 55
No 222
No 90
So in above case there is 3 enries with no earth rods in column K and in Column Y we are counting rows which have a value in range of 200-400 which above there is 2 entries. So basically I know there is 3 sites needed doing and my worst to based on risk is the two which are 350 and 222.
I have messed around with COUNTIF functions which I can search column K ok, but doing the range search on y in conjuction with K I am finding hard. Someone mentioned use Vlookup but not sure how to do it.
View 9 Replies
ADVERTISEMENT
Sep 14, 2009
Using the search macro code below, could someone please help to add in more codes what I'm currently using, and also where to insert it. The Search function works well for what I need and it helps me to locate data. When using the search function somehow it search all sheets within the workbook but I only want it to search an array of sheets when using this macro that is needed to complete the task for what I'm after.
Macro
Public Sub FindText()
'Run from standard module, like: Module1.
Dim ws As Worksheet, Found As Range, rngNm As String
Dim myText As String, FirstAddress As String, thisLoc As String
Dim AddressStr As String, foundNum As Integer
myText = InputBox("Enter the text that you want to search for:", "Start Search!")
If myText = "" Then Exit Sub...................
View 9 Replies
View Related
Jul 7, 2009
I need to find month / year and count the number of times it occurs..
This is what I have so far..
=SUMPRODUCT(--(main!D:D="name"),--(main!M:M="dormant"),-- (ISNUMBER(SEARCH("??????????",main!h:h))))
the problem is that the date column i'm searching had the following format: 28/1/2009 11:37:00
what do i need to replace the ????????? with to to make it look for the month and year only from the format above.
View 9 Replies
View Related
Mar 4, 2012
I have data on one sheet which has many columns, but i need a formula that will show in a different sheet all cases where column C matches my search criteria but only those cases where column D has the value YES, and should return only the data from Columns A, B and E. I also need a formula that will show only the count of where my search criteria is met.
View 3 Replies
View Related
Aug 6, 2012
I'm trying to make a macro to search in a list of indeterminate results, and when found, to count how many found results and select the ones found, and then to put the results in the cells I2 and J2
I already have this code, but is a bit out of what I want.
Code:
Private Sub CommandButton2_Click()
'dimensiona as quantidades de cada criterio
Dim c1, c2 As Long
[Code].....
This one open a MsgBox with the results, and i want the results on the cells I2(what it was search) I3(how many it was found) J2(what it was search) J3(how many it was found)
And this one also dont "paint" the cells with the results, and this one only search if you put the rigth sentence... Ex: if i search for "miguel" and the cells have "Miguel" it won't count :S
View 2 Replies
View Related
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?
View 2 Replies
View Related
May 20, 2009
I'm trying to make a combo box that lists only unique entries in 2 columns but also has a count in brackets beside the entry. For example:
Apples (8)
Bananas (13)
Grapes (2)
The code I have to populate the box is:
Sub RemoveDuplicates()
Dim AllCells As Range, Cell As Range
Dim NoDupes As New Collection
Dim i As Integer, j As Integer
Dim Swap1, Swap2, Item
Set AllCells = Range("e3:f370")
What can I add to count how many times an entry is listed in my range? Also, the filter works off text from the combo box, how can I remove the counts prior to filtering? Here's what I'm using now to filter:
Private Sub SrchBtn_Click()
Worksheets("sheet1").Range("b1") = ComboBox1.Value
Range("A2:J1000").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _
Range("L1:M3"), Unique:=False
ActiveWindow.SmallScroll Down:=-5
Unload Me
End Sub
View 9 Replies
View Related
Mar 12, 2013
I am using Excel 2010 and am looking for a formula that can solve this matix in column below. The yellow is where I would like the answers.
A
B
C
D
E
1
DEP
SPS
SUB
2
123456
[Code] ........
This is what it would look like when the formula were applied
A
B
C
D
E
1
DEP
SPS
SUB
2
123456
[Code] .........
View 3 Replies
View Related
Jan 8, 2014
=COUNTIF(Sheet1!$A$1:Sheet1!$A$32515, IndexSheet!B2)
+COUNTIF(Sheet2!$A$1:Sheet2!$A$32515, IndexSheet!B2)
+COUNTIF(Sheet3!$A$1:Sheet3!$A$32515, IndexSheet!B2)....
+ COUNTIF(Sheet20!$A$1:Sheet20!$A$32515, IndexSheet!B2)
Above formula check for the value in IndexSheet!B2 and searches it across all 20 sheets and returns total sum
Is there any shorter version of this?
View 2 Replies
View Related
Jul 1, 2014
VBA which would count data in Column F of dump Sheet and paste the count in master sheet B2 Cell.
View 7 Replies
View Related
Mar 28, 2014
I have two worksheets. Sheet 1 has 2 columns, Column A the restaurant's name and Column B contains the review score. So sheet 1 is kinda like this:
Restaurant |Score
Ruby Tuesdays 80
TGIF 78
Outback 92
Sheet 2, Row 1 column B-E contain restraurant names (only on the top row, like field names).. i.e. I manually put the date in because typically the projected date is different from the actual review date.
-A----------- B ----------------C ------D-------- E-----
Date |Ruby Tuesdays|Olive Garden|TGIF|Ruths Chris|
I need the data from Sheet 1 Column B moved to sheet 2 in the next open row (i currently have data in row 1..the field names and down to row 35). This will be continuous so each time i need it to add the score as a new row in the correct field (restaurant name), IF the restaurant isnt listed, I want a new field named with the restaurant name and then place the score in the correct row and column. So, in the example I'd need Outback added.
View 9 Replies
View Related
May 8, 2009
I made a quick little spreadsheet that explains what I am trying to accomplish. Basically I need to search a column for a known number, when it is found, I need to look at another column on that row, and if the cell is a specific item , count it.
View 9 Replies
View Related
Feb 13, 2007
This is a lottery challenge that I am facing at work. 6 numbers are chosen from 45 on a weekly basis. Using about 20 years worth of information, I have code that provides a dynamic frequency list in descending order.
I'd like to now have the user pick a number from the above list and see what other numbers have come up with these frequencies. I guess ultimately I'd like 2 or 3 "favorites" with the corresponding frequencies. Trouble is I've been going around in circles with nothing working
View 2 Replies
View Related
Nov 3, 2009
I have looked at previous v lookup questions however was unable to do a comparison to the queries which I have. Hope someone is able to help. Sending spreadsheet to hopefully clarify
Sheet 1 = downloaded orders
Sheet 2 = present Customer database
Q1 - sheet 2 column E - can I make the address show without the return stroke (square symbol)?
Q2 - how do I return in sheet 1 column b and c the information held on sheet 2 column b and c. I have tried using the post code as the look up but it is only returning around a 30% find, can you use post code and rest of the address (post codes could be partially different as off 2 independant databases) to find a true match, or at least increase the 30% find considerably.
View 9 Replies
View Related
Jun 9, 2009
I'm kind of rusty with spreadsheets and Excel 2007 is entirely new to me. I'm not even sure what I'm trying to do would be called.
I have a spreadsheet that is a list of records; a name, ID number, one text, and four numeric columns per record.
I would like to make a set of buttons or something that will automatically do a custom sort. Basically a "sort by this criteria, sort by different criteria" etc. so I don't have to manually do the sort repeatedly.
View 9 Replies
View Related
Dec 30, 2009
i want to use for searching a name in a colum. And copy the row of this name to another row.
I want to use this because i want to change an format to one i use all the time
person Astreet awork a
person Astreet bwork b
person bstreet cwork c
This is the situation: i want to search for person A and copy the data of the row , so copy street a. and work a. to another row
And i want to do the same for person b and so on until person z
View 14 Replies
View Related
Oct 1, 2008
I am trying to find a way to have a cell look into a group of other cells and display the first available things it comes to. Then have the next cell look in that same group and display the next item.
cells A1:A5 have 3 pieces of information in them scattered among that column (A1, A3, A5 might have the info in it one day, then A2, A3, A4 the next day)
I want B1:b4 to find the info in the A1:a5 and display it in order as it appears in the A column.
View 9 Replies
View Related
Feb 16, 2012
I have a formula that looks in 2 columns for criteria and then does a count if both sets are matched.
=SUMPRODUCT(--(data!$AC$1:$AC$10000="Y"),--(data!$AV$1:$AV$10000='Summary Sheet'!B9))
Is it possible to do a search with 3 criteria?
I need a search where a third column has also to match. eg data!$AW$1@$AW$10000="Y"
Is this possible and if so what would my formula now look like?
View 1 Replies
View Related
Jan 10, 2008
i have is that at current i have a load of data (6000 cells worth)
What i need to do is to go through the data and highlight anywhere where it may have the word "in/outsourcing" (The data is based in cell AA which is just a description of text)
Other than doing Ctrl F through each cell is there a faster way in which excel can search through the cells and even highlighting the cell where the word occurs.
I thought if the word "sourc" is searched this would then pick up both
View 9 Replies
View Related
Jan 8, 2009
I have a sheet which have 20000 lines of row of data populated with data from column a to column n.
I need a formula or macro to search under column F for repetition of same data and to be copy the information of the row to a new sheet.
View 9 Replies
View Related
Apr 21, 2006
I have a excel spread sheet that has 30 rows and single column(like A1,A2,A3....A20).I have to loop thru all these row values one by one and search for matching values in another spread sheet.If it mathches take the second column and third column values in the same row and paste it my spread sheet in the fourth column and fifth column.and put yes in the sixth column.Go to next row and do the same.Repeat this for all 20 rows .How to do that?
View 9 Replies
View Related
Feb 12, 2007
I have attached a small example. I have a list of data of employees. I want to be able to input a number (in column A in example) and to search the data records for this number. When the number has been found, the corresponding info data from that Row will show in columns B,C & D.
I have tried this using LOOKUP etc but find that it is "hit & miss". I can input one ID number and the corresponding details will appear, but very often if I enter any other ID numbers further down the sheet I sometimes get the correct data or I might get the "N/A" error. The error seems to occur, I think, if the next input ID number is higher than the last. The ID numbers I input down column A will NOT be in numerical oredr.
View 2 Replies
View Related
Apr 25, 2014
designing a macro, which can compare the sheet1 and sheet2 data (exclude E and G columns) and find duplicates rows of data in sheet1 and sheet2. The output after the macro, would be show duplicates found in sheet1 and sheet2, through highlighting the rows.
attached file for the sample data:
output_data.xls
View 1 Replies
View Related
Feb 6, 2014
Attached is a sample of what I need completed.
Monthly, I have to do a chart just like this except slightly more complicated.
In the Sample download, there are three charts, "Sample Chart", "Sample Input", and "Desired Result".
"Sample Chart" has a list of accounts from different companies, The first column being their number, the second being their name, and the third being the money they spent.
The "Money Spent" Column is always blank when I start for ALL companies.
I have another chart, "Sample Input", which contains the prices that I'm supposed to put in "Sample Chart, Money Spent" column.
The thing is, "Sample Input" only has the companies with prices listed.. Not all companies have prices, so this means the "Sample Input" is always a shorter list than "Sample Chart".
What I need is the prices from "Sample Input" to be put in the correct position in "Sample Chart". The "Desired Result" chart is what I want it to look like.. exactly like that!
When I do this monthly, I have to scroll through several thousand accounts doing this.
Suggestions:
- Possibly have a macro or formula take the Account # in "Sample Input".. Sample it in "Sample Chart", then copy the price and paste it in the right location.
- Possibly make "Sample Input" have blank rows inserted in the places where it should have the account with no prices.
View 5 Replies
View Related
Feb 26, 2014
I am looking to search in a table (say 4 columns) corresponding to multiple criterion (one for every column except fourth) and returning the values which are numerous (from column 4). I have tried the INDEX function but it only gives me one of the many cells. I am working on a table with +20000 cells per column
View 3 Replies
View Related
Apr 2, 2014
I'm trying to search & match data from two different spreadsheets. I will attach my workbook for reference.
The first worksheet is a list of all of my clients I have previously worked with and the second worksheet is a list using a set criteria. The criteria I am using is the UK postal code "AL10".
The clients address (Column B) will be used as a reference to match the address which is located on the AL10 worksheet which is also column B. If there is a direct match then a VLookup function will be performed to display something that can be easily referenced.
The problem I am having is that the address format is different on the clients worksheet then what it is on the AL10 worksheet. I have the feeling I will need to create a search function with multiple arrays but I have limited knowledge of how to do that.
There are some additional notes located in my workbook.
I know that two of the client addresses should match data located on the on AL10 worksheet and the other two shouldn't give a match at all as they don't exist. These are highlighted in yellow.
I have used the Find and replace function to do this but this is rather manual and slow and I would like the search feature to automate this process.
Attachment 308707
View 6 Replies
View Related
Feb 11, 2009
I have put a formula in excel to count how many times the word 'administration' appears in a column:
=COUNTIF(K2:K99,"Administration")
Unfortunately, the output that I am searching has mulitple words in it, separated with a colon and no space. My formula skips the count if the word Administration is not completely on it's own
e.g. Administration counts 1
Administration;Cardiology does not count
View 2 Replies
View Related
Nov 17, 2009
I have a file with 2 sheets. The first sheet contains a list of unique invoice numbers. For each invoice, I need to look in the data table (the second sheet) and locate all the products that were sold under each invoice and list the product ID with the largest sale. For example, invoice 12345678 had sales for 5 different products as follows:......
In this example, I would want to list the largest sales amount and the Product ID for this invoice (invoice 12345678). I have attached a sample of the file and completed the first 8 records as an example.
View 4 Replies
View Related
Mar 11, 2012
I am trying to get my userform to search a worksheet for data.
In "A" I have a vehicle name (Audi, BMW etc) these names occur more than once
In "B" I have the vehicle model.
i.e:
A B
Audi A3
Audi A4
Audi A6
BMW X5
BMW M3
I would like to be able to have a command button on my userform (preferable one for each vehicle type) that the user can click on to then add the list of relevant vehicle models into a combo box.
i.e Click on the Audi command button and the combo box displays all the models in "B" that have Audi in "A"
View 9 Replies
View Related
Sep 5, 2012
I want to search and match data in Excel,
following are the required and output format.
A
123abc
ujyh
thbd
B
abc
bd
jyh
Want to search column "B" in "A" Output should be in given format.
123abc
abc
ujyh
jyh
thbd
bd
Vlookup doesn't support.
View 4 Replies
View Related