Updating A List Of Data
Jan 9, 2009
I have a workbook. I want to write a macro that takes cells A16:G16 on sheet "Calc" and to update the list on the sheet "POSITIONS". This is done by using the cell A16 (on "Calc") and looking up the "A" column on sheet "POSITIONS" for a match, then replacing the new values from the "Calc" on the "POSITIONS" sheet. If no match is found I would like to add the new data at the bottom of the sheet. The maxium number of entries (rows) on sheet "POSITIONS" will be 300.
View 5 Replies
ADVERTISEMENT
May 14, 2009
What I am trying to do would appear to be very simple. I am trying to build a quotation form for our sales guys to use. I would like to use a drop down list with the list of products in, which I have created using a list in a second sheet and then using a data validation drop down list.
What I would like to achieve is the sales person selects the product (of a list of only 14) from the list and excel to automatically fill in the two columns to the right with the model no. and also the price.
Would it be possible to use an IF statement as there are only 14 products to choose from? Is there a better way of doing this? I have created the lists of model numbers and prices in the second sheet alongside the product name which the drop down list sources from.
View 10 Replies
View Related
Dec 13, 2009
I'm using Excel 2007. I would like to seek some advise on how i may update cells after selecting a month from a drop down list.
i have created a simplified version of what i intend to have. One the 1st tab 'Cash Budget 2009', i have filled up a table with numbers, sorted by months. On the 2nd tab 'Dec09', i would like to create an expense table, to be able to be selected by month. So i have created a drop down list based on the months that are created in the 1st tab.
Upon selection of the month from the drop down list, i would like the cells to display (fetch) the data from the 1st worksheet. It would also be helpful if the name of the 2nd tab can be updated to read as the month that is being selected.
View 4 Replies
View Related
Jun 8, 2009
I have written some code that populates a list box with data, and have allowed data to be deleted from the list box if a line of data is double-clicked, with the data below the deleted row being updated to remove the empty row, etc. All works fine except that, when I force the list box's 'selected' line to be the one below the last entry (as if you were selecting the next empty line with the mouse) and the code completes, you cannot click on the form and move it around, nor can you access any other of the form's controls, until you click inside the list box.
Apparently, forcing the line selection in the list box (to simulate someone clicking on a row in the list box) is what's causing the problem. I need to force the selection because the number of data lines in the list box is more than can be shown in the list box, therefore I need a method to automatically scroll the list box to show the next available line in the list box.
View 2 Replies
View Related
Nov 1, 2008
I currently have a drop down list in sheet 1 and the list is being refrenced from sheet 2
Lets say the drop down list is for fruits and my current list in sheet 2 has 4 items Apple, Grape, Mango, Peach.
Now this is what I need :-
1 ) lets say a user wants to enter Orange (which is not in the list ) he can still do so by entering it manually into the cell.
2) Once Orange is entered which is not in the LIST in sheet 2 then that new name gets added to the LIST in sheet 2 so that next time that name appears in the drop down list automatically. eg Apple, Grape, Mango, Peach, Orange [ but Items should not get duplicated eg Apple, Grape, Apple, Mango, Peach, Apple
View 6 Replies
View Related
Jan 22, 2009
I would like my combo box list to change base on the value of A1. That is, I have its input range being B1:F1 - "Year 1", " Year 2" etc.
Example:
-If cell A1 is the value "10" then the combo box default list item would be
"Year 1" (which is cell "B1")
-If cell A1 is the value "20" then the combo box default list item would be
"Year 2" (which is cell "C1") ETC...
View 3 Replies
View Related
Dec 18, 2008
I am working on a spreadsheet that is essentially a question and answer based document .... I need to set up the macros so that if a certain response is chosen from a list, it will automatically update the cell / row next to it with a pre-determined response ....
The way the spreadsheet is set up is that the first column has the question, the second column has the answer (yes, no or N/A - from data validation - as a list) and the third column is blank - but is titled "comment/action" .....
For example: if the question is "have you locked the car" and the answer column selects "NO" then I want the "comments/action" to come back with "you need to lock the car", and if the answer is "YES" then I want the comment/actions column to remain blank ...... The same with N/A ......
I will have around 100 questions in the document ...... I know I need to set up the responses on a separate worksheet - i just dont know what the macro's are to identify and place the appropriate response from the worksheet to the relevant comment/action column .....
View 10 Replies
View Related
May 23, 2014
I am using excel 2013
I want a data validation drop down list, the list may expand or contract.
I created the list in cells on one sheet and control T to make them into a table
In data validation I selected the range of cells in that table
When I add to the list it does not show in the drop down list.
View 6 Replies
View Related
Jul 13, 2006
I have a raw_data sheet with a list that is linked through
Insert> Name>Define. This list is used for Validation Data List drop
down menus in other sheets. I would like to update a
list element in my raw_data sheet and have the corresponding element in
other sheets also update. Is this possible or is there another way to
do this?
View 9 Replies
View Related
Jun 8, 2007
I have created a pricing sensitivity for a list of products. In cell C3, users can select a product (i.e. Apple, Elmo, or Bowl) and based on this selection, a range of Prices and Units are then updated and the Revenue for each price point calculated. A few lines beneath this, I have a little summary table that lists all the products. I'd like for users to be able to enter in the optimal price point for each item and then have the Units and Revenue for that selected price point for that specific product automatically update.
For example, if I select Apple from my drop down list my price choices are $5, $10, $15; units are 100, 85, 70; and revenue are $500, $850, and $1,050 respectively. On the summary table, I would like units 85, revenue $850 to update automatically if I select/input a $10 price. This would happen for all the products so at the end I want to be able to calculate a blended revenue mix given my pricing changes.
View 9 Replies
View Related
Oct 31, 2013
This is what I'm trying to do:
1. When a user clicks on a Drop down box and selects "Add New", I would like a Macro to run
2. I want this Macro to open up a Dialog/Text box to say "Enter New Information" where the user can enter in some text
3. The text that is entered by the user into this box will be added as a new entry into the Drop down box selection
My VBA knowledge is still at a beginner's level and I know how to get a Macro to run based on a cell value. However I don't know how to create a Macro for the dialog box nor do I know how to create a Macro for updating the drop-down items.
View 8 Replies
View Related
Jan 3, 2014
I'm trying to create an autoupdating price list using a part number and a website. I've tried Excel's data import wizard.
Website: WebFLIS - Public Search
Sample data Category
Chaplain Kits
Item
Chaplain's Kit, Consumable
NIIN
9925-01-326-2855
Price
$276.94
Description
Also called the ReSuppply Kit
VBA Code that allows me to automatically open the page.
Dim IE As Object
Sub submitFeedback3()
Application.ScreenUpdating = False
Set IE = CreateObject("InternetExplorer.Application")
[Code] ......
Ideally, I'd like to click a button that says "Update Prices" and it will search WebFlis for the NIIN listed and update the price. I have 717 items on my list so updating would be by click only (I think I can write that portion).
If that is not an option, I'd like to be able to click on each item row (think hyperlink) and be able to see the results for that individual item.
View 9 Replies
View Related
Apr 12, 2013
I have a workbook that has two worksheets. One worksheet is an input worksheet. A user will select a date from a drop-down list and type in the events that occurred on that date in 8 adjacent cells. The user selects a button that advances date and clears form. On sheet 2, whatever was typed into sheet one is saved via VLOOKUP formula. However, if I try to change something retroactively and select a previous date from the drop-down list, it clears everything in sheet 2 that was typed for any selected day.
View 1 Replies
View Related
Jan 11, 2013
I have created a pivot table that is connected to an input sheet with data. The input sheet retrieves data automatically from a external source through an add-in to Excel. When updating data the fields expands, but only for the items which have been changed. I want the table to be updated automatically, but not the fields expand automatically. Is there any pivot options to prevent this problem?
It should be mentioned that the pivot table is not directly connected to the input sheet (which is updated from the external source), but from a "help-sheet" reflecting the input sheet with some additional columns. I use conditional formatting and name range in the pivot.
View 1 Replies
View Related
Feb 7, 2014
can't get the data to update right. It updates the cells but also overwrites the first person's name.
View 5 Replies
View Related
Jan 9, 2006
I am working with Microsoft Excel 2003. I am trying to import(or something
like it) from worksheet (A) to worksheet (B). Worksheet A is a spreadsheet
that I have saved to keep the same row names, etc. but the information within
the named cells is forever changing. I also save the information from
worksheet A, but have another copy that when I open, it always opens without
any changed data in it. MY question/problem is that I need to import the
data from A to B, and every time that A changes, I need B to automatically
update the data and continuously add to the spreadsheet I have made up for B.
I can NOT have A overwrite any data that I have already put into B.
View 13 Replies
View Related
Jun 27, 2008
I need a formula that let me change the value in column B with the value from column D. But to do the change I have to check that the value in column C is equal to the value in column A. If a value from column A is not present in column C (like 1002 in the example), the value in column B wont change. The values in columns A and C are alphanumeric, the values in columns B and D are numeric.
For example:
Column A Column B Column C Column D
1001 2 1001 4
1002 1 1003 5
1003 0 1004 1
1004 2
The columns A and B should end like this (Changed):
1001 4
1002 1
1003 5
1004 1
View 9 Replies
View Related
Jan 20, 2009
I'm using Vista with Excel 2007. I have a master spreadhseet populated with a number of columns, but the important ones are column a (item code) and column q (foreign pricing).
I have received the new pricing from our Danish supplier and now need to update my master spreadhseet. The spreadsheet has only column a (item code) and column b (new pricing).
I need to get the pricimng in the new spreadhseet from column b to column q in the master spreadsheet whilst making sure that the item codes match. Note that there are more item codes in the new price list than in the master spreadsheet.
I've bought an Excel book with 1022 pages but still can't figure this out - it must be so simple but I'm missing something.
View 9 Replies
View Related
Jul 2, 2012
Clicking the Add to DB button will add new items but not existing one.
now, what I want to do is to first, populate the existing TIN and then do the necessary update.
my basis for update is txtTIN.value
Here are the codes anyway:
VB:
'This adds the data on the WorkSheet named DBPIT"
Private Sub cmdAdd_Click()
Dim iRow As Long
[Code].....
View 5 Replies
View Related
Feb 14, 2014
I have some simple code that filters my source data, what i would like is a way that the user could confirm that the data is correct by clicking a button for each line of data based on the ref number which would then input todays date in coloumn N.... is this possible?
View 1 Replies
View Related
Jan 12, 2009
I am trying to update a combo box when a user inputs new data. So I have a form that uses a list in a combo box. What I need is if that combo box receives new data then the combo box will show that new data the next time the form is opened.
View 6 Replies
View Related
Dec 14, 2011
I keep track of returns for my company and I am pulling a CSV file with all of the information on it.
I want to be able to format the info and create new columns for info I enter in to the sheet, and be able to import the updated CSV file into my already formatted sheet.
The part that I am wondering about is, after I import my first CSV file(sheet1) do I need to create another sheet(sheet2) and format sheet2 and have it pull the info from sheet1, then when I update workbook1 the data will update in sheet2?
Or, is there a way to just import the new data a single formatted sheet that I created from the old data and have it just add the new data without messing up any of my formatting?
View 2 Replies
View Related
May 8, 2013
Here is what i want:
It's something like updating data by merging 2 tables. New names adding in end of table but peoples who has new mails need to be changed. Clear explanation in attached image.
People 1 and People 2 are same persons in both tables.
View 1 Replies
View Related
Nov 18, 2007
I have created a userform with textboxes. I want to update cells on a spreadsheet with the values in the textboxes. I have set the code into a command button to update the values, but they only get updated when I close the userform, not when I click the command button.
View 9 Replies
View Related
Apr 7, 2014
I have two workbook.In 'Entry'Workbook where data is filled up daily in different blank cells.In 'Report' workbook,exactly, I want to pull and update the data .The format is same.Then those changes if possible must be shown in a separate sheet.Since the data is very large,I cannot track where the changes has been made in 'Entry' Workbook'.In order to know the changes in cells,I require this on daily basis.Hence I require two things-
1.VBA Code/Macro for pulling & updating changes to 'Report' workbook from 'Entry'Workbook .And only those changes that should be ignored that has been made by me in 'Report'Workbook
2.Changes made in 'Entry'Workbook must be summarised in a separate sheet in 'Report'Workbook.
[URL] ....
View 1 Replies
View Related
Apr 27, 2007
I need a method of updating a set of data held on tab1 from tab2 where details of one record is shown using VLOOKUP, possibly via a macro? For example:
Sheet 1 holds info on various companies - (Column headers: Name, address1,
address2, postcode, " DATE LETTER SENT")
Sheet 2 Uses a drop down menu to select the desired company and some VLOOKUP
formulas show the info from sheet1 on that one particular company. Sheet 3 There is a printable standard template letter which draws info from the record selected on sheet 2 (using standard =Sheet1!A1 formula) formated so the letter is addressed to the specific company selected. Back to: Sheet 2 - At the bottom there is a button which says 'Print' This runs a macro which selects sheet3, prints it then returns to sheet2. I need this macro to also go back to sheet1 and update the relevant record with ideally todays date (the date the letter was printed) in the "DATE
LETTER SENT" column mentioned before but can just be an 'X' to show a letter
has been printed for this company/record at some point. So in the future, by looking at sheet1 you can easil determine which companys have had letters printed against, and which havn't.
View 2 Replies
View Related
Mar 31, 2008
I'm coming up with a dynamic graph using VBA. The one originally proposed to me using "offset" and insert chart doesn't work well with an an animation that happens concurrently with the dynamic chart.
So i've come up with a VBA version of it. It works extremely well on Excel 2007 but when i open it with Excel 2003, it just doesn't work in the line highlighted in yellow (below)
Sub create_graph()
Dim start_row, Start_col, range, number_of_tries, m, n
Dim graph As Chart
Dim wks As Worksheet
Dim myArray As Variant
View 3 Replies
View Related
Apr 30, 2008
For some reason, the charts in my excel workbook do not update automatically when the data are changed. I have set Calculation to Automatic, but it still doesn't work. They update only if I close and reopen the workbook. Is it due to a problem with setting? How can I get the charts to automatically update?
View 4 Replies
View Related
Mar 6, 2014
I am looking to have the data ranges in tab 'Type' update automatically in 'Output' for a particular start date. So for example if I enter LBO into cell E3 in the 'Output' tab it will input the data range for LBO from tab 'Type' but from a specific start date.
I know I can achieve part of this via LookUp functions but it is the start date that has me stumped.
View 8 Replies
View Related
Oct 4, 2013
I've created a spreadsheet which, on running a macro, imports data from a text file, formats it and then sums various parts of it giving me a subset of the large file as a range of data for a chart (a pie chart) on Sheet 2.
The problem begins when I delete the data in the worksheet in preparation for another import - the Pie chart just loses all the data and I have to manually reselect it in the chart each time.
Once deleted the chart is blank, but as soon as the data is imported, I get reference errors when I click on Sheet 2
I must be doing something wrong. You can delete data and repopulate it and the chart should pick up with the new data. If the cells it is referencing are empty, it is blank. Not so here.
Is it to do with importing the data? Or the formula for my chart data?
View 1 Replies
View Related