Clearing Validation Values Based On Another Validation

Nov 11, 2008

A2's validation is dynamic as it's selectables varies based on the selection made by the A1 Validation. (=indirect(a1)).

My problem is this....once if have selected from both validations...if I go back and change the A1 validation to a blank (or empty value) or clear the contents on that cell....validation A2's value remains as it was. I would like it to recognize that A1 is blank and also become blank (or goto an empty value).

View 2 Replies


ADVERTISEMENT

Clearing Dependent Data Validation?

Dec 10, 2013

Currently i have a list of cells D7:D19 which have data validation lists dependent on the values in B7:17. When the cell in the B column is cleared the value in D remains. I want it to clear when the value from B is cleared. I currently have tried to following code which works for cells B7 and D7, but how do i apply this to the whole range?

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
On Error GoTo sub_exit
If Target.Address = "$B$7" Then
Range("D7").ClearContents
End If
sub_exit:
Application.EnableEvents = True
End Sub

View 1 Replies View Related

Data Validation And Multiply Values Based On Choice

Mar 11, 2014

I've got a spreadsheet and I've used data validation to look at a list on another tab.

I need to be able to multiply values out based on what i choose on the drop down menu.

I've attached a sample spreadsheet to explain : tasks.xlsx‎

View 3 Replies View Related

Macro Exporting PDFs Based On Values In Validation List

Jan 31, 2014

I have the following macro that exports pdf's for every value in a validation list. Currently it's setup where I have included each value in the macro. This is fine with just a few values but I am about to add 900.

My question is, is there a way to write the macro so it exports a pdf for every value within a dropdown list until it hits a null value instead of what I have below so i don't have to repeat everything for every value in the list?

Here is what i currently have.

Sub Export_MarketSpecific()
'
' Export_MarketSpecific Macro
'
'
Sheets("Home Page").Select
Sheets("MOA-Page 1").Visible = True
Sheets("MOA-Page 1").Select
Sheets("MOA-Page 2").Visible = True
Sheets("MOA-Page 1").Select
Range("D2").Value = Range(Range("D2").Validation.Formula1)(2).Value

[Code] ..........

View 7 Replies View Related

Data Validation Formula For Set Of Numerical And Text Based Values

Apr 30, 2014

I am quite inexperienced with Excel and I am struggling to understand how should I set up a formula, within the data validation function to achieve the following:

I need to restrict a certain set of cells, for people to be able to input only the following values: "1", "0.5", "A", "H", "0.5A" (or 0.5a), "0.5H" (or 0.5h)

And I would need the data validation tool not to include blank cells.

View 1 Replies View Related

Copy Paste Special As Values Based On Validation Cell Contents

Jan 27, 2007

Need VBA macro that will copy & paste (Special > AS VALUES) from one of two (Data A & B) sheets based on the contents of a validation cell ($D$4) in a third (Report) sheet? The destination starting cell would be $F$11. ALSO - I'd like to have the Named Ranges "DataAExtract" & "DataBExtract" used in the code (for the COPY region) so I can see an example of how to reflect my actual named ranges in my working file.

The reason for doing this is that the "c.Characters...." lines in my conditional formatting macros (attached) are not working on cells containing formula output (in my working file the Report page is all populated by VLOOKUP results), but the macros run fine on hard-coded values. In my attached workbook, I'd like to have the "NEW" macro for the copy & paste step fire first in the sequence of macros running after the FORM button-click (control located in cell $D$5 of the Report sheet), whether that's by writing a new macro and calling mine before the new one ends, OR by consolidating all of my macros plus the new one into one smooth progression.

With this low-tech approach I can get updated VALUES into the report area once the user selects a data source and a customer on the report sheet. The COPY ranges in my working spreadsheet will update based on the selections made in the report page. I tried recording a macro and then modifying the recorded code to add the "If > Then" functionality I'm looking for, but I'm pretty green when it comes to VBA code and syntax.

View 3 Replies View Related

Varying Validation Drop-downs Based On Varying Cell Values

Aug 7, 2013

I am attempting to have cells in Column 'U' deliver different drop-down menus based on the corresponding value in column 'D'. I have created 7 named lists:

List_117G
List_152
List_JMET
List_XBAND
List_PACWIND
List_VORTEX
List_ROVER

Those lists will be called up based on 7 values in column “D”:
“G”
“152”
“J”
“X”
“D/E”
“V”
“R”

So far I have only been able to get this to work for the first category “G”. When I change the value of column “D” from “G” to “152” I no longer get a drop-down. Here is the formula I am using in the List function of validation.

=IF(D6="G",List_117G,IF(D6="152",List_152,IF(D6="J",List_JMET,IF(D6="X",List_XBAND,
IF(D6="D/E",List_PACWIND,IF(D6="V",List_VORTEX,IF(D6="R",List_ROVER,)))))))

