Each week / month I will get updated data which I will paste into the "updated data" tab. I then have a formulated tab that pulls through the information, performes some checks then calculates payments. Some records will be ready to be paid and some wont. Anything with a total claim amount will need to be paid so
1st button - Once I have pasted my data in and the sheet has calculated I need a button that copies any row from column a to y on the formulated tab that has a total claim amount. i then need the copied rows to be pasted into the paid tab and then for them to be removed from the updated reports tab. This will just leave data with totals in the paid sheet and data with none still in the Formulated tab
The following month / week I will receive another download which I will paste into "Updated reports". This data will contain records that have already been paid and once the formulated tab has calculated these records will show in the duplicate column so....
2nd Button - Anything that has a total claim amount and has a duplicate flag needs to be deleted from the updated reports sheet so it is not paid twice.
I have an excel sheet with over 50thousand entries, each entry is identified by an ID code in the L column. I want a code that creates a new workbook with all entries having thesame ID code. if it's not too much, i want to have a pop-up window that asks me to enter the ID code.
I am a hobby programmer trying to automate data entry into SAP. With GUI scripting switched on, i believe it is possible to get the unique identifiers of any field or control on a SAP screen. I am wondering if there is a dll or some mechanism whereby i would be able to get a tree structure of control identifiers for a particular screen so that i would not need to go through each control individually.
I have a simple formula ='info page'!b2&'info page'!b5 in places that on my sheet adds a company prefix to a item number, prefix in b2 and item in b5, we have a client that we cant use prefixes but now when I leave the field blank its giving a zero and thats not good either. I'm pretty sure an IFERROR or something will work but can get the syntax right.
I am trying to count the number of times that data is in a field and in any field the date is greaert than today's date. This date field could be blank and that is where I am having the problem.
I am "designing" a time- tracking database. The way it works is that each user (there are multiple users) creates a new day, which is mirrored in the sheet name (i.e. if today is 06/09/07 and my name is Newuser, the sheet name is "NewusER 060907"). Each sheet is filled in, calculated based on in-sheet formulas, etc. At the end of said day, the user can " upload" the daily data from multiple days worth of data into another sheet, that the graphing macro draws from.
The one serious problem I'm having is that users can upload the daily time data for the same day multiple times, to no end. I would like to do one of two things. Either:
a. make it such that once data is uploaded it cannot be uploaded again (probably more difficult), or b. write a loop to pull out the highest data point up the sheet and delete all other rows for that one specific day's . (probably easier)
Because of the constant changing nature of the information within, I would like to to make this dynamic range selection, I would prefer to avoid using Advanced Filters, if possible.
I'm trying to print score cards from the scores sheet (two different worksheet pages). Some score cards (each score card is one page) will only have 3 players and some will have up to 5 players so I can't just go down the list and use a formula to transfer data line by line. I will set the score sheet up I just all of hole 1 players to be printed on a card and so on with hole 2-18 also I need First and Last names on the cards and possibly score total by the name.
I am looking to enter a numeric value these are the green columns. it then needs to search the workbook for that number (Barcode Number).
then if the cell to the right has a value, it needs to pull that number into the userform' if no number is next to it, then I manually write and post it the cell next to the one just found..
I have been using the VLOOKUP function to search a table of data for a specific value in order to then give me the corresponding data associated with that value. I can do this and it works!!
However, as I am searching for names some people have more than one set of data and the VLOOKUP only finds either the first set of values (if the FALSE command is used for ‘range_lookup’) or the last set of values (if the TRUE command is used for ‘range_lookup’). I have attached a small example:
How can I get all values to be displayed?
I know that this may have been explained horrendously but I have written and re-written this several times and this is the best I can get!
I am looking for some help with my data, I have this excel sheet in which i have certain abbreviations and answers to some questions which we use on our daily job. Now what i want to do is create a search box on the sheet and find the matching Abbrevation on the complete excel. The trick here is to hide every thing else when i search for some thing and see only for what i want to see in order to not to get confused. I am attaching the excel to give an idea to what i am looking for.
I have got a UserForm to search data from worksheet and show it in userform.
In my search userform, the data is searched by first selecting " Year " and then " Batch Number " (Two Batches runs in a Year) so I filled combo boxes with "Batch 1" and "Batch 2"
for example "Year 2013 " would have "Batch 1 and Batch 2" "Year 2014" would have "Batch 1 and Batch 2"
In my worksheet, it has Data for "Year 2013" and data for "Year 2014" has not yet been inserted.
The Problem is that when In the Userform I select " Year 2013 " and select Batch 1 or 2 it shows data in list box and in textboxes.
But when I select "Year 2014" and select "Batch 1" or "Batch 2" it gives error. I know there is no data for "Year 2014" yet in the worksheet, but I want it should not give error in vba coding, But It should display MsgBox "No record found"
I have attached worksheet and userform. Book A1 (1).xlsm‎
I have very large spread sheet with alot of data. My goal in this is to create a seperate simplier spread sheet with some basic information to work with day to day chasing.
My spread sheet will consist of 1 work book but to pages page 1 the main with all the info page 2 the simplified version.
The first column in the first page consists of company names. The first column in the second page is also company names. What I want to do on the second page is take certain pieces of data from page 1 on page 2 as well.
So for example page 2 column 1 will have company name and column 2 will have certificate number. On page 1 the certificate number is column 16
What I would like is for page2 to column 2 to do is search for page 2 column 1 text in page 1 and input the value of page 1 column 16.
I'm trying to write a macro in Excel that will search certain values a Siebel database. I'm already working with a macro to ADD data to the database, so I have all the connections taken care of. But now I need to pull data from it. In looking for how to do this, I see the setsearchspec method that I need to use to set up the search then the ExecuteQuery to run it to get the pointer. But before that, I have to create the referencing object. I've noticed in several examples here and on a couple other sites, these two lines:
Set busObject = SiebelApplication.GetBusObject("Revenue") Set busComp = busObject.GetBusComp("Revenue")
So here's my question: in all of the examples I've seen, they used "Revenue" as the argument for these methods. Does it really matter what we use there? Or this just essentially a place holder? I've looked at some of the online documentation and was unable to glean an answer from that.
I'm trying to see if there is a way to speed up the process of doing multiple Google searches to see if I can find a website attached to a text. I have a list of websites, and am trying to update the list to remove dead/inactive sites, and also find the URLs for the live sites.
The list looks like this (sample): Comstock, Inc. ConNuestroPeru Contacto Latino contentSutra Core States Crains Chicago Crains Chicago Business Crains Detroit Crains Detroit Business Credential Crescent-News.com Crowell Weedon
Thus there's no website attached, and I need to manually find the URL myself. There are over a thousand cells in the list.
How to speed up the process of finding a url for these websites?
I have two lists. One is a database (Worksheet 2) with a lot of information, and another is the list (worksheet 1) I need to fill up the data for. What I want to do is to search for the names that are in worksheet 1 in worksheet 2, and if there is a match, retrieve the missing data in those rows, and paste it back into worksheet 1. For example: Worksheet 1: Joe Tim 23 Matt
Worksheet 2: Alex 45 Joe 23 Mark 47 Tim 44 Matt 24
I basically want it to be able to search for the corresponding name, and then pull the number associated with it.
I have two sets of data, and one colum in each set is titled ID numbers. I would like to search both those colums and combine the matching ID numbers in one row?
i am trying to create an easy to use search by macro VBA in excel.
I have a sheet of information where i need to find the data records from either one of the 2 search criterias: Name and NRIC.
Once a user enter either of this 2 search criterias, i need a macro to search through the data on Sheet "List" and return the results on the Sheet "Search".
Within the list, a search criteria may appear more than once, the search results should display all of the records row by row on Sheet "Search".
Below is what I currently have on my excel spreadsheet:
1. 2. Input Column 3 3. 0 No 4. 2 Yes_2 5. 0 NO 6. 0 NO 7. 0 NO 8. 2 YES_6 9. 0 NO 10. 1 YES_8 11. 0 NO
The spreadsheet starts by the user inputting numbers ONLY in column 1 (under input). The rest is done automatically by implementing equations. Column 2's equation is easy, if the value of column 1 is greater than 0, return YES_(row number). In addition, the maximum number of Yes's in column 2 is three (constraint).
My problem is that I need a 3rd column, consisting of only 3 rows that search for YES_1, YES_2, and YES_3. The 3rd column's equation is easy, I will simply use the Vlookup function for YES_1, Yes_2, and Yes_3. Therefore the PROBLEM IS: I need column 2 to output YES_1 (in row 4, from the example above), YES_2 (in row 8) ...etc. This would mean chaning the basic IF equation that I have which simply sees if the value in column 1 is greater than 0 then outputting "YES_the row number".
I have an excel spreadsheet where the columns have the 12 months of the year in Row 1. What I need is code that will find the month (from the column) which I select (via a listbox in a userform) and then go down that column and move the data that corresponds to that month to the userform.
So, If I select January from my userform, all data below January will then be moved to the userform and the same thing will occur with each month I select. I know how to move the data from the sheet to the userform, I just don't know how to match my data with the selected month.
Basically I've got a back end worksheet with a huge table full of data (hundreds of rows, tens of columns) containing the data for a load of different contracts (each contract is on a different row).
I have all the information I want displayed on a front sheet by means of very simple lookups which looks for one contract at a time to display that information. What I would like to do is to be able to alter that information on the front sheet which will then go back and lookup that entry in the big table and overwrite the old data with the new. Effectively I want the excel sheet to act as a user form, but without actually using a form (a requirement from the people I'm doing this for). I'm struggling to find out how to do this as I don't know which VB functions I would need to use.
Each contract has its own unique reference number, so really what I need is some sort of code that will look for that reference number in the back end table, then look for any differences between what's on the front sheet and on the back end, and then replace anything that's changed.
I read in a txt file with the code below. There's some kind of special character in the last 3 lines of the input file that makes the macro crash. I don't need anything in those 3 rows. How can I delete them before my Do Until loop? ----- Sub Mytxt() Dim Mytxt As String Mytxt = Application.GetOpenFilename(FileFilter:="EXCEL files (*.txt),*.txt", Title:="Open the Report file you need")
If Mytxt = "" Then Exit Sub Workbooks.Open Filename:=Mytxt Open Mytxt For Input As #1 i = 1 Do Until (EOF(1) = True) Line Input #1, tempstr Cells(i, 1) = Mid(tempstr, 23, 5) Cells(i, 2) = Mid(tempstr, 25, 1) Cells(i, 3) = Mid(tempstr, 33, 3) i = i + 1 Loop Close 1 End Sub
I need to search the beginning of all of the numbers in the apn column on Tab B with the numbers from the APN 1 column. When a match is found then that row will be copied to a new tab named after the Description row on the Tab A tab.
In the following extract, I would like to have today's date placed into Col K when an entry is made into Col J.
Entry into Col J is from a validation list of 3 options. What I desire is that when one of these options is selected ("Complete"), then I would like today's date to be written into Col K.
Currently Col K has a validation list which comprises dates from 1st of each month from July to June.
I need a fixed date as text preferably, so was thinking the VBA function "Date" on a Change Workbook Sub.
The information is currently part of a Table in Excel 2007 that has about 500 records.
I am working on a project that I feel should be relatively simple but I seem to be stuck. My Goal: To add information to specific rows of data in the worksheet. I want to use a user form, and eliminate as much typing for the user as possible. I have already designed my user form, and written the code to identify the row in which I want to edit. Nonetheless, I do not know how to code the insertion of the new data. The data I want to add will be in empty cells at the end(right) of the data table.
I have attached a portion of my data set.InsertQuote.jpg
Here is where I am. The words in red are just colloquial words that I cannot seem to put into code.
Private Sub CmdInsert_Click() Dim Company As String Dim PartNumber As Variant Dim Condition As String
I have a macro that imports a report. If the Charge Type in column A is BTOREPLX, I need to prefill the field next to it in column B with the text "REPLX", e.g. "REPLXCDROM". I've attached an example of the report.
In building my pivot table my data that I want to show in the column area is showing up as rows stacked on top of each other. In the column section I'm trying to show Total Budgeted Amount next to Total Actual Amount but on the layout it's showing the two stacked on top of each other is there some kind of hidden key that I'm missing?
I have a tab called 'Tab1' in which I have column called 'Col1' and 'Col2'.
I have another tab called 'Tab 2' with columns 'ColA' and 'ColB'. When I enter a text in Col1(Tab1) I would like that text to be compared to data in 'ColA' from Tab 2 and when match found then get the corresponding value from ColB and autopopulate it in Col2 of Tab1.