Add A New Column Of Data To The Results Displayed When Selecting From A Dropdown Box

Feb 3, 2010

I have a dropdown box to choose a category.
When the category is chosen it displays the relevant course names which corresponds to that category (this could be 1 course up to 10 different courses).
Along with that course name it gives the relevant course overview.

This works exactly how i want it to. (thanks to Zbor from a previous thread)

I now want to expand further and give the corresponding course objectives for each course that shows up in the results.

I have attached a workbook as its much easier to see the dropdown box working.

Sheet 2 is the working sheet and sheet 1 will contain all the source data.
I have highlighted the columns affected in Blue Blue column on sheet 1 will have the course objectives on the same line as the course they belong to Blue column on sheet 2 is where they will be displayed when the correct category selection is made.

The course objectives are unique to the course title and course overview.

View 6 Replies


ADVERTISEMENT

Auto-Populate Column Data From Source Sheet After Selecting From Dropdown List

Jan 11, 2013

I'm trying to make a spreadsheet that can be used to easily build a collective list of steps, for a user to read and follow line-by-line.

I want a source sheet of "steps" that I can change over time, and the resulting tabs that reference the source sheet get updated/populated automatically.

I've pieced together some VBA code from other sources, which kind of does what I want it to:

VB:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row > 1 And Target.Column = 1 Then
Dim SourceSheet As Worksheet
Set SourceSheet = ActiveWorkbook.Sheets("Steps")
Dim TargetSheet As Worksheet
Set TargetSheet = Target.Worksheet
Dim c As Integer
Dim Source As Range

[Code]...

But there are some problems:

1) The data auto-populates into a row. It would read better if each step was in the same column, meaning rows would need to be automatically added upon selecting something from the drop-down list. The number of rows that need to be added vary based on the number of steps in the source sheet, for the selection made from the drop-down list.

2) If you make a change to the source sheet, my goal is to have the other sheets referencing the source sheet's lists of steps update automatically, so you only need to update the steps in one spot and everything you've built from them gets updated instantly. Currently, you must select a different choice from the drop-down list, and then change it back, before it populates the "new" steps from the source sheet.

This is my first time using VBA.

What I have so far is attached: testAutoPopulate.xlsm

View 2 Replies View Related

Code That Automatically Run After Selecting Item In Data Validation Dropdown List In Column C

Oct 12, 2011

I have a dropdown list in C24:C50 (=CategoryList) with data validation and a sub list in D24:D50 (=ItemList) with data validation. I am looking for a way to have code automatically run after selecting an item in the data validation dropdown list in column C.

Example; I click on C24 and make a selection. I what it to trigger code that would move me to D24 and open up the data validation list in D24. After the selection in D24 I would like it to move me back and down 1 row to C25. I have not found anything directly related to this but I have found that code can be run after a selection in a valadition list.

View 2 Replies View Related

Row Of Data Displayed For Dropdown Selection?

Jul 27, 2014

I have created several records, each record is in it's own row. I'd like for the row to be displayed if the name of that row is selected in a drop down. How can this be accomplished? I've attached the spreadsheet to show my current progress. When a player is selected in a drop down, I would like for that players record to be displayed below the drop down.

UFC.xlsx

View 4 Replies View Related

Selecting All Data In Specific Columns Without Selecting Adjacent Column

Mar 10, 2014

Using VBA, I need to Select A1:C14.

The problem is that A1:C14 contains blank cells, and there is also an adjacent column D that I do not want to copy.

So, UsedRegion and CurrentRegion aren't doing it for me. (It selects Column D too.)

Obviously, this is an example...the real data set is an export and varies in size.

View 1 Replies View Related

Selecting Data From Multiple Tabs Based On Dropdown Selection

Apr 10, 2013

I have 5 cities and each city has a set of data in separate tabs. Right now i have data pulled for all 5 cities in a single sheet but its too cramped up..

