Overwrite Formula When Using VLookup Dropdown As Option?
Feb 21, 2014
I have a spreadsheet where there is an option to either select a pre-priced item from a drop down list or type in manual entries. If the data is entered manually, I have included a formula to obtain cost data. For example, column A has the number of labor hours and column B multiplies Column A by $500. However, if a person chooses to select a pre-priced item from the drop down menu, can the pre-entered data from the VLookup list overwrite the formula? I do want it to overwrite if it is possible for it to do so.
View 2 Replies
ADVERTISEMENT
Apr 30, 2014
I have a drop down list that is dependant on another drop down list, all this works fine, however if the user changes the first drop down list the second still continues to display the last option chosen by the user, is there a way to make the 2nd drop down list display "Please Use Drop Down List To Select An Option" instead, also is it also possible to do this without code?
View 3 Replies
View Related
Jul 22, 2014
I will have a summary tab and then a number of tabs with various options in detail
What I would like to do is some way of adding the options on the summary tab - some sort of drop down I guess
Is this possible without lots of programming etc...
View 4 Replies
View Related
Jul 6, 2014
Say in column A, I have the values 1,2,3. If I set cell B1 equal to A1 and drag down, I'd expect this:
A B
1: 2 2
2: 3 3
3: 4 4
But all the columns in B just say 2. What function did I accidentally change?
View 4 Replies
View Related
Apr 15, 2014
What I want to do is select other options in IE html drop down list. But somehow the other methods I read online doesn't work with my situation. I got either "Variable or Block Variable not set yet" or "Property or Method doesn't apply" errors. The following is the VBA code I have so far:
[Code]...
and the following is html code of the web page:
HTML Code:
<div id="reports">
<h6>Name ~ Doc Date</h6>
<select name="dxr_report" size="1"
onchange="changeReport('form')">
<option value="file1" selected = "selected"
[Code] .......
I tried IE.document.getElementByName("dxr_report").Value = "file2" to choose the file2 but failed.
I also tried IE.document.all.Item("dxr_report").Vaule = "file2", doesn't work either.
View 9 Replies
View Related
Jul 12, 2013
I attached a sample spreadsheet but I was wondering if there was a code that could display a range based on an option selected in a dropdown box.
excel help.xlsm
View 3 Replies
View Related
Dec 13, 2012
I'm creating a form with drop downs, and I'd like the answer choice someone makes for one question (ie- what county they're in) to affect the answer choices for a secondary question (ie- what city they're in).
I'd like to avoid using names, at least for the second dropdown (since there would be too many names, and in some of the questions in the data set things change too much for names to be a good option). I would also like to avoid using VBA to keep it simple and maintainable. Here is a simplified version of a small subset of the data.
Drop Down 1:
County (options: Santa Clara County, Napa County)
Drop Down 2:
Cities/Towns (options: the cities/towns that relate to the above county selection, without using names)
County
Cities/Towns
Santa Clara County
San Jose
[Code] ........
View 2 Replies
View Related
Aug 13, 2012
Using macro's on Excel 2010. What I'm trying to do is create a macro that will copy a range of cells from one sheet to another depending on a option being selected from a drop down box. I've tried to use formulas but without success.
sheet 1 contains a list of approx 20 people with rows containing sales figures per week.
Is it possible to have a macro that will copy the rows to sheet2 depending on the dropdown? The drop down has already been setup with people's names
E.g.
if sheet 1, cell a1 (with data validation setup) dropdown contains "mr smith", copy sheet2 row A1:A9 to sheet 1 cell a2
or
if sheet 1, cell a1 dropdown contains "mr cooper", copy sheet2 row B1:B9 to sheet1 cell a2
etc... for each name in the dropdown
The idea is so that i select a dropdown and it copies the sales figures that match the dropdown name, if i then select another dropdown, the corresponding figures are copied to the same place.
View 3 Replies
View Related
Mar 3, 2014
Attached example file has data with which I need to do the following;
On the tab "part list" I put in the part number in column F. Column C should then be populated automatically by looking up column F in the tab "Lookup" and showing the value found in column B of that tab.
The difficulty with this is, is that when the part number in column F starts with "DN", the lookup value should end with "FD/A" and when the part number in column F starts with "Z", the lookup value should end with "TY/A".
This last part I can't get it to work. I've tried vlookup with a index/match function inside, but it won't work somehow...
View 3 Replies
View Related
Jun 5, 2008
I have a drop-down menu which selects the type of product my company sells. On another sheet I have a 2-column table which lists product type (redundant with the drop-down) with its corresponding accounting code. I want to be able to select from the drop-down menu the product in question and have Excel lookup the accounting code associated with that product and display it in a column next to the drop-down. For example, on Sheet A, I select from the drop-down Frogger. Excel then looks at the table where I list out all products (Frogger, Tetris, etc) with their corresponding accounting code (1,2,3 etc) and then in the column to the right of the drop-down, it displays the corresponding accounting code.
View 2 Replies
View Related
Feb 27, 2007
I have a spreadsheet which is made up of 4 worksheets. I have a drop down menu on the front page (created with data validation). I want to be able to choose one of the 7 geographical areas from the drop down menu, then have a formula search through the other worksheets for rows of data with this geographical area in it. Any ideas on how to do this, I have tried with VLOOKUP but cannot get the formula to refer to the drop down menu for the first input, i.e. the geographical area that it should be looking to match.
View 5 Replies
View Related
Sep 6, 2013
I have several option groups (Y & N in each) linked to cells to display TRUE / FALSE depending on which option is selected in each group. I have another cell which I want to apply conditional formatting to if EITHER Y or N is selected in all groups. At present I use COUNTIF to check for FALSE=0 in the linked cells which works if all the answers are Y. How do I apply CF if there is a mixture of Y & N (TRUE / FALSE) in all groups (I'm not sure if I've explained that well or not).
Excel 2013
View 1 Replies
View Related
Jun 12, 2013
I have 3 different tables on a sheet which I want to do a vlookup on depending on the selection from a dropdown.
I created the ranges I want to use in 3 cells and tried to reference the cell rather than the range. Excel no likey:
=vlookup(B2,A1,2,FALSE) instead of =VLOOKUP(B2,D1:H14,2,FALSE)
Is there anyway I can do what I am trying to do?
View 2 Replies
View Related
Aug 9, 2006
I need a formula that will calculate if a Category is at Very High, High, Med, or Low level risk. I've attached a sample file for review. In the sample I use a countif and countblank formula to count the number of specific statuses used. On my summary page I want to use the counts to determine if a category is in one of the 4 risk levels. I've broken down additional information within the attached file.
View 9 Replies
View Related
Oct 11, 2011
I'm attempting something new, a dropdown menu using vlookup to find data . If i use the simple example below, using data from B-D on 1 worksheet, where i want to find people by county:
A B C D
Search by County Name County Town
John Sussex Brighton
Eric Yorkshire York
Jim Cheshire Manchester
Liz Sussex Hove
Sarah Avon Bristol
I've created a dropdown menu on a second worksheet,A2, by county search, to return a persons name,county and town. The problem is if i select Sussex i will get 2 names who live in different towns within Sussex. I've created a simple vlookup which works fine, but because of Sussex having 2 results, i created a second vlookup for the second result to appear in the cell underneath.
The problem is that for the results that only have 1 result, the second vlookup returns a the same result as the first result, which i dont want.
Is there a way where multiple results will be shown if they exist, but for one result to appear if only one result exists?
View 9 Replies
View Related
Dec 17, 2009
i have a excel 2003 sheet that needs some vlookup formulas
3 columns in total
employee ID Emplyee name Team
i have worked out how to create a dropdown list and return the emplyee name to a cell using vlookup on the emplyee ID column
I have also worked out how to create a dropdown list and return the employee Id to a cell using vlookup on the employee name column
i really want to return all the members of any team into a single cell but when i create a dropdown list it lists multiple entries for example team1 and only returns a single member to my deignated cell
View 9 Replies
View Related
Jun 19, 2014
Attached is example of what I'm trying to do. I want to use the drop-down on the "Master Tab" and have the corresponding price by promo_month appear in the yellow cells.
Currently its on July, but I would like to switch that to August etc and have new prices populate in the yellow cells. Prices come from the "table" tab.
Example 06.19.14.xlsx
View 2 Replies
View Related
Mar 27, 2009
I have attached a sample workbook, (Pricing Sheet - Major) within this work book there is a worksheet entitled Price Book which has commonly-used materials, unit prices and labour rates. What he wishes to do is use the contents of the Price Book worksheet within a worksheet called Pricing Sheet to enable him to prepare quotations.
I had the idea to first sort the items in the Price Book worksheet and then produce a dropdown list of these items for use within the Pricing Sheet worksheet and used the VLOOKUP function to obtain the values for unit prices and labour within the Price Book and use them in the Pricing Sheet worksheet.
View 5 Replies
View Related
Apr 9, 2008
I was trying to use Sheet1 (data input sheet) to collect 33 values and write them to Sheet2 as a row. I wanted the user to be able to make changes/corrections. So if the set of data with same date and shift number is entered for a second time, my macro should be able to over-write the existing row in Sheet2. Have been digging for days yet with no avail.
I'm using Win XP pro and Excel 2003.
View 9 Replies
View Related
Aug 24, 2012
I am using countif formula to count number of times each name appears in a row, but when I use the filter opeion and select a specific name, and highlight the whole row, the 'count' at bottom right of excel screen does not show same count as the outcome of countif. why is this so?Shouldnt they both be the same?
View 4 Replies
View Related
Feb 8, 2008
Just wondering if it is possible to have a formula in a cell but over write it with other digits while preserving the underlying formula?
I can lock the sheet/workbook but cant edit the cells once this is done?
I'm hoping to be able to delete what ever I have overwritten and for the formula to then take effect again.
View 11 Replies
View Related
May 27, 2014
I am trying to create a macro which copies the data of one column every time I click on it. However, every time I click on it I overwrite the data I already copied. What do I have to do, that instead of overwriting my data it copies it to the next free column.
See example attached. Macro example.xlsx
View 2 Replies
View Related
Jun 18, 2009
if i run my macro that saves a sheet as a certain name and then prints it, it works, but if i run my macro and the file already exists it asks me to overwrite it. If i select yes it prints it and carrys on with the rest of the macro, (good). If i select no the macro fails. How can i get it so if i hit no, it runs the rest of the macro after the print command?
View 2 Replies
View Related
Oct 22, 2007
I am trying to set up a macro in excel that will include a save as. This should overwrite an old file. The problem is that I can't get the macro to overwrite. Instead the popup "Do you want to overwrite?" appears and I have to click "OK" manually. Can this be done automaticaly? What is the VB code for it?
View 9 Replies
View Related
Aug 17, 2008
in cell A1 i have the balance. i would like to record the balance every time it reaches a new high in cell B1. how would this be possible please using excel 2007
View 9 Replies
View Related
Mar 9, 2009
Column A (Plan Date) and Column B (Date Recieved) contain date value. If B2 is blank, A2 will maintain the date entered in it. However if B2 has date (either earlier or later than A2) it will supersede the date with the date value in B2.
View 9 Replies
View Related
Aug 21, 2010
I've struggled to find the code to unzip files using VBA but I finally found it and it works (using Shell).
The problem is that I want to unzip all zip files in a folder but my zip files contain 3 files:
1 csv file that I want to keep and 1 xml and 1 txt file that I want to delete.
I can't just unzip everything and deal with the txt and xml later because the xml and txt files all have the same name. So if I don't do anything, I have a series of overwriting messages prompting me to click yes or no. So what I want is either to delete xml and txt one by one after they are created or get rid of the overwriting prompt. I've tried to put a kill or delete file just after the unzip command but it doesn't work - it's telling me that the txt file doesn't exist (should I add some sort of refreshing command ?) and I couldn't find anything on google about overwriting text or xml files.
View 5 Replies
View Related
Apr 24, 2009
I've just written a bit of looping vba script that generates an overwrite alert (i.e. "Output range will overwrite existing data. Press OK to overwrite..."). This is fine and was purposely built into the script, but I want to be able to automatically ignore these alerts and loop through the script unhindered.
View 4 Replies
View Related
Nov 26, 2009
I have the following code which copies a sheet to another workbook and renames it with the current date. However I need it to check if there is a sheet already existing in the other workbook with todays date first. If there is then it should delete the old sheet and copy the new sheet or just overwrite it.
View 4 Replies
View Related
Apr 2, 2012
Is it possible to overwrite an existing .csv file with
The command :
ActiveWorkbook.SaveAs FileName:=fName, FileFormat:=xlCSV
Or does it need to be Killed first ?
Plus do I need any of the options such as Create Backup, AccessMode As etc.
View 1 Replies
View Related