Search And Segregate Item Occurrences
Apr 3, 2012
I'm having trouble trying to setup a spreadsheet for work to do production scheduling. I have a temporary thing working so far but, but there is a minor hickup with certain products.
Products A, B & C can be processed normally on their own and each occurrence is identified with its unique serial number and can be traced through the schedule. The problem is that there has to be 3 occurrences of Products E & F before they can be processed in a single batch (They're smaller and its more efficient to process them together).
I'm struggling in that I can't process 1/3 of product E (Serial no. xyz123).
I would need to be able to identify 3 of these products, batch them together and follow them through the schedule.
Plus, if there was 8 of product E to be made, I can only process the first 6 which leaves the last 2 out.
View 1 Replies
ADVERTISEMENT
Oct 24, 2011
Any way to use a search form I've created to delete data from the original sheet. What I'm doing here is using advanced filter to copy data from the original database onto a temporary sheet to display in this list box. I've gotten almost everything to work properly, but since this is populated by advanced filter, I don't really even know where to start on my delete button.
Code:
Private Sub Search()
Dim Criteria As Range
Dim SearchRange As Range
Dim SearchResults As Range
Set Criteria = Range("Values!Criteria")
[Code] ......
So I was thinking something like this:
Code:
Private Sub cmdDelete_Click()
lstResults.Value.delete
End Sub
But I know this won't work.
View 1 Replies
View Related
Dec 1, 2011
Searching a text string on Sheet 1 to see if it contains any item in a list (on Sheet 2 Column 1) and if so return the value of Sheet 2 Column 2 next to the list item found?
It's a budget problem: Sheet 1 has my downloaded Visa statements. I want to categorise all items.
Eg Any item containing the string 'safeway' is categorised as 'General expenses'. So the list on Sheet 2 has an item called 'safeway' and in the next column 'General expenses'.
And for the item on Sheet 1 'BPAYN BUPA AUSTRALIA BPAY MBF monthly' I have an item in Sheet 2 that is simply 'BUPA' with category 'Medical expenses'.
View 6 Replies
View Related
May 2, 2006
I wish to compare each item (4-8 digit alphanumeric ID) in a list in column B of worksheet 1 (Portfolio) to all of the items in column B of worksheet 3 (EssBase Cap). The data (ID) in column B of 'EssBase Cap'! is concatenated with its description so my code needs to strip off the leading zeros and everything after "-" in order to do the comparison. Once a match is found it should copy the corresponding values in 'EssBase Cap'! for that row, column D and E to 'Portfolio' Column J, and K. I have created some pseudo code and need to translate this to Excel VBA
Dim IBSPWD As String
Dim ProjectPCN As String
Dim Pos As Integer
Dim I As Integer
Dim J As Integer
For I = 3 To 'to end of range ? WHat is the code to find end of the range IE no more data?
For J = 6 'to end of range ? The nested for loop will check each item in Portfollio and compare it to each item in Essbase Cap
IBSPWD = 'EssBase Cap'!Cell(J,"B") 'fill in the string with data
Pos = InStr(1, IBSPWD, "-", vbTextCompare) 'find length of the string befor "-"...............................
View 3 Replies
View Related
Sep 30, 2009
I have a spreadsheet!
I have two sheets, one of which contains film names and the other contains our tag structure for our website (which is a list of tags, their keywords and the primary parent channel they live under).
What I am trying to do is search the film titles and if any of the words match either the tag name or keywords then return the relevant channel.
Example:
Sheet 1 - Films
How To Apply Bridal Makeup
How To Fight A Donkey
How To Write Excel Formulae
Sheet 2 - Tags
Channel / Tag / Keywords
Tech - Microsoft - windows vista xp word excel
Tech - Computers - internet pc
Tech - MP3 Players - iPod Zune
So, for film 3 on Sheet 1 it would recognise the word Excel in the keyword list and return the channel Tech.
View 12 Replies
View Related
Mar 15, 2008
I am trying to make a summary from a table showing the newest value available for a set of items(1,2,3,4), this is according to an investigation date the summary table shoul display only the values for the investigation date, but if there are no values for the investigation date, them should take the previous recent date from the investigation date, and if there is not value at all, then shown N/A
I am attaching the excel sheet for a better ilustration of the problem
I tryed a combination of formulas that I tooked from other threads but is not working properly.
View 12 Replies
View Related
Mar 19, 2013
how I can build a search engine. I have attached a file with an idea about how I would like it. What I would like to have is a sheet with a search button. If the correct number is putted in this file the corresponding data should appear in the same sheet. I do not know how to make this at all!!
This is just a small file but if i know how to build it, it would concern a much bigger file and maybe even some graphs (if that is possible)
View 8 Replies
View Related
Dec 7, 2006
Is it possible to search a worksheet that may contain different number of rows (from day to day) and for every instance of a word like "HOLD" is found in column "C" to Color that intire Row Red and also Bold the Row as well?
View 9 Replies
View Related
Aug 1, 2014
I have a Userform project in Excel (naturally) and am nearly at completion. However my code runs to over 3000 lines. What is best practice in terms of how to structure it? At the moment it is all "behind" Userform1.
I'd like to partition my code into different modules according to type (i.e. Subs, Events, Formatting, etc). I tried this at the start when I was coding but I couldn't quite get it to work - I thought using the "Public" prefix would work? I then kind of just progressed anyway but now I am at the point where I need to structure it before going further.
View 5 Replies
View Related
Apr 7, 2012
I have amount, Activation date & Validity in days. I want to segregate the amount on days wise.
E.g. acgtivation date is 1 mar, validity is 45 days and amount is 900 then it will show 2 in each day from 1st mar to 14 Apr and on 15 apr it will reflect 0.
View 1 Replies
View Related
Nov 28, 2013
I need to segregate a data from a master file with a particular column as a main.
for eg:- i have customer details with name in a column
address in b
mobile in c column,stat and other details in other column.
I want to segregate data according to state in different excel so how can i do the same.
View 3 Replies
View Related
Jun 12, 2009
a macro that will segreate data based on the the first string of each security description under the heading Security description and then sum the total on a separate row in the total column.
Starting row hearder in sheet "Raw_Data" start in row 6 and i would require the same in sheet "Result
Sheet "Raw_Data ...
View 9 Replies
View Related
Nov 21, 2012
Lets say we have data in Column A, B, C and D and no row left blank. In the column A no cell left blank however in B, C, D any one cell only contain a value in that row. If B10 has any value in it then C10 and D10 are left blank (not empty). I want to segregate the data in Column A based on the value in B, C or D. So this one column data ( that is Column A) will split into three column. this segregated data to be put in E, F and G.
Wherever Column B has any value that's greater than zero content from the column A from the same row should copy to the E, Wherever Column C has any value that's greater than zero content from the column A from the same row should copy to the F, Wherever Column C has any value that's greater than zero content from the column A from the same row should copy to the G.
View 4 Replies
View Related
Feb 16, 2013
Excel Userform
VB:
'enables user to click [U]highlight and select[/U] an item in ListBox1 and ListBox2 item (same row in index) is also [U]highlighted[/U] (highlighted only not selected)
Private Sub ListBox1_Click()
ListBox2.ListIndex = ListBox1.ListIndex
End Sub
Question: Is it also possible to enable a user to click to select an item in ListBox1 and ListBox2 item is also selected simultaneously (same row in index). Is there excel vb code to do this?
I think the code may be along the lines of the ListBox SelectedIndex property. What would be the Excel VB code equivilant for the ListBox SelectedIndex property, if so?
View 8 Replies
View Related
May 20, 2014
numberdesc
1_______yellow
1_______yellow
1_______blue
2_______purple
2_______purple
3_______green
3_______orange
4_______black
I need some way that can identify when the item in the description column doesnt match the first item of the same number- for example, here the 1-blue and 3-orange would be flagged because they should match the 1-yellow and 3-green.
I need to do this on a much larger scale (approximately 20,000 data points), so I wanted to create a formula or macro that could do this for me.. I thought making a reference page with would work but I keep getting an error.. I haven't done VBA in a while, so I may have syntax errors.
If Range("A2:A9").Sheets("Sheet1") = Range("A2:A6").Sheets("Ref") And Range("B2:B9").Sheets("Sheet1") = Range("B2:B6").Sheets("Ref") Then
Range("C2:C9").Sheets("Sheet1") = "x"
End If
View 2 Replies
View Related
Jun 14, 2014
I am getting close to finishing the drop down menu capability when filling in column L in tab Transactions. However, there is a snag. When I enter part of account say "fin" (the important part here is that the part of the word should not be the beginning of the account name) - then I select an account from the menu - but it does not stay in the cell if the part of the name is the beginning of the account name - all is fine.
View 4 Replies
View Related
Jun 18, 2008
I am using a vlookup and have a problem. I am assigning a category to an item number based on the first two characters of the item number. For example item number 60123 would equal scrap because of the first two characters of 60. But the item number can begin with either a number or letter. Here is the formula I am using that works for item numbers that begin with numbers:
=VLOOKUP(VALUE(LEFT(E2,2)),Sheet3!A:B,2,FALSE)
It works fine until I reach a item number that begins with a letter, then I get the dreaded #Value error. If I take the value out of the formula then it works for the letter based number items but not for the number based item numbers.
View 9 Replies
View Related
Nov 20, 2008
Here I would like to get your valued guidance for the usage of "IF" formula. I am having two sheets one is new XL-1 and other is old XL-2. I want to have a item number from the old file corresponding to the same item descprition in the new file. I am attaching the snap shots of two files which is more explanatory than describing in words here.
View 2 Replies
View Related
Dec 18, 2012
I am using Vlookup to compare our item number with the suppliers item number but the result is removing the decimal point on some but not all items.I have included a small sample but it concerns almost 10.000 items.
View 9 Replies
View Related
Aug 11, 2008
I have this sumif function,
but this will sum about 50 occurrences of data in E329,
how do i adapt formula to just sumif last 6 occurrences??
=SUMIF(E2:E328,E329,I2:I328)
View 9 Replies
View Related
Apr 23, 2006
I have aspreadsheet detailing stores issues.
The columns are: Item, Qty, Date. I need to find out for each item; what is the most common issue qty and how many times that occurred and what was the largets issue qty and how many times that occurs.
I have a highly conveluted way of finding this out but theremust be a quicker way.
View 8 Replies
View Related
Sep 29, 2007
I've got the code to change all the relevant cells, but cannot get it to stop looping. The data is a converted text to Excel document, so cannot filter on it.
Sub FindIt()
Dim rngFound As Range
Dim n As Range
Dim o As Range
Dim ProjName As String
ProjName = 0
With Selection.Columns("D:D").Activate
Do
Set rngFound = Cells. Find(what:="Do Not Use", after:=ActiveCell, LookIn:=xlValues, _
lookat:=xlPart, searchorder:=xlByColumns, searchdirection:=xlNext, _
MatchCase:=False) .....................
View 9 Replies
View Related
Dec 28, 2007
My Vlookup result may relate to a number of occurances of the same source product code. I want to allocate the result so that the last occurance gets the balance. See attached file.
View 4 Replies
View Related
Jan 16, 2014
I need to use excel on a daily basis at my new job and want to become more efficient.
7-Juntf
7-Junnon
8-Juntf
8-Junnon
8-Juntf
9-Junnon
9-Junnon
9-Junnon
9-Juntf
10-Junnon
11-Juntf
12-Junnon
This is a very simplified version of what I need to graph but has the variables I need. The spreadsheet is set up just like this, just extrapolated over the last year. There are over 500 entries in the spreadsheet. What I need to do is to be able to calculate and chart the number of occurrences of TF and Non over time, by day, month, and year. If the data is ordered by date, how can I get excel to calculate text occurrences and graph them over the dates?
View 2 Replies
View Related
Dec 12, 2008
I have a slight problem...I have a range of values..
0113
1240
8430
0903
I need to count the occurance of a a particular no. from 0-9.. So i want to know how many times say 0 appears in that range of values etc so on till 9. I tried using CountIF but the problem i face is lets say in my cell 0903 there are 2 0s inside, it doesnt count this 2 zero..
View 14 Replies
View Related
Apr 19, 2013
I have two spreadsheets consists of site ID's and scheduled dates. I need to produce a summary of all sites that are on the same day.
Sheet 1 (A2:B1155)
Sample
883408-Jul-13
211309-Jul-13
448110-Jul-13
010009-Jul-13
972524-Jul-13
Sheet 2 (A2:B1155)
Sample
032009-Jul-13
017222-Jul-13
535022-Jul-13
324024-Jul-13
Using the dates in sheet 2 can I return a list from sheet 1 of all sites that occur on that day
032009-Jul-13 2113 0100
017222-Jul-13
535022-Jul-13
324024-Jul-13 9725
View 5 Replies
View Related
Jun 5, 2007
I have 3 columns of data that contain horses names and these are sorted by a race time.
See attached txt file for example....
View 9 Replies
View Related
Dec 17, 2008
My question is presented, in details, inside the WB.
View 14 Replies
View Related
Mar 27, 2008
We've got a column of names. A single name might appear once or two hundred times. The column is over 25,000 lines long, so we don't want to have to count how many different users there are (besides the likelihood of doing it wrong!). Is there some way to make Excel count the number of unique entries in the list, ignoring multiple repetitions of the same name?
View 9 Replies
View Related
Mar 13, 2009
In the attached sheet there is a list of horse runs in time order with the latest at the bottom..col C contains the rating for each run. I need a formula to fill down col d and e. Col d is to contain the rating of its previous run and column e the rating of its second last run. for example row 21 ..I have filled in manually Autumn charms last run had a rating of 116 and its second last run was 122..filled in in cell e21. if a horse has not ran(is now shown previously..above in column e..just leave the cols d and e blank...
View 2 Replies
View Related