I want to use a drop down list (data validation) and if any of the 5 cities are selected in the drop down, the data from that particular city (tab) should be pulled up. This way my sheet size will be reduced 5 time which will look good.

A common v lookup wont work because the data has to be pulled from 5 different tabs for 5 different cities.

View 2 Replies View Related

Can Abbreviate What Is Displayed In A Cell When Using Dropdown Menu

Jul 29, 2013

Is it possible to display only one character when using drop down menu? For example, if the drop down choices are A=...., B=...., etc., is it possible to only display the A or B in the cell after you've made your selection?

The purpose of this spreadsheet is to obtain data that will be entered into an application. So it would be very useful if it could be printed on one page - and the columns only show A, B, C, etc. Also, as it is now, the spreadsheet is difficult to work on because there is so much visible text.

View 1 Replies View Related

Excel 2010 :: SUMIFS Formula That Produces Desired Results Until Get Last Qualifier Displayed In Red

Feb 15, 2013

Excel 2010

I have the following SUMIFS formula that produces the desired results until I get the the last qualifier, displayed in red:

=SUMIFS(JBHAMOUNT,JBHMONTH,C18,BNSFCATEGORY,B20,BNSFLOCATION,"Alliance")

The result of this formula is: #VALUE!

View 2 Replies View Related

VBA - Selecting The Last Cell In A Column With Data

Oct 6, 2008

I am trying to write some VBA code to select a range in a column going down to the last item in the column.

So I want to write a macro that will copy cells B4 - B17 into cells A4 - A17 but am having trouble with the code that will select B4 - B17. When I use the usual code which is as follows:

ActiveSheet.Range("b4", ActiveSheet.Range("b1").End(xlDown)).Select
it selects down to A75, and I know why this is but not how to fix it.

This is raw data extracted from a third-party system. It has an option to export to Excel, but where it appears to have blank cells Excel actually believes there is data in there.

So is a way to identify what data Excel thinks is in there and perhaps use this to be able to select the range I want?

Different extractions will need a different range moved over - however it will always start at B4 and go down to B-whatever.

View 9 Replies View Related

Selecting From Website Dropdown Box

Aug 3, 2012

I'm attempting to familiarize myself with pulling data from an online database into spreadsheets for manipulation. I'm relatively familiar now with pulling tables using webquery, etc. but my next feat is accessing data from sites which require some "input" before retrieving the desired data set.

Currently, I have a site which contains information and prompts for the "year" of information in a dropdown box. I've attempted to do this as indicated below, and was able to "select" a year, however the page doesn't load the data like it would if I were to manually click on it.

Sub GetEmissionsData()
Dim ieApp As InternetExplorerDim ieDoc As ObjectSet ieApp = New InternetExplorer
ieApp.Visible = True

[Code] ........

Separately I've tried setting the year using another method, but this just give an error

Sub GetEmissionsData()
Dim ieApp As InternetExplorerDim ieDoc As ObjectSet ieApp = New InternetExplorer
ieApp.Visible = True

[Code] .......

I'm not sure if the error is due to some issue with my code - or if "Label1" isn't the correct label for the dropdown / combobox on the site. I didn't post the site source on this page - but the URL indicate in this post is the one I'm interested in.

View 4 Replies View Related

Column Matching And Selecting Offset Data / VBA

Jul 23, 2014

Attempting to match values in column E with column G and insert the corresponding number (column H) into column F See attached workbook for example.

Hoping to do this using VBA, not just a VLOOKUP.

The code below, places 0 values into the correct rows of column F, instead of the correctly associated value.

Attached file: Macro Match question.xlsx‎

View 4 Replies View Related

Selecting Non-Contiguous Cells Containing Data In A Column

Feb 25, 2014

I have a column that has mostly empty cells. I want to select only the ones that have data so I can perform an operation on all of them. Empty cells must be excluded from selection. I do not know where the bottom of the data is.

The solution needs to be in VBA where it is part of a larger macro affecting the user's worksheet.

View 7 Replies View Related

Selecting The 2 Last Values In A Column Of Data With Range

Jan 23, 2007

I m trying to make a button to add values to another sheet in my xls. Ive done that... now i try to autofill the percentages from left and above one row....

View 9 Replies View Related

Selecting Dropdown List From Webpage Using VBA

Jul 22, 2014

I am trying to select dropdown list from webpage dropdown button

Below is the html code I am looking at:

In the above code, i want to get the dropdown value into excel sheet

below is the code i m trying to use but not working.

Set ElementCol = objIE.Document.getElementsByTagName("Select")

ElementCol.getElementsByTagName("option")(1)

View 4 Replies View Related

Selecting All Visible Text (and Results Of A Formula) On A Page?

Nov 9, 2007

I know you can select all cells with a formula.

I know you can select all cells with constants

What about selecting all visible text (and results of a formula) on a page?

View 9 Replies View Related

Dropdown Box For Selecting A Category And Displaying More Than 1 Result

Jan 22, 2010

I have a list of questions that need to be filtered by the user and i was looking for an effective way to do it.

Column A is the question number
Column B is the Question Category
Column C is the actual question.

The user wants to use a dropdown box and select the question category. the results they will get are the question number and the question. there may be several questions within a category so all questions need to be displayed for the category that is selected.

(I havnt explored the use of a list as it gives the user the chance to display all the questions and i am trying to keep the viewing space that this list takes up to an absolute minimum). Also i have mentioned a dropdown box as these are very familiar to the user and so they could use it without the risk of user error. I have attached a list of the questions.

View 5 Replies View Related

Show Values In Excel By Selecting From Dropdown?

Oct 15, 2013

I have set of data in excel which is basically a table of workload and I need to be able to select someones name from a dropdown list and all the other names are removed.

I've attached a screen shot of an example, I want to be able to select any name from a dropdown e.g. Select Trevor and then only cells which contain Trevor are shown (i.e. the other names disappear). BUT all the jobs 1-10 and Stage 1-3 have to stay even if Trevor doesn't work on them.

Screen Shot 2013-10-15 at 16.44.12.png

View 2 Replies View Related

Selecting/changing Multiple Dropdown Boxes At Once

Feb 20, 2008

I'm working with Excel 2002 on Windows XP.

I want to select more than one drop down box at the same time, and copy them as well as rename the cells they refer to.

For example: in A1 there will be a box with LinkedCell set to A1 and ListFillRange set to B1:B5. I now want a similar box in A2, with A2 as LinkedCell. However, when I copy past the box in A1, it still refers to A1 and B1:B5 (the last part is ok). I can easily change A1 to A2 by just changing it in the properties, but the thing is that I also need these boxes in A3:A100. Is there any faster way of changing this?

Also, the ListFillRange might expand in the future. Therefor I would like to know if its possible to select the boxes in A1:A100 and change the ListFillRange to B1:B6 for all at once.

View 9 Replies View Related

Excel VBA - Selecting Dynamic Range From Multiple Column Data

Feb 11, 2014

Selecting the range from Multiple Column data.

Currently, it is:

[Code]....

I have data from columns A:E

View 4 Replies View Related

Auto Call A Procedure By Selecting From A Dropdown List

Oct 30, 2008

I have a worksheet with a Drop Down list (Set up with Data Validation).

All I want to do is a call a procedure when a particular option is selected from the list, without have to run the macro manually.

View 7 Replies View Related

Dependent Field Not Made Visible On Selecting Dropdown Value

May 31, 2013

In my IE site there is a field which is a dropdown field with the value 'Not Known' and 'Specified Date'. If I select 'Specified Date' another field named 'Date' becomes visible where I can give a date. I was able to ensure that the value 'Specified Date' is selected using the following statement:

IE.document.GetElementById("startDateBasis").Value = "SpecifiedDate"I also was able to populate the date field with the statement:
IE.document.GetElementById("startDate").Value = SOA

Where SOA is populated with the date string I need to be given as input in IE.