View 2 Replies View Related

Data Validation :: Selected From 4 Validation Lists

Sep 26, 2007

I would like to know if it's possible to populate a data validation list based on what is selected from 4 validation lists?

for example:
On sheet1:
If 'Group1' is selected from data validation list1 then data validation list5 will show a list of all items from Group1. If 'Group2' is selected from data validation list2, then data validation list5 will display all the items in 'Group2'...

(I do not want to use a combo box for this)

View 9 Replies View Related

Nested Data Validation: Figure A To Enforce Dual Data Validation On A Single Cell?

Aug 19, 2009

I'm trying to figure a to enforce dual data validation on a single cell. That is, I need to restrict the user to entering only a decimal value, only if a particular other cell (say A2) is blank. To put it another way, if A2 is blank, the user can enter a decimal value, but if A2 is not blank, the user cannot enter anything. I can use Data Validation to enforce either the decimal restriction or the ISBLANK, but I'm not sure how to make them work together.

View 2 Replies View Related

Validation List Allows Other Values

Jun 27, 2006

I think this is fairly simple but I don't know what the problem is. I have a worksheet with some validation lists. I found that I am able to type values that are not on the list into the cell without getting the error message. Does anyone know why this is happening? How can I fix this? (I have the show error alert checkbox checked on the data validation menu)

View 9 Replies View Related

Set Data Validation Default Values?

May 28, 2014

I've looked through the forum, and have seen several requests for data validation defaults, but not related to cells that need to repopulate to defaults based on an action. I'm attaching my worksheet to get an understanding of what I'm trying to accomplish.

Default Data Validation Help.xlsx

Basically, any time a new employee name is selected, I want default review begin and end dates populated to the data validation cells so that the dates don't have to be manually selected every time a new employee is reviewed.

View 2 Replies View Related

Data Validation When Introducing Values

Aug 11, 2009

- I type a number in a cell
- If the number is not a multiple of an adjacent cell, it will automatically do a ceiling to that number
- If it is a multiple it is ok.

View 13 Replies View Related

Data Validation - How To Get Only Unique Values

May 27, 2013

I have defined name in excel like:

Named: My_CARS
Refers to = My_Cars!$C$2:$C$100

Now in sheet2, I I'm doing in field A2 data validation and set up to Validatation Criteria as:
- Allow = List
- Source: = My_CARS.

But I have all values - with duplicates. How can I get only unique values?

View 3 Replies View Related

Data Validation Multiple Values - Without VB

May 29, 2013

I am trying to create a Data Validation drop down, that is based on contents of 2 different cells, without using VB. I tried doing this with an "if" formula, but it did not work.

Column F is a DV with a list for Area. I can use "=INDIRECT(F115)" to have separate ranges for column G, but I would like to use DV in column H, based on the values in F & G.

F
G
H
Area
City
Resource

[Code]....

View 5 Replies View Related

Data Validation For Repetitive Values

Feb 5, 2007

in data validation i have taken a list & assigned it to defined named range say industry ( 50 - 100 industries which are repetitive in nature)

now the problem is the data is neither sorted nor unique

but i want unique sorted data (i can not make changes in original data because of its other various linkages nested formulas)

View 3 Replies View Related

Data Validation List Depending On Other Values In Row?

Jun 25, 2014

Example:

Sheet: Users
Column A has "Yes and No"
Column B has "Names"

ex.
A B
Yes Peter Johnson
No Patrick Andersen
Yes John Smith

Now i would like to create a list in sheet [Employee] where one the users with Yes in column A is shown.
In this ex.

Peter Johnson
John Smith

No need to show yes or no.

View 11 Replies View Related

Conditional Data Validation: Show All Values

Jan 6, 2009

I need someone to go through them assigning a building number, level and location to each of them. I am using drop down menus, the first choice is building and has the following options:

B1
B2
B3
B4A
B4B
B5
B7

Depending on the option selected there maybe different locations, i.e. B1 has the following available locations:

1-4
4-16
MER
ALL
KIT

Whereas B7 only has: ALL. The third column, level, operates in a similar way.

View 3 Replies View Related

Substituting Multiple Values For Data Validation?

Jan 3, 2013

trying to substitute out values that i am using in data validation. From the sentence:

Consulting (Logistics, IT, Management)

I would like to remove the spaces, the (, the ) and the commas so that it reads:

ConsultingLogisticsITManagement

So that i can use it for data validation.

In the data validation box i am trying the formula:

