Conditional Validation Dropdowns That Corresponds To The Selection
Nov 10, 2008
I have my data with column A being the Week ending date (a saturday date) for which the data was entered. In column B it is simply the Month that the data was entered. On another tab...the user can select weekly or monthly. What I would like is a validation drop-down that corresponds to the selection.
IE - If weekly is chosen, the validation will allow the user to select a week that is found in Column A in the data. If monthly is chosen, the validation will show the months from Column B instead. Is it possible to have one validation dropdown, that the validation LIST can be conditionally select based on input in another cell? (A1 being Weekly or Monthly - and B1 being where the validation dropdown would be)
View 2 Replies
ADVERTISEMENT
Dec 17, 2013
I need to setup a dropdown list (I already have the dropdown created) so that once a value in the list is used, it disappears from the list. Now for the monkey wrench...It need to completely re-populate once the list that is being generated from it is cleared.
I also need to copy a value from one sheet to another sheet, however, the location needs to be matched with a corresponding value from the first sheet. Hopefully it will be easier to understand within the workbook (I feel like I'm not explaining it well).
I have attached a sample copy of the workbook and what I am trying to accomplish.
Mens_Dorm_Sample.xlsm
View 2 Replies
View Related
Oct 22, 2007
I am creating a spreadsheet i want it to be that i make a selection from a drop down and this will then narrow the options available in the next drop down. Say box one you select 'half day' and then the next drop down menu will automatically loose all the data for a 'full day' and only show half day information such as costs for food and room bookings ect. i have made the drop downs but im not sure what to do next.
View 3 Replies
View Related
Oct 27, 2008
Got a table where I've placed Data validation - List on them.
Placed a macro on a button so that the data on the table where the validation list is placed is transfered to another sheet (same workbook).
What I need is a to modify the macro assigned to the button so that when the button is clicked to activate the macro:
a.) Can identify if there are any blanks on specified cells with validation list
b.) Stops the macro from copying the fields to the other sheet
c.) Alert the user of the blanks (an alert stating there is a blank would suffice)
d.) Alert should preferably be similar to a Stop alert from Data Validation.
Can anyone help? Been reading through several threads but don't seem to find anything that could help me - tried reading a Visual basic thread and now i've got a headache....
View 15 Replies
View Related
Feb 21, 2009
The code below lets me select more than one item in a column 14 dropdown and put them in the cell.
I am trying to let another column have the same properties. This time it is column 17. I tried adding another line but it doesn't work. Can anyone help with the code.
View 6 Replies
View Related
Jan 13, 2014
I have a cell with data validation that I would like to look at table and be dynamic rather than a manual selection. So when I add to the list the data validation will reconise there are more options.
View 7 Replies
View Related
Jan 3, 2009
A list in A2 of Sheet 1 of workbook has values "Select", "Yes", "No". How can I get the functionality using VBA so that until a certain rule is met (say A1 becomes 1) selection of items in the list is disabled? (Or any selection of items in the list returns a value of select only?
View 4 Replies
View Related
Mar 23, 2012
How can I select a particular data item in a data validation cell. My requirement is that I need a particular item to be displayed in data validation cell(I already have the item value with me)
I tried recording but it doesnt work.
View 6 Replies
View Related
Sep 4, 2009
I have two fields that do the same thing [preset selection vs custom entry], and I need to restrict one from holding any data if the other already does. One field is a drop-down menu, and the other is a decimal entry. It was easy to restrict the decimal from being entered if a drop-down selection has already been made - Data Validation prevents any entry unless the drop-down cell is blank. It's not so easy to restrict the drop-down, however, as it already uses List-type Data Validation to allow only values from a specified range.
Does anyone have any ideas for allowing the drop-down to function as normal if a specific other field or range is blank, but not allowing a selection to be made if that specific field or range already has data in it? I've attached a simplified example worksheet.
View 5 Replies
View Related
Nov 22, 2011
I have a workbook with various "in cell" validation selection boxes.
All worked well, but now the width of de dropdownbox is very big, stretching over several cells. The cell width is 70 pixels, but the dropdown box is 500 width.
I tried new validation, but no matter where I place a validation of what list I use in validation the width of the dropdown is always over 500 pixels? How to change that?
View 1 Replies
View Related
Nov 15, 2011
I have a large set of data that I need to use for data validation in drop down lists. The data is arranged in 4 columns and entries within each column may repeat numerous times. The four columns are as this..
Category Subcategory 1 Subcategory2 Subcategory3
The first data validation will come from the first column. Once this is chosen the second drop down should populate with the subcategory that correspond to that category stored in column 2. once that is chosen the thrid data validation should populate with the corresponding subcategory from column three etc.. This is a small sample of the data in the columns.
View 5 Replies
View Related
Oct 17, 2013
I have researched and used some code that allows the user to select mutliple items from a list. This is using the Data Validation tool with a list and some code in the relavent sheet. It all works well and as described.
However, when I lock the Worksheet, the multi selection no longer works. Selection cells are ofcourse unlocked when sheet is protected.
I have also trialed unlocking the whole row that the multi selection exists in, no effect.
My understanding of this code is at about 50%.
Is there a way of being able to lock the sheet and retain this ability of multi selection. Maybe there is some other code I could refer too?
Code:
' Developed by Contextures Inc.
' www.contextures.com
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rngDV As Range
[Code].....
View 1 Replies
View Related
May 7, 2008
I have been searching through the site trying to find a solution to my issue, but I just can't seen to fixt it. Here is the scenario. I am working on a spreadsheet that will read some data, use that data to update the main chart and fill in the information in a table next to that chart. I recoreded 22 macros, total. Each macro corresponds to the especific type of chart that I need/want.
I want to be able to click on a drop down menu above the chart which will have each of the 22 options. Once the user clicks on the desired option, the specific macro will run and do that it should do. When I run the individual macro (without the VB that I wrote and will mention below), the system does what it should do. Everything looks dandy. But then I added this VB code to the sheet where the chart is:
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Range("A12").Value
Case "1"
Call a
Case "2"
Call b
Case "3"
Call cc
Case "4"
Call d
Case "5"
Call e................
View 2 Replies
View Related
Jul 2, 2014
Basically I have a form where the list can expand and contract so there will always be varying row lengths.
What I would like to see is a drop down list that shows a) the actual populated field and b) a description of the field when the drop down list is present.
I believe this can be done with a combo box however that would be a lot of work.
View 1 Replies
View Related
Apr 13, 2012
I am trying to find something that would allow me to have a spreadsheet clear the contents of a certain cell based on the selection made from a data validation list which resides on the same row. This can best be described with an example.
The user selects anything but " " or "none" from the validation list, which for this example resides in C5, would trigger code to clear the contents, if any, in AA5. If " " or "none" is chosen the value remains.
This capability should be available for each row through 100.
View 3 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
Dec 26, 2012
I've created seven names in my data validation source list on Sheet 3 in the following range of cells, A2-A7. My data drop down validation list is located on Sheet 1, A2 in the same workbook. I would like to trigger a macro based on the name I select in this drop validation drop down list that will fill out an address, telephone number, and email address in the following cells next to my data validation drop down list on Sheet 1: B2, B3, and B4. I want it to be designed so that users will select a name and have that person's corresponding address, telephone number, and email address fill right next to their name on the same sheet.
View 6 Replies
View Related
Feb 2, 2009
I am using excell for our estimating sheets. I am trying to automate some of the processes to ensure there are less mistakes.
I would like to automate the process so that if a number is put into the quantity column then certain cells from that row are copied to a different sheet.
I just dont know how to do it? Do I use Macros or Formulas?
View 9 Replies
View Related
Jul 12, 2009
I need to use a vlookup formula to that will look up the value in column A and return the value that corresponds to this number in table below.
Eg.
If A is >2.75 but
View 9 Replies
View Related
Oct 11, 2012
I am in need of a vlookup formula that will return a value that corresponds to the latest day in a month. Example:
Column A had dates in format 1/3/2012 ect....
Column B is a $ amount
Column C is a date in format Oct-12 ect...
I want column D to be a formula that match up column C's month in column A and return the $ in column B that corresponds to the latest day in the month. IN the example above it would returna value for Oct 31 (if there was one), Oct 30 next and then Oct 29 ect...
So if column A had October dates of: 10/1, 10/4, 10/17 and thats it in Oct then it would show the 10/17 $ in column B.
View 2 Replies
View Related
May 8, 2014
There are 5 columns.
Engineer name, attended site(date), report received(date), commercial/heating and bonus(gbp)
Engineers will only get a bonus if they send the reports in 1 day after attended site date for commercial, and 2 days after for heating. If the report is received past this window, they do not get a bonus!
Weekends do not count as a day!
This should be on one row per engineer. I then want to see how much "John Doe" is owed in any given month...
View 3 Replies
View Related
Nov 14, 2006
I have a workbook that has a calendar look to it (in row 2 I have time in 30 minutes going from 7 AM, 7.5, 8, 8.5 until 12 AM). In sheet2 I have employees name in column A and their workshift in column B (07:00AM-03:45PM). I'm trying to have excel find an empty row to populate a "t" in sheet1 for the for the employees worshift for each associate without any overlap. I have attached a short sample of what I'm working with. Let me if there is a formula or a code maybe...
View 4 Replies
View Related
Jan 12, 2010
I'm having major issues getting this to work correctly. Is there a way in VBA to code conditional formatting so the entire row of a range's color is changed if the condition is met? I have about 7 different colors I'm using, but if I use the following code (only partial is shown below), it only changes the specific cell (in my case, in column A), and I want the entire row (say, A4-AI4) to change colors, dependent upon what is in cell A4.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Set MyPage = Range("$A$4:$AI$33")
For Each cell In MyPage
If cell.Value = "LH_SAS_1603" Then
Selection.FormatConditions(1).Interior.ColorIndex = 40
End If
If cell.Value = "LH_SAT_1603" Then
cell.Interior.ColorIndex = 37
End If
If cell.Value = "MH2" Then
cell.Interior.ColorIndex = 39
End If
Next
End Sub
I also tried the following, but it never stops looping through since I obvi didn't code it correctly:
Range("A4:AI33").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression, Formula1:="=$A$4=$A$37"
Selection.FormatConditions(1).Interior.ColorIndex = 37
Selection.FormatConditions.Add Type:=xlExpression, Formula1:="=$A$4=$A$39"
Selection.FormatConditions(2).Interior.ColorIndex = 40
Range("A37").Select
End Sub
View 9 Replies
View Related
May 14, 2014
We have a table that tracks customer payment dates with corresponding payment details.
Our current Excel program works fine when the Customer payment dates progress (non-duplicate date entries) ... BUT .... sometimes a Customer will send multiple checks on the same date (duplicated date entries), and then our program gives incorrect results.
You will see that this Customer sent in three checks all dated 11/22/2013 ($100, $50, $50).
What we need is a formula that will look at the dates in Column-A, choose the last entry (before any zero or blank), then provide the corresponding value in Column-D.
So in this case, the result we need is (100.00) ... the value in cell D16. Our program is erroneously providing 100.00 ... the value in D14.
View 3 Replies
View Related
Jul 17, 2006
I need to return the column header in a table which corresponds to the column that the value I'm querying is in. I've been trying to use the INDEX function coupled with MATCH and COLUMNS function but I'm not getting anywhere. I've found on the web a solution that uses SUMPRODUCT but I can't get that to work either. Unfortunately, I can't supply the data I'm working with as it is confidential. I know my question would be easier to answer if I could supply it.
View 2 Replies
View Related
Apr 10, 2004
Sheet 1 has a LIST of hockey player
Sheet 2 has my friend's team (12 players). Each, a dropdown list on the player of sheet 1.
When a player will be eleminated, i will manually change his background to red in the list of sheet 1.
I want the background of the sheet 2 related to the player eliminated to change to red as well at the same time... how to do it automatically, without having to put a conditionnal formatting on EACH cell in sheet 2 ?
View 6 Replies
View Related
Mar 14, 2007
I am trying to create a macro that works with a range of cells and identify the five largest numbers in the range. The following are the steps.
1. I select a range of cells and run the marco.
2. The macro will identify the largest number in the selection and make the cell color red.
3. Then it will find the cell with next largest number and turn the cell orange...and so on till the 5th largest number.
View 9 Replies
View Related
Sep 28, 2009
I'm trying to write a vlookup where both the lookup value and the table_array are variables. What I'm trying to do is get a set of dependent drop down boxes to serve as the input for vlookup. The first drop down box contains a list of named ranges and the second contains a list of possible search values. If I manually input the name the function works, but if I refer to it with a cell reference or the indirect funtion it fails. For example:
View 2 Replies
View Related
Jan 14, 2010
I am using Data Validation for my drop down list, using “List” and “source” =$A$132:$A$159 along with Conditional Formatting that changes different fill colors, depending on selection. Is there a way to use VBA with a command button that when selected would give the user a dialog box so that they could enter additional comment that would be added to existing list and would also be able to select a fill color for that new selection.
Below I have a recorded Marco to give an idea of what I would like to achieve, but of course using a input box of some sort to make selections of text and color
Also I'm using Excel 2007
View 14 Replies
View Related
May 21, 2009
I have conditional formatting for a range of cells eg. =COUNTA(AC3,AD3,AE3,AH3)
It is currently set so that cell A3 changes to Green if AC3 is populated, Red if AD is populated, Orange if AE3 populated & white if AH is populated.
AE3 has data validation (Yes or No).
I need AE3 to change to White if no is selected and Orange if Yes is selected.
View 9 Replies
View Related