My issue though is that, eventhough the data is provided by the macro the field 'Date' is not visible. So I have no way to know if the input was succesful until I submit the screen. I think I read somewhere that this is because of the way datebasis is populated.

How to get the field 'Date' made visible if datebasis is given as 'Specified Date'?

View 1 Replies View Related

Selecting Multiple Cells To Fill From Dropdown List

Apr 1, 2014

I've made a drop down list and when I select multiple cells and choose from the drop down list, it only fills one. Here's pictures:

So in that first picture, I've selected multiple cells. But when I drop down the menu and click my selection, this happens:

Why is it that all the cells I've selected does not fill with the option that I chose from the drop down. I highly doubt that I have to manually click all the ones I want to fill with what I choose from the drop down list.

View 1 Replies View Related

Selecting Named Range From Dropdown Validation List To Use In Formula?

Jan 18, 2013

Basically on a summary page, on sheet 1 say I have a formula which picks up the unit cost (I have this as an array across 5 years)

What I then want to do is multiply this by a volume driver. I have a list of these drivers on a seperate page, so for convenience lets say DRIVER_01,DRIVER_02 etc. These are also 5 years arrays.

So what I want to do it be able to select which driver I want to use for volume on the summary, from a drop down box I have set up, and then the formula pick up that named range, and not just recognise it as a text cell.

I need the ability to change the driver in the future, hence the drop down box. I can also get the unit array part to work fine, I'm just struggling to get this driver array to work..............

View 2 Replies View Related

Lookup Data In Array, Results In Column 1

Feb 23, 2009

I have a table of data with years in row 1, week # in column C. The data array is from C2:O34.

I want to find the max value in each year column, then look up that result and return which week that value occured.

Is there a vlookup that allows you to specify which column of the array has the lookup value and which has the lookup result?

View 3 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

Formulas Based On Results From Dropdown Menu?

Dec 23, 2013

I am building a sheet that facilitates managers at our company decipher information that is given to them on a daily workbook I created.

I want to have a drop down menu in Col J, that refers to the major questions they will ask.

Time started (Before)
Time Finished (After)
Number of Cards (More than)
Stops Per hour (more than)
Amount of Time Taken (More Than)

I have set up in Col (K) a secondary drop-down list which based on the question selected in (J) will offer options for the answer E.G Time questions will make (K) refer to options based on time and selections based on amounts will offer numbers as an answer.

The elements in brackets are the parts of the formula that create the search option. E.G If select 'Time Started' it will search for all records that started before the time selected in the next col (K)

Right if that makes sense.. I have completed this. so I have the following: A question drop down list in (J), and an answer drop down in (K) which is dependant on the type of question asked. (I have attached an example)

I want to now have a totals box after the question where it displays a total amount of cols that are true to the details in the question.

After that (if possible) I will want to use conditional formatting to highlight the ones that reflect to the question.

Realistically if possible i wouldnt mind creating a question box, a box that allows them to select 'more than', 'exact' or 'less than' and then the specific value. Basically a conditional formatting box for dummies within the worksheet. Attached is a demonstration.

View 5 Replies View Related

Create Dropdown Menu That Results In Values?

Aug 12, 2013

I need cell d4 to display the number in column b next to the applicable insurance company when the insurance company is selected from the drop down menu in cell c4. How do I do this?

View 4 Replies View Related

Generate Complete Results Using All (each) Item In Dropdown?

Jun 26, 2014

How I can generate a summary of model outcomes utilizing each of the items in dropdown list... The dropdown selections reference unique input scenarios to a corporate finance model. I need to share the collection of the model outputs (revenue, EPS, etc.) from all the unique scenario input options. Currently I select Scenario 1 in the dropdown, then cut-paste values of the generated results table into a separate worksheet section labeled "Results 1", then select Scenario 2 and paste "Results 2" values, etc. etc.

Is there a method by which to automate running through the dropdown selections and extracting the scenario results?

View 2 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







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