=INDIRECT(SUBSTITUTE(substitute(substitute(substitute(c2," ",""),"(",""),")",""),",","")

But i keep getting told i have an error.

View 6 Replies View Related

Validation List To Change Columns Values

Mar 24, 2009

So I've got a drop down list in cell B73 That when I change the selection I want it to copy the cells below it (B74:B94) from one of the charts above it. Through the power of Google I found this: http://www.eggheadcafe.com/conversat...eadid=29484871, someone who had the same need as me, and edited it accordingly to my needs. It however, is not working. I started with Case 1-7 and changed them thinking they need to be the same as the list but that hasn't fixed it either. File is attached, and below quote is what the VBA coding currently says.

View 9 Replies View Related

Why Values Not In Data Validation List Being Accepted

Dec 14, 2011

I have several data validation lists that are driven by named ranges. These ranges include blank cells in order to allow for expansion of the list easily - without updating the named range itself.

Seems like because of these blanks rows...excel is accepting any value. The list is visible and can be used, but the user can also enter in a value not on the list. (when I remove the blank rows from the range, the validation works properly)

View 2 Replies View Related

Data Validation :: Display A List Of Values

Jun 4, 2006

data validation to display a list of values. The problem am facing is .. this list has a lot of names & it becomes difficult to scroll through when i need to search for a particular name.. Is it possible that when I press a key on my keyboard, the name starting with that letter is highlighted in the drop down list.. This is not happening automatically using data validation... Is there a work aorund for this?

View 2 Replies View Related

Data Validation Which Allows To Select Values From A List

Jun 8, 2006

I have data validation in cells A1:A50 which allows to select values from a list. There are about 50 items in the list that can be selected. Is it possible to have the user select an item only once i.e., if an attempt is made to select an item thats already selected it show an error message.

View 3 Replies View Related

Data Validation Based On Another Cell Value

Aug 20, 2014

I have already set up a data validation, if if you pick a region, you only get that regions items in the next column.

A
B
C
D
E

[Code]...

But what I would like to do is in Column E(for this example) have 3 extra lists for Location in each region. So if I pick S in A, then in E I only want the Southern options.

I have checked out this website, but I cant seem to work out how to add the third dependence [URL]....

View 5 Replies View Related

Data Validation Based On Cell Value

Jul 14, 2009

I am trying to set the data validation on a cell based on another cell value

So basically if the User enters say CAN in cell A2, cell B2 should use "listCAN" range as the data validation list

and if i enter US in A2, B2 should use "listUS" as the data validation list

View 6 Replies View Related

Formula Based On Validation List

Aug 17, 2009

I have a drop down validation list on sheet A that refers to my list on sheet B. I would like to formulate a cell on sheet C to give a value from a cell on sheet D based on which item is chosen from the validation list.

View 4 Replies View Related

Data Validation Based On Two Criteria

Feb 16, 2009

I need a data validation to prevent entries when they are > 50, but only if the value of another cell in col A is "Payment". The value of 50 is an example, I have another formula to get this number using VLookup.

The idea is that if the value of the cell in col A is "Income", I don't want the entry to be rejected. But if the value in col A is "Payment" or "Transfer" and > 50, I want the entry to be rejected (if I only have $50, then the payment cannot be > 50).

View 7 Replies View Related

If Statement Based On Validation List

Nov 12, 2008

I have a validation list list in column E "Check, Charge, Credit Card, Other". in another column i have what i thought was a straight forward IF statement: =if(E3="Check",9999,"[ ]")

It does not recognize "Check" as the condition. Is there a tweak i can do to get it recognize the data validation.

View 2 Replies View Related

Required Input Based On Validation

Jun 13, 2007

I have a form that when users hit submit, the data they entered gets transfered to Access (thanks to our MVP SydneyGeek for providing me with a macro!) I want to be able to limit or control the users who sends data, by making sure they enter every information that is needed.

I have a column that has a list using Validation. How do I make certain columns required based on what they choose on the list.. if they don't fill in those columns, I don't want them to be able to click Submit, showing an error that would say "Missing Required Fields".

View 9 Replies View Related

Data Validation Used To Create Separate Data Validation List

Feb 15, 2014

I have 2 columns First Name & Surname. What I want to do is create a data validation list on the surname which results in the 2nd data validation list only showing the first names which link to one of the surnames.

i.e. If I selected Smith in the 1st validation list then I would only like to see 'Paul' as an option in the 2nd list

First Name
Surname

Paul
Smith

Paul
Jones

Tony
Phillips

View 1 Replies View Related

Data Validation List With Static And Dynamic Values

Apr 24, 2014

Is it possible to have a dependent validation drop box that under certain conditions automatically produces an actual value in the cell instead of a drop-down list to choose from? For example, if I choose “Holy Avenger” in the first drop box, and the value for that choice in the second drop box is always a “2”, can you get it to auto-populate in the cell occupied by that 2nd drop box (cell B5 in the attachment)? Or, are you restricted to using Lists only, meaning that you could create a List that only has the value “2” in it, and the user would be required to choose the “2” in the drop box?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved