Adjust Worksheet Placement Based On Dropdown Selected
Feb 8, 2012
I have created validated dropdown, which in turn I have used for conditional formatting to highlight specific consecutive rows based on the dropdown.
Is it possible for the worksheet to be positioned based on the dropdown chosen, so that the highlighted rows are visible without having to manually scroll down, looking for the highlighted rows?
If dropdown chosen highlights rows 50-60, I would like the page to automatically show rows 50-60 (not necessarily hide the others, but at least scroll to rows 50-60).
I have a product list where each row of the worksheet has an image, product details and suggested lists/retails for each local currency.
Some products are not available in certain countries and each market doesn't care to see the other market info. (There are hundreds of items and dozens of countries.)
How can I create a drop down selector so that a user can choose their market, i.e. "Australia," and only the rows and columns relevant to them appear?
Can this be done without macros,? This sheet is distributed among 100+ people and needs to work for lowest common denominator.
I have a worksheet with 30,000 rows. But sometimes even if I have fewer records in this worksheet(lets say 1000) worksheet shows the same 30,000 rows.And its annoying when you try to navigate using vertical scroll bar. Is there any option to re-adjust the worksheet to make it more user friendly based on number of rows in current sheet.
I am trying to create a document that runs a scenario based on the two drop down choices selected that determines which worksheet in the workbook autopopulates over to sheet one based on the selection. I tried doing an if statement but did not have any luck.
I have a drop down box on a worksheet and once I have selected the item I want from the list, I would like the price of that item to appear in the cell next to it..
I am trying to copy/extract row of data from worksheet(Detail)A:W to worksheet(1st Letter) if X=1st Letter on worksheet(Detail). I have never used VBA and i am not sure if this can be done with a formula.
I am creating a excel calculator to quick and easy calculate CBM (cubic metres) for a total number of cartons and pallets loaded into a container. The value of 1 carton or 1 pallet will be different depending on which type of packaging/pallet it is.
I have created drop down menues in order to choose the correct packaging / pallet. But I am stuck on on to create the formula.
If I for example choose "LANDFROZEN 7KG CARTONS" from the drop down menu, I need the formula to collect the value in cell E18 If I for exampel choose "LANDFROZEN 10 KG CARTONS" from the drop dwon menu, I need the formula to collect the value in cell E25 .... and so on.
I have tried to use several functions, but none is working the way I want them to :-)
Is it possible to update certain rows only based on the choice selected from a dropdown list
I shall explain this scenario
I have attached a small excel sheet called TESTTHEM which i'm testing and learning excel simultaneously. On the attached sheet
If i select a value in B4 as BusinessLogic, it should then lookup for relevent rows in MISC worksheet and copy C5:L5 from MISC worksheet and replace the columns G4:P4
I am building a spreadsheet with a column having two drop down menus at the top that designate independent, but strict conditions. For simplicity, say I have in cell A1 a drop down menu with choices "alpha, beta, gamma" while A2 has a drop down menu for "1, 2, 3". These six values sit off to the side in cells X1, X2, X3, X4, X5 and X6 respectively.
In cell A3 I woul like to change its color, perhaps to green because it is an acceptable number (say less than or equal to 100) or change to red if unacceptable, value greater than 100.
I can do both of these commands in Excel, no problem. In my situation, I would like to change the value at which cell A3 goes from green to red dependent on the options in A1 & A2. There are 9 such combinations of alpha, beta, gamma, paired with 1,2,3 and I would like the combinations to change the fill color of cell A3 in the following manner:
If A1 = alpha and A2 = 1, then A3 will be green for values less than or equal to 100 and red for values greater than 100. If A1 = beta and A2 = 1, then A3 will be green for values less than or equal to 80 and red for values greater than 80. If A1 = gamma and A2 = 1, then A3 will be green for values less than or equal to 60 and red for values greater than 60. If A1 = alpha and A2 = 2, then A3 will be green for values less than or equal to 95 and red for values greater than 95. If A1 = beta and A2 = 2, then A3 will be green for values less than or equal to 75 and red for values greater than 75. If A1 = gamma and A2 = 2, then A3 will be green for values less than or equal to 55 and red for values greater than 55. If A1 = alpha and A2 = 3, then A3 will be green for values less than or equal to 92 and red for values greater than 92. If A1 = beta and A2 = 3, then A3 will be green for values less than or equal to 72 and red for values greater than 72. If A1 = gamma and A2 = 3, then A3 will be green for values less than or equal to 52 and red for values greater than 52.
How to create a cell that can change its conditional formatting based on the selected values of two drop down menus.
I have a few other conditions I would like to implement, say change the fill color of A3 to green, orange or red dependant on the values in A1 & A2, but I might be able to crack that if I can see how the above scenario is done.
I'm trying to copy data from one sheet to another sheet automatically based on a number selected in a drop down control.
I have used OFFSET to pull some information successfully from a list. This is easy for me to do with single entries and a list and has worked well. I want to do similar but with a dataset not just single cells.
But, I can't seem to make OFFSET work to show a set of data easily.
Perhaps I will need VB code to do so? Or there is another control I'm not aware of? I've done very little with VB.
I'll attach a sample file to try to show better what I'm trying to do.
I am looking to write a code to lock/unlock cells based on values selected using a drop down list (see attached Excel) For example if Netherlands is chosen as the Country (Column A), then except for the columns Amsterdam (column B) and Eindhoven (column C), all other columns must be locked. Similarly, if India is chosen as the country from the drop down list, then only the columns New Delhi and Mumbai must be editable for the user, the rest of the columns remain locked.
I tried tweaking some of the lock/unlock codes around, but got lost especially with getting to run the macro - still trying to come to terms with running a "Private Sub Worksheet_SelectionChange" function in the sheet from "Module"!
I have a formula that displays the 1st monday of a month, I need the formula to take into account which day is selected and then display the first of the selected days date for the month.
I am working on excel based tool where I need a small piece of macro. I used two IF loops in the code.
The second IF loop is working fine. The problem is with first IF statement.
What I need to do is -
If E6 is Yes, then in the same worksheet named "Input Sheet", i need to change values of cells D14:M14 to zero and also
I want to restrict people to change this value. So, after changing the value to zero, I am hiding that row.
But if E6 is "No", then -
Unhide the Row 14 and allow users of this tool to change value of cells.
I believe the only issue is with statement - Sheets("Input Sheet").Range("D14:M14").Value = 0
Code: Private Sub Worksheet_Change(ByVal Target As Range) If [$E$6] = "Yes" Then Sheets("Input Sheet").Range("D14:M14").Value = 0 Sheets("Input Sheet").Rows("14").Hidden = True
I am self-taught (arguably by a pretty shoddy teacher), and am determined to figure *some* of this stuff out. I need a code to look at the rows on one worksheet and based on the value of column A for each row, copy cells A through E in that row to cells A through E of a blank row on a corresponding worksheet. I found a code from another post that does just what I need it to with one small exception. The code was posted by DaveGuggs and is as follows:
I've created drop-down lists in cells B3 and B4 (this is in worksheet 1), based on a column in Worksheet 2. I'd like Worksheet 2 to autofilter the data based on the drop-downs in B3 or B4, or both together.
I have a worksheet called "Lookup" with several dynamic named ranges (each is 1 column wide) including facility, department, shift, etc. On a summary worksheet in the same workbook I want users to use a dropdown or combo box (don't care what type) in cell B2 to select a facility and then based on their selection, copy the department named range data and paste it into the summary sheet beginning in cell A5 and paste the shift named range data into the summary sheet beginning in cell B5.
Example: user selects "AR Plant" from the dropdown or combo box and the data from the "AR_Rpt" named range is pasted into cell A5 and the "AR_Shift" named range is pasted into cell B5.
I have got a few combo boxes on my worksheet. But when I adjust the width of the columns the size of the combo boxes changes as well. How can I make it so that the combo boxes stay frozen even though the columns size is being changed?
Is it possible to adjust column width of a PW protected worksheet without unprotecting it, or unprotect it and adjust in background then PW protect it?
On sheet1 H1 = column width value Will adjust Sheet2 (password protected) column E width
I need to have my Fx macro run whenever a value is chosen from the drop down list in cell K9. I know I have seen how to do this but for the life of me I can't find a thread today that contains this info. The actual value chosen does not matter, I just need the macro to run every time the value in the cell changes.
On the template cell K9 is blank. So when the user chooses a EUR from the drop down the macro should run automatically (the user shouldn't have to do anything). And if the user then decides to change the currency to USD the macro should run again automatically.
=IF(A2="","",IF(INDEX('JOBNAME Time Cards'!K:K,(ROWS($1:1)-1)*7+1)="No TV","","X"))
The idea is basically, if on another page at specific cells there is a value of 'No TV', there will be an empty cell - otherwise there will be an X.
In the past this has worked fine, but now that I've changed the way the 'No TV' cell works to be a dropdown of options, it no longer works. Even though 'No TV' is selected from the dropdown, the value is still X.
What is the code for getting Excel to send an email once I close a line item? I got some code from another post but can't get it to work for me. My current spreadsheet is a list of outstanding problems. Once the issue is "Closed" (Dropdown in column U), I would like Excel to email a recipient who's address is in Column K. The issue is in the code - If c = "Closed" Then
Sub Closed() 'You need to Reference Outlook 'Goto Tools>References and select Microsoft Outlook Libary 9.0 (or your version) Dim olApp As Outlook.Application
I have a spreadsheet at work . I am tracking the quality target for the department and I need to create a formula that adjust accordingly to the target set for month end which is 90%.
I have build in the foreacasted numbers for the whole month but I need the formula to indicate the minimum error points needed to achieve the target of 90% for month end when I replace the forecasted numbers on a daily basis with actual numbers.
I have attached the spreadsheet which will be clearer.
I have a drop down list of locations, which when one is selected I would like to show an abbreviated version in a different cell (say B5). I have tried the following so far:
=IF(A5 = "London", "LON")
But I would need to do this for around 30 locations and would need the abbreviated version in the same cell.
Example : I create a list (cat, dog, cow), i create a dropdown on this list and select the first - cat. After that i change cat on SuperCat. Dropdown has a new list, yes, but selected value still Cat. Can i update it automatically on SuperCat? Or are maybe there any shortcut for validation to let me know that i should change my value from invalid ( if the first variant is impossible )?
I want a functionality in a sheet wherein if i select a value from a drop down, i will get specific fields to be entered in the sheet below and when i select a different value from the drop down the fields to be entered should change.
I have 2 worksheet in excel, first worksheet called "inventory", and second worksheet called "consumption".
The inventory worksheet is the big list of items that we have in store(ex: apple, mango, grape, orange, carrot, banana etc up to 200 items).
In this worksheet, coloumn A is the item name, and coloumn B is the quantity. in some cases, we dont have all the item in the inventory, for example only 50 items that having the quantity (other items is 0) In the worksheet "consumption", it also have coloumn A with item's name and coloumn B with quantity. In Consumption worksheet, i want to create a dropdown list in coloumn A, that automatically only populate the items that we have in the inventory worksheet (50 items) (not showing all items (200 ea) in dropdown list).