Dropdown List Displaying Multiple Results - No Functionality If Worksheet Is Protected

Nov 28, 2013

I wanted to create a multiple drop down lists (using data validation) in column B (50 in all, every 3rd line) whereby, multiple, comma deliminated, results would display in each of the cells - for use elsewhere in the spreadsheet.

I found some code (as follows) which worked perfectly for me

VB:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rngDV As Range
Dim oldVal As String

[Code].....

As I mentioned above, I don't really understand the code and all I know is that the line about halfway down "If Target.Column = 2 Then" is defining which column (B) this will work in.

The problem I am having is that I need to protect the worksheet and the moment I "protect" the worksheet, the functionality of displaying multiple values goes away and the drop-down list reverts to only displaying one of the available values.

View 9 Replies


ADVERTISEMENT

Displaying And Returning Different Value In Dropdown List

Apr 22, 2010

I know how to create drop down list but I have a problem to Return different value then is displayed in Dropdown List. For example: On the workbook I have two wokssheets: one with empty cell and secound with list created for dropdown list.

On the secound woksheet I have created: column A namebox "Country" - cointains full name of countries (Great Britain, Australia ...) and column B namebox "CountryCode" - contains country codes only (GBR, AUS ...) When I click on dorp down list on first worksheet, I would like to my drop down list display me list with columnA "Country" but when I choose one of that it would returns me cell from columnB "Country Code".

View 14 Replies View Related

Displaying Multiple Results With VLOOKUP

Dec 8, 2009

Hi, I'm sure this will be an easy one for most of you. I need to extract data from an array for each time I have recorded a specific vehicle registration. I have used VLOOKUP but this only gives me one result. I need excel to display every enrty for the registration I am looking for. I have attached a sample file which should make more sence.

View 7 Replies View Related

Displaying Dashboard Information With Validation Dropdown List?

Jul 5, 2014

I have a project I'm working on that requires me to display information from various sheets on a dashboard. I have created a data validation dropdown list with part numbers. When one of these part numbers is selected from the drop down list I need the rest of the fields to populate with the appropriate information from various sheets in the workbook. How do I tell the dashboard to display this information per part number?

see the attached workbook.

Mini-Project Wally Mart (B212-10).xls

View 5 Replies View Related

Feeding Dropdown List Results Into Different Spreadsheet

Jun 25, 2014

I have to create a series of drop down lists with choices on it for people at the company to fill out to see how much time they spent on each type of project. The plan is to have people fill out a "daily form" to see how much work they did that day, and have the results of that feed into a "monthly form" to sum up how much they worked that week. One of the aforementioned drop-down lists have them choose between three categories of work, M, N and B.

I have to make it so that in the monthly form, the results from the daily form segregate themselves into the different M, N and B tables in the monthly sheet. To make it more clear, on the daily sheet, there is just one huge table. For each row, they are to input what type of work they did, how long they worked, etc. On the monthly data table there are three different tables, one for M, one for N, and one for B. I want to have the entries from the daily spreadsheet to feed themselves into one of the three tables in the monthly spreadsheet depending on whether M, N or B was chosen.

View 1 Replies View Related

List Displaying Data In Multiple Cells Based On List Selection

Jun 24, 2009

I am trying to create a drop down list that when selected will display data in the 10 rows below and 4 columns, so a total of 40 cells. I would like the data to be based on the selection in the drop down list.

The data looks like this,
RequirementsQtyResourcesQty
Level 1 Sentinel10Level 1 Sentinel105
Level 2 Sentinel10Level 2 Sentinel167
Level 3 Sentinel10Level 3 Sentinel156
Level 1 Banga20Level 1 Banga401
Level 2 Banga20Level 2 Banga307
Level 4 Banga20Level 4 Banga0

i have 27 different combinations of the above list with up to 10 different rows. I have a label for each one, but i cannot get the rows below my drop down list to display the proper values base don the selection in the drop down list.

View 8 Replies View Related

Dropdown VLookup Menu Returns Multiple Results?

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

How To Get Multiple Dropdown Lists To Populate Results In Named Cell

Sep 28, 2012

I was just given a task at the office of creating a in depth excel spreadsheet. Here is what I need:

I have one drop down list that represents the state a person lives in.
I have another drop down list that represents the the type of property it is.

If you select CA in drop down 1 and Multi Family in drop down 2 you get the end result in (specific) cell.

Then if you select AZ in drop down 1 and SFR in drop down 2 you get different end result in named cell.

How can I get items within 2 different drop down list to call up the end result in a 3rd cell?

View 1 Replies View Related

Autofill Cell Based On Results Of Multiple Dynamic Dropdown Lists?

Aug 25, 2014

how best to do this (bare with me I'm not quite a pro at excel yet!). I'll attach my doc (JMP Excel Forum) so you know what I'm taking about. I've set up the data to work in a similar way to this, as you can see I've a table set up (Appliance Sheet) which feeds information to the Main Sheet which contains the drop down lists.

What I need it to do is autofill the wattage column (Main!F8 onwards) with the wattage for the device as described in Appliance!N3 or N4 for example. For the wattage column to equal 28 (equivalent to Appliance!N3) then the following would show in the dropdown selections Type>Computers SubCategory>Monitors Device>BENQ G2222HDL Status>On

Is there a way to do this with the set up I have?

I did have a previous version of the whole worksheet that each Device had its own table and I looked up the wattage using and If formula to lookup a info on the device and knowing where to look it up based on the subcategory

=IF(ISERROR(VLOOKUP(D7,IF('Main UI'!C7="Heating_Cooling",Appliances!$A$7:$B$14, IF('Main UI'!C7="Kitchen_Bathroom",Appliances!$A$16:$B$27,IF('Main UI'!C7="Monitors",Appliances!$A$52:$B$62,IF(C7="Computers",Appliances!$A$64:$B$68,........

And I got it to work but it was getting to cumbersome to add in new devices and update the formulas. If attached that doc (OLD) so you know what I'm talking about. The last two sheets are the same sheets that make up the new document (JMP Excel Forum)OLD.xlsm

I really prefer the new way I've got it set up. Its easier to add new information or options to the dropdown list

View 2 Replies View Related

Excel 2007 :: Chart That Reads Results Of Multiple Dropdown Boxes?

May 25, 2012

Using Excel 2007

I have six colums (Date; Skill; ST Hrs; OT hrs: Area; Type). I copied and pasted below a small portion of info from the spreadsheet. I know when I copy and paste into a post the information under the headers don't line up exactly...it appears offset, so basically "Date" is of course the date you see..."Skill"'s columns has the first item as nb-mech b..."ST Hrs" first item will be 0.00..."OT Hrs" will be 1.50...."Area"'s first item is "Log FM NO"....and "Type"'s first item is MX07

And there are 17,000 rows of this info and forever growing...a lot of repeated items in each column such as you can see "blaster" has multiple entries on 4/1/2012.

What I am attempting to do which I have not firgured out yet (i have tried array formulas but they bog down the pc forver and couldn't figure out exactly how to make it give me the results I needed...and I also tried sumproducts but that didnt get me what I wanted....and it is being requested of me to NOT make a pivot table but a chart.

What I am trying to create is is the following:

1 - cells to plug in a date range for example cell A1 I plug 4/1/2012 and cell A2 plug 4/30/2012
2 - drop down boxes for columns Skill; Area: Type, which show only unique records in each column

Once I have that, I could then filter all 3 itmes and have only items show in the date ranges I picked and present ONLY the SUMS of columns ST Hrs and OT hrs.

Once the SUMS show up, I can then have cells off to the side that will give a percent break down of what percent of the total hours (for the chose criteria) are ST Hrs and what percent of the total are OT Hrs....and this percentage break down will show up in a Bar Chart, per day chosen in my date ranges....I'm thinking one simple stacked bar per day in the chart.

So say, based on the info below, I wanted to see the total ST Hrs and OT Hrs from 4-1-12 to 4-2-12 for a nb-blaster in LOG FM NO and type MX06.....my result would be 0.00 ST Hrs...23 OT Hrs.....and my bar chart would be one simple bar peaked out at 23 on day 4-1-12.....and within the bar it would be 0.00% ST Hrs and 100% OT Hrs and maybe the total hours for each showing also..don't need that but it may be useful.. ..and no bar for 4-2-12 (because the criteria picked had no hours for 4-2-12)

I have been messign witht is all week and just can't nail it.. I do remember a while ago I would have been able to load the spreadsheet into the post and people could see it in excel...is that option to do that no longer on this site?

DateSkillST HrsOT HrsAreaType
4/1/2012nb - mech b0.00 1.50 Log FM NOMX07
4/1/2012nb - scaffolding0.00 8.50 Bogs NOMX02
4/1/2012nb - coatings mech b0.00 3.00 Log FM NOMX07

[Code].....

View 5 Replies View Related

Delete Multiple Rows Protected Worksheet

Apr 4, 2007

Is it possible to delete multiple rows when the worksheet is protected using vba? For Example Peps - Select a undetermined amount of rows and then use a macro to unprotect - delete the selected rows - protect.

View 5 Replies View Related

List Values From Multiple Columns In A Dropdown List

Dec 17, 2012

how to list values from multiple columns in a dropdown list based on lookup value of 1st column as below.

This is how the table looks like.

Product MOLD1 MOLD2 MOLD3
4" AB1 AB2 AB3
6" ZA2 zd4 -

This is how the dropdown list should look like for Product 4"

ab1
ab2
ab3

View 6 Replies View Related

Create A Dropdown List From Another Worksheet

Nov 3, 2008

I am trying to figure out how to create a drop down list on one page of a workbook with the list of items for the drop down list located on a separate worksheet within the same workbook.

I have a workbook with one spreadsheet with a list of items on it (sheet1/ingredients) and the rest of the worksheets would have the drop down list of items from sheet1/ingredients.

I have been trying to use the validation method with no luck - I just can't seem to get the source path right.

If possible I would also like the drop down list of ingredients to be self updating - the ability to continue to add items to the list and show up in the drop down lists.

When the value in the drop down window is selected I would really like / need to have the data populated in the rows to the right of the drop down window.

While asking is there any sort of auto complete so that one can start typing in the box and the ingredients that start with those letters show up to select from? (Such as if type EVA or EVAP --- then all words starting with EVA or EVAP appear instead of the entire list?)

View 14 Replies View Related

Worksheet Macro Using Dropdown List

Aug 5, 2014

I am trying to build my first worksheet macro. I have a dropdown list in a worksheet "Active Email" with "Yes" and 'No". When Yes is selected I want to cut that entire row and paste it in worksheet "Archived Emails". I feel I am close with the code but when I select the word from the dropdown, nothing happens.

Here is what I have so far.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 5 Then
If UCase(Target.Value) = "Yes" Then
Target.EntireRow.Copy Destination:=Sheets("Archived Emails"). _
Range("A" & Rows.Count).End(xlUp).Offset(1)
Target.EntireRow.Delete
End If
End If
End Sub

View 2 Replies View Related

Macro To PDF Worksheet From Dropdown List?

Jan 12, 2013

I have a workbook that has 20 or so sheets that all roll into a summary statement via vlookups/sumifs/and other formuals.

Currently have around 300 vendors that need to have statements PDF'd which I currently do one-by-one.

Input range: VendorCounts$B$2:$B$1500
Cell Link: $C$1

Print area: A3:P437

Would like to PDF from print area each of the vendors in the drop-down list and save file to a designated location with the file name being the vendor name in the drop down window.

View 8 Replies View Related

Search Result List (grep-like Functionality)

Aug 31, 2006

how to create a simple form that would search a sheet for a word and display the list of resulting rows - something similar to Adobe Reader 7 Search functionality ?

If I was having administrator privileges on this PC, I would simply install Cygnus and use its "grep" command on a CSV file but without that possibility, it's rather cumbersome to search an Excel sheet when you need to do it repetitively, and I need to locate a specific row each time without knowing the exact content of the cell (only searching for one or another word I know the cell contains).

View 9 Replies View Related

Protect Worksheet Without Affecting Macro Functionality

Oct 15, 2008

I've attached an excel invoice template I've been making for our company. I'd like to protect all the cells except A12:H42, C8, B9, G4 and I44. The problem is, if I protect the worksheet (with these cells unlocked) then it won't let me run the macro (for inserting new rows for extra products).

View 5 Replies View Related

Copy Data To Worksheet From Dropdown List

Apr 5, 2013

I have a grade book with 17 worksheets 1 for each subject = each of the sheets are identical with the students names in col B and the data is entered manually in the corresponding cols along side the names.

What I would like is a vba solution to enter the data in a worksheet called 'datainput' = which would be identical in layout as the above subject sheets= and by the use of a drop down list with the names of the 17 subject sheets = copy the data in the 'datatinput' worksheet into the next available blank col in the worksheet selected from the drop down list=and with a command button erase the data in the 'datainput' worksheet ready to enter new data.

View 9 Replies View Related

Dropdown List Triggers Worksheet Change

Apr 26, 2007

Trying to create a dropdown list to navigate to another worksheet . I tried iterations of the following code but am getting an 'object required' error.

If I can't assign the result to a string, how can I change the worksheet from the result of the dropdown list?

Sub DropDown7_Change()
Dim temp As String
temp = ActiveDocument.FormFields(“DropDown7”).Result
Sheets(temp).Select
End Sub

View 9 Replies View Related

List Multiple Results From Lookup On A Different Sheet?

Aug 28, 2013

I need to start a list in cell a8 on sheet1. I need it to find and list multiple results vertically. It will lookup what is in cell a1 on sheet1. The table of info is on sheet2 from a1 to b44. Column a on sheet2 has the values of what is in column a on sheet1 and column b is what I need returned to the cell with the formula.

View 3 Replies View Related

VLOOKUP Multiple Results In A Drop Down List

Feb 12, 2009

I am using the VLOOKUP function to pull multiple columns of information from another sheet in the same workbook based on a name. The sheet it is pulling from is a query. I am looking up product names, and in the query there may be multiple results that the function can find.

VLOOKUP only returns the first result that is found. What I am trying to do is get it to dump all the results into a drop down list in one cell. If I attach a drop down to one of the columns of information I am retrieving, then I can select which of the entrys to display, right? I think this should work I just don't know how to go about setting it up to do it.

How would I set up a VLOOKUP formula that attaches a drop down list containing all the results that the function finds?

View 7 Replies View Related

Automatically Color Worksheet Tab Based On Dropdown List Selection

Nov 21, 2012

I am new to VB macros, I am trying to figure out how to color a tab Green based on a selection from a drop down list.

View 9 Replies View Related

Autofilter Data Based On Cell Value (dropdown List) In Different Worksheet?

Apr 5, 2013

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.

View 2 Replies View Related

Dropdown List From Multiple Columns

May 28, 2013

I am trying to make a single drop-down list which contains values from two columns.

I should give you the example immediately:

NAME | SURNAME (these are two columns)
Jon | Alfa
Karl | Beta
Lilly | Wolf

And the drop-down list should look like this:

DROP-DOWN
Jon Alfa
Karl Beta
Lilly Wolf

I have already tried to solve my problem with data validation but with no success.

View 2 Replies View Related

Dropdown List With Multiple Values?

Sep 17, 2013

I am trying to create an excel spreadsheet that calculates nutrition based on a dropdown menu. The values would change depending on the formula selected. How to I pull the data from sheet 1 and bring it in sheet 2 in order to calculate protein, carbohydrates and fat content. I have attached a copy of the excel spread sheet.

View 4 Replies View Related

IF Function And Displaying Results As Words?

Jan 18, 2014

I am having trouble with some formulas displaying the results of the logical test as words.. For example.

=IF(E4>F4,100, IF(F4>E4, 200))

That works perfectly but I want "100" to be "Valid" and "200" to be "Invalid"

However...

=IF(E4>F4,Valid, IF(F4>E4, Invalid))

only results in the #NAME? error for me?

View 3 Replies View Related

Vlookup Formula Is Not Displaying Any Results

Dec 18, 2009

i put in a vlookup formula and it doesn't display any results, it just diplays the formula with the = sign in the cell. it does that with any formula i enter. i tried hitting it and everything.

View 4 Replies View Related

Displaying Search Results (filtering?)

Oct 2, 2009

I have two worksheets in worksheet 1 I have a bunch of data and I want to be able to filter out to only include relevant results.

Eg. If I search for 'Dog' I want search column A in another sheet and find all full and partial matches then display the entire row of each of these matches.

View 6 Replies View Related

Loop And Displaying Results While Running?

Nov 11, 2011

What I am hoping to accomplish is have cells D3 & E3 display the numbers being cycled as it cycles through the loop statement. Current code is below.

Private Sub CommandButton1_Click()
Dim iRnd1 As Integer, iRnd2 As Integer, n As Variant, strJustice
Dim Counter 'tf

[Code].....

View 5 Replies View Related

Multiple Matches In Array (one Or Two Criteria) And List Results

Sep 15, 2014

I have used INDEX/MATCH/ROW/SEARCH functions, in different permutations, but I am unable to get the result. The data set is something similar to the below:

Car
Region
Own
Use
Color

Honda
North
Yes
I use it to go for work
Green

[Code] .....

I want to be able to do following (2 separate tasks):

Task 1 (if in A1 on a new sheet, I had Use, i want to list all the items in an adjacent column, skipping the blank rows)):

Use

I use it to go for work

Family trips
Weekend fun
2nd car
Work

Task 2 (if i had Honda (A2) and North (B2), I want to have the colors listed in Column 3):

Car
Region
Color

Honda
North
Green

White

I know this can be done by an auto-filtering or manual sort, but I have work with thousands of similar data on a regular basis, and i want to find a formula that will allow me to list the items based on different criterion.

View 2 Replies View Related







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