Repeated Web Query To Fill A Column With Data
Mar 31, 2014
I have simplified this spreadsheet from the original to get to the core of what I want it to do. There are three tabs: 1) tab:"query fields" is an area that places data that is retrieved from the web, in this case it retrieves tables from yahoo finance given a ticker input. The ticker input cell is currently on the "score card" tab. 2) tab:"score card" in this tab you can input a ticker symbol in the indicated box and it will populate the "query fields" with corresponding data. This tab also extracts certain fields from the retrieved tables and performs a pass/fail test then produces a score %
This is great if I'm doing one symbol at a time, however I eventually would like to 'loop' this process such that a score field is populated for a list of tickers, hence tab 3) "list". Ideally I'd create a control button to initiate the web retrieval process and it would go down my list, retrieve the table data, perform the pass/fail tests, then populate the corresponding score % in the cell next to the ticker symbols. I know I can keep running separate web queries for specific symbols, but I guess my secondary goal is to have this be as dynamic as possible, since the ticker list will change and the list could be sizable at times.
CSH- web query.xlsx
View 3 Replies
ADVERTISEMENT
Sep 16, 2005
I can't seem to get the fill handle "+" sign to give the correct amounts when
I want to copy a formula down a column. It seems to skip every 2nd row with
the wrong amount or sometimes it will give a 0.00 sign.
View 9 Replies
View Related
Jan 29, 2008
I want to fill a list box with a range from the active worksheet. I want the user to be able to mulit select names and these then be transferred to another worksheet to capture training. I'm getting runtime error 381.
View 9 Replies
View Related
Jan 4, 2010
In colmn A:A i need returned, which numbers (if any) are repeated and how often each repeated number occured.
Admitedly... I'm lost on this one.
View 2 Replies
View Related
Oct 18, 2009
I have 4 columns
Column A is "Customer Number"
Column B is "Date Can Opened"
Column C is "Month" (currently blank except header row)
Column D is "Year" (currently blank except header row)
I would like a macro to do 2 things here....
1. Extract the Month part of the "Date Can Opened" column and put it in column C.
2. Extract the Year part of the "Date Can Opened" column and put it in column D.
Currently, the "Date Can Opened" column is formatted as a date like */14/01 taken from the Number tab in the Format Cells dialog box) ...
View 9 Replies
View Related
Feb 1, 2010
Is there some easy way to fill out column B referencing column A, but only incrementing by 1 row in A every 2 cells in B?
Example:
Column A:
A1 = 1
A2 = 2
A3 = 3
etc...
Column B (I would like to fill this, referencing column A):
B1 = A1
B2 empty
B3 = A2
B4 empty
B5 = A3
etc
View 4 Replies
View Related
Nov 23, 2012
I am after a macro to insert a column lets say between column A and B. Once column inserted new column B should be filled by a text say "January" but it should be only filled upto the data of column A so if column A has data upto A600 then column B should be filled from B1 to B600.
I tried recording but it fills data upto B65000+.
View 2 Replies
View Related
Sep 6, 2008
I have a csv file on another drive on the network that i need to query. I believe that ms query would be the best way. I know that a DSN needs to be setup but this macro will be used by various users who wont know how to do that. thus I would like to create one via VBA every time the task needs to be run.
I haven't a clue how to do this and i need it to be explained to me in general terms with words of one syllable!
View 9 Replies
View Related
Jan 29, 2008
how do i copy one column to another one (with formula) that not repeat any number?
i have a list of prices and i need that list in other column with any price repeated.... and theses prices are imported data, so they change, thats way need to be formula =/
View 11 Replies
View Related
Apr 9, 2008
I have three columns
"A" is item number: "B" is sales Date: "C" is sales price.
What I would like to do is search column A and when there are two of the same item numbers know what date they sold and for what price. I would prefer to build another table that has only this data.
View 11 Replies
View Related
Aug 14, 2007
assuming we're comparing column a, i want to eliminate rows in which its column a value matches the column a value of a previous row.
what i have:
abcd
1351
2442
3235
4324
3542
2253
1344
what i want
abcd
1351
2442
3235
4324
i tried the advanced filter - copy unique record to another location but it would only copy the unique column a values to another location and not values on the same row attached to that column a value.
View 9 Replies
View Related
Mar 26, 2013
I have a spreadsheet that I need to fill up the columns of blank cells stopping when it reaches data above and not overkeying it. If the data was at the top I could fill down and do this by highlighting the column, go to blanks, put in = then ctrl enter and it works, but when I fill UP I can't get this to work since it changes the active cell. Below is an example of what I have on the left in a worksheet and on the right hat I need it to look like. How to fill up without overkeying the data above it. When I fill up it makes the whole column AA Category 1 total and that's not what I find.
unit 2 total
BB category 1 total
division 2 total
unit 2 total
division 2 total
I need to to look like this:
BB category 1 total
division 2 total
unit 2 total
BB category 1 total
AA category 1 total
division 1 total
unit 1 total
[code]....
View 1 Replies
View Related
Jul 26, 2014
I need to hide repeated values in balance column after the last transaction.
View 8 Replies
View Related
Jul 14, 2013
I have data like this
namefoodripeness
bobbanannaA
boborangeA
bobstrawberyA
bobkiwi B
bobyogurtC
bobpear C
[Code]...
Not sure how to do it
View 3 Replies
View Related
Jul 17, 2008
I'm trying to setup a macro to run on a database extract that is sent to me. Some of the data is not filled in for each row and I want to automate the auto fill down for each entry based on the Reference # above. I searched the forum for terms that I thought might be related,
Here is the starting data: ...
View 10 Replies
View Related
Dec 21, 2013
I have an Excel file in which I want to find the numbers which are repeated in several columns (B to L), but there are too many rows to find them looking one by one cell, is there a function which will allow me to find the common values which appear in these columns?
eg.:
A B C
1 3 4
2 1 7
2 4 7
4 1 1
results: 1 & 4
View 6 Replies
View Related
Jan 18, 2008
I have a excel doc with 8000 names I need to delete the people who are listed on 7 rows.
There are no blank rows and Colume A has the names sorted.
View 9 Replies
View Related
Apr 20, 2006
I have a userform that I am using to populate a column with data. I have the following code to find the next blank cell on the first row to enter the data from the first textbox in the userform
ActiveSheet.Range("av1").End(xlToLeft).Offset(0, 1).Value = TextBox1
I was then going to populate the rest of the cells in the column by changing the range "A1" to "A2" and so on. The problem I have is that not all of the cells have a compulsory entry so when the end(xlToLeft) function may not always end in the same column and the data will be staggered.
First Entry
A B C D E
1X
2X
3X
4
5X
Second Entry
A B C D E
1XY
2XY
3XY
4Y
5XY
What I want to do is find the first blank cell in the first row, as that will have a compulsory entry, and then fill the rest of the cells in the same column. So if the first blank cell is D1 i want to go down then D2,D3,D4 etc.
I can do it going across the rows but cannot figure it out using columns.
View 4 Replies
View Related
Jan 17, 2008
Is it possible to associate a range of cells containing different information based on like values in other cells?
Example:
How it currently appears in spreadsheet
Name Acct#
John Q. Public 12345
John Q. Public 23456
John Q. Public 34567
John Q. Public 45678
Jane Example 11111
Jane Example 22222
Wanted Result
John Q. Public 12345 23456 34567 45678
John Q. Public 12345 23456 34567 45678
John Q. Public 12345 23456 34567 45678
John Q. Public 12345 23456 34567 45678
Jane Example 11111 22222
Jane Example 11111 22222
I know how to remove the duplicates afterwords to get one unique record.
View 4 Replies
View Related
Jan 16, 2008
I have a spreadsheet (>10,000 rows) with data referring to a grid cell map. Each grid cell on the map has an ID and associated data. About 10% of the grid cells have duplicate records, but with different data. I need to produce a spreadsheet with a single record for each grid cell that contains the data from each of the duplicate grid cells. Some occurrences may be >2. Example below.
Current
[TABLE]Grid#;Data
1;a
1;c
2;b
3;a
4;b
4;c
5;d
5;d
5;f
[/TABLE]
Needed
[TABLE]
Grid#;Data1;Data2;Data3
1;a;c
2;b
3;a
4;b;c
5;d;d;f
[/TABLE]
View 6 Replies
View Related
Oct 27, 2009
I have excel data containing in column A "Plot number" which is repeated and other four column is land area and the next column is "Land Owner Name". Now I want to merge same plot no if the land area is same if differ then I want to leave as it is. And another thing I want to do that the all land owner name is merge in a row.
View 8 Replies
View Related
Nov 10, 2006
In the sample file attached, I want to do a lookup with the employee id in the master sheet and find the multiple results in the "open_text" sheet. From there, I want to display the open text results in one row per employee on the master sheet. If there are multiple comments, then the results will be displayed in separate cells to the right of each other (filling comment1 through comment5 if needed).
My main goal at the end of this is to be able to do a mail merge out of the master file. This is why I want the results in one row per employee.
View 9 Replies
View Related
Jun 20, 2014
Suppose I have the following data in column A from A1 to A12
Pass
Pass
Pass
Pass
Exceed
Fail
Fail
Exceed
Pass
Pass
Fail
Exceed
I want two formulas one to count the how many times the following pattern of data have been repeated in the range:
1- Exceed after Pass
2- Exceed before pass
View 3 Replies
View Related
Jan 3, 2008
I have a list that I want to show in a drop down box. The list is like this;
MPK4
MPK4
MPK4
MPK4
MPK4
SPC600
SPC600
SPC600
SPC600
SPC600
SPC600
SPC600
WK-7
WK-7
WK-7
WK-7
WK-7
WK-7
Can a drop down box be made to only show each item 1 time?
View 9 Replies
View Related
Sep 7, 2006
Rows 1 to 12 of the attached .jpg file shows the format that I receive from a University. However, in order to check enrolments, etc., I would prefer it to be in the format as shown on rows 15 to 19, that is, one complete student record per row.
As you can see, not all students are studying the same number of subjects and the subject mix is also different.
View 4 Replies
View Related
Jun 25, 2014
I am finding it very difficult to extract the Project reference data for each employee, I have attached sample working file for reference.
For Example
I have a project names in Rows and Employee names in Columns and each employee fill the working efforts in multiple projects and i would like to extract which all project they have worked for each month. Since the data is very huge i am not able to progress fast in collecting the data
Project NameEmp1Emp2Emp3
A
B 1015
C
D 2012010
Working.xlsx
View 5 Replies
View Related
Oct 12, 2012
Margo
12/12/86
188478007
7/19/12
801
Anthem BC/BS
Margo
12/12/86
188478007
7/31/12
806
Anthem BC/BS
[Code] .......
I have this info on my excel spreadsheet plus 500 more lines. What I am looking for is if a name repeats then the info in column 2, 3, 5 and 6 for that name needs to be brought to new row. Example would be if I used the name karen on the next row then I would like her info from the desired cells to auto populate so I don't have to keep entering them and so on with new and old names. I have been trying to get this done for months know and have had no luck. My sheet already has over 500 lines of names and it would be nice if I could use the data from the past as well as the future to populate these cells.
View 5 Replies
View Related
Sep 19, 2009
I am looking for advice on how to move cells containing data (columns D to K in EXAMPLE A), upwards so that the information lines up with data already existing in columns A to C (to be included as part of an overall VBA routine).
In the upper example data in cell D2 needs to move upto D1, E3 to E1, F4 to F1, G7 to G1 etc and K9 to K1. Now, data on following rows is to move upto row 2 eg: E5 to E2, F6 to F2, G8 to G2.
The first 'block' of data starts at row 1 and finishes in this case at row 9.
The next 'block' of data starts at row 10 and finishes at row 18.
Row 19 shown is the start of the next 'block'. These 'blocks' may have upto 20 rows ....
View 11 Replies
View Related
Nov 2, 2008
I have a database of customers in sheet1 and can search colA by using .find command and find part of text string entered in textbox1, results are filtered and shown in listbox1. my problem is the listbox is only showing 9 columns and i need 12.
i think this is because i am using the additem command.
can anyone suggest a way around this or alternative coding method??
Sub cmbFindAll_Click()
Dim strFind As String 'what to find
Dim rFilter As Range 'range to search
Set rFilter = Sheet1.Range("a2", Range("f65536").End(xlUp))
Set rng = Sheet1.Range("a2", Range("a65536").End(xlUp))
strFind = Me.TextBox1.Value
With Sheet1
If Not .AutoFilterMode Then .Range("A2").AutoFilter
rFilter.AutoFilter Field:=1, Criteria1:=strFind & "*"......................
View 9 Replies
View Related
Mar 25, 2009
How to define column in MS Query (ODBC)?
i have one column like Date of purchase. what i want is to define column based on date of purchase the results showing month of the date of purchase
View 9 Replies
View Related