Selection Of Dropdown Populates Remaining Columns

Feb 27, 2007

I have an excel spreadsheet that has several fields which should be connected. If one of the fields is selected via a drop down, then several other columns should autopopulate with the data in the list set up on another page. What Im trying to figure out is:

1) How do I make it so it does this with every row on the spreadsheet? I've seen code in the formula bar so that it works for one row, but I need it to work regardless of how many rows are added to the sheet...

and

2) Is there VBA code so that if someone selects A value from a drop down list in, say, column F, that data corresponding to that selection is placed in other columns in the sheet?

View 2 Replies


ADVERTISEMENT

Dropdown List That Auto Populates 2 Fields?

May 12, 2014

I am currently building a sheet that requires a drop down box that will auto-populate two separate fields. I have tried to the point of being suicidal to make this work but to no avail.

A detailed explanation:

The worksheet containing the drop down list and fields that need to auto-populate.
sheet example.png

The raw data, located on a separate tab in the same workbook. (Note: there are over 1500 rows of data)
sheet example 2.png

The drop down box will be in the "Description" column and will contain a list of services my company provides. Once selected it will auto-populate the "Rate" column and the "Item ID" column. The raw data that the list is pulling from is located on a separate tab.

I can make the list just fine, it's easy enough to just go to the Data Validation feature and point to where you want the list and where you want the data to come from, but getting the list to pull the data from different columns and go into the columns on the work sheet is apparently beyond my knowledge of excel. I figured it would just be a simple formula setup through the VLOOKUP formula wizard but I've tried it at least 20 different ways, all of which fail. I've tried HLOOKUP too but it also failed.

View 8 Replies View Related

Dropdown Lists Data Went Selected Won't Show In Next Dropdown Only Remaining Data

Mar 11, 2013

I am trying to pull data from more than one drop down but don't the same data to show if already use, example as follow:

First drop down Contains:- Pants
Shirts
Hats
Shoes
Dresses

if I chose Hats it should not show up in the second drop down

second drop down Contains:- Pants
Shirts
Shoes
Dresses
Is this done in data validation or combo Box? if so how?

View 2 Replies View Related

Create Dropdown List Using Data From Different Worksheet And Auto-populate Remaining?

Sep 11, 2013

I have two worksheet. One worksheet is a form where in the Field Door No. should be a dropdown list. The list will be retrieve from worksheet Source. Now upon selecting a specific Door No. it should also autopopulate the respective Type, Brand, Serial No., and Type.

First thing i need to know is what should i do on Cell B1 worksheet Form for it to be a drop down list retrieving the Column A on worksheet Source.

Second, upon selecting for example ATC0009 on the drop-down, it should auto-populate like these

Door No. ATC0009
Type AT Crane
Brand A
Serial 43679
Type Crane

View 14 Replies View Related

Dynamic Dropdown List And Calculation Number Of Working Days / Weeks Remaining

Oct 30, 2013

I'm currently trying to set up a sheet ...

When setting up a Direct Debit There are 3 options, the 7th, 17th and 27th. I've put these into a drop down list. I need this list to be slightly dynamic. I must allow 10 working days from the date of the arrangment before I can apply the DD.

To explain further. If someone were to want to set up a DD and spoke to me today. If they then requested the DD be taken on the 7th, I wouldn't be able to set it up until the 7th of December as 10 working days are required. I'd like the list to reflect this. I can do it in OO with a simple if / switch but excel is a strange creature and I'm not sure how to approach the problem.

From that I think I also need to calculate the number of weeks remaining in the current financial year. I think I should be able to do this by using the Today() function and some maths.

View 1 Replies View Related

Drop Down List: Looks At This Range And Then Populates This Information Into Columns

Oct 26, 2009

I have a 5 row list in WA2. Each row holds its data across 3 columns i.e A1description, B1 product code, C1 unit cost. In WA1 I want to have a drop down table in cell B3 that looks at this range and then populates this information into B3, C3 and C4. I have tried data validation but it keeps telling me that it can only look at a single row or single column

View 2 Replies View Related

Dual Column Dropdown Where Only One Column Populates The Cell

Apr 19, 2012

I've been trying to solve with a 2 column drop down. What I am hoping to do is use two columns to aid the user in selecting the correct entry. So the first column will be a number and the second column would contain what the number means

If:
Col1 | Col2
001 | Horse
002 | Cow
003 | Dog

Both columns show when the list is selected, but when the user selects 003 | Dog, the cell would be populated with only the 003.

View 1 Replies View Related

Displaying Input Box Based On User Selection Of Dropdown Selection?

Jun 3, 2013

If a user selects certain options from a drop down list created by cell verification (from list), is it possible to display an input box and have the resulting input populate on another worksheet in the workbook? I have an attendance template I'm working with and if a user selects OT (Over Time) then a input box is displayed prompting for how many hours. The overtime is then tracked on another worksheet.

View 1 Replies View Related

How To Delete Columns And Then Add Column Header To Remaining Ones

May 15, 2014

So I want to add some VBA Code that deletes specified columns and then insert Bolded Column headers to the remaining columns. The columns I want deleted are D,F,I,J,K. For simplicity purposes, the column headers would be A,B,C,D,E,F,G.

I tried using Columns("D,F,I,J,K").delete but I kept on getting 13 error.

[Code] ......

Attached File : Test VBA File.xlsx‎

View 3 Replies View Related

Dropdown List Selection

Jan 30, 2007

I am trying to make a spreadsheet where I use a drop down menu for several of my vendors. When I select the Vendor's name from the drop down menu (for example in A1), I would like A2 to display that vendor's phone number. But when I switch vendor name from drop down list in A1, A2 would need to reflect the new vendor's contact info.

View 7 Replies View Related

Dropdown Menu Selection

May 1, 2013

How to create a dropdown menu to pick from two selections?

Basically, I have a 'Status' column and the status will always be 'Open' or 'Closed' and I'd like you just to be able to click a cell in that column and select one or the other.

View 2 Replies View Related

Selection From Dropdown Changes Another Cell

Nov 21, 2013

I have a a sheet with a drop down, if the selection of Critical in the drop down (A57) is selected, i need E57 to have a message saying we need to elaborate on the explanation or when critical is selected a popup with NEED TO ELABORATE in the description comes up.

View 1 Replies View Related

How To Add Equation To Dropdown Selection

Jan 11, 2014

How to add an equation to a drop down selection if you take a look at the picture in the link supplied, what I want to do is: I want the calculator to take the number in D12 then if the drop down box under it the selection is (as it is) too high then subtract 50 (k11) from D12 and display the answer in D14. I have listed the 3 drop down choices in column L, Lap 2 I would do exactly the same and so on [URL] .........

View 6 Replies View Related

Dropdown List Selection

Jan 30, 2007

I am trying to make a spreadsheet where I use a drop down menu for several of my vendors. When I select the Vendor's name from the drop down menu (for example in A1), I would like A2 to display that vendor's phone number. But when I switch vendor name from drop down list in A1, A2 would need to reflect the new vendor's contact info.

View 5 Replies View Related

Find Last Cell In Column And Paste Formula In Next Blank Cell Then Repeat On Remaining Columns

Jan 14, 2013

I need a macro to find the last cell in the column, then copy the formula to the next blank cell. Then, it goes back to the last cell (above) and paste's values. Then, go to the next column and repeat the process. I can do this but have to call each cell separatly...however, I would like to do it in a loop to simplify things. It would be great to even be able to just set the start and ending columns. Here is my current code:

Dim rng As Range, aCell As Range
Set rng = Range("C8, D8, E8, F8, G8, H8, J8, K8, L8, M8, N8, O8, P8, Q8, R8, S8, T8, U8")
For Each aCell In rng
Selection.End(xlDown).Select
Application.CutCopyMode = False

[Code] .......

It does not go to the next column, instead it stays in the same column and repeats the process.

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

Program For Multi-Selection In Dropdown Box

Aug 12, 2014

Having a drop down box in the document, i need to select multiple choices at the same time. VBA program for the same...attaching the file which i am working on.

View 1 Replies View Related

Default Dropdown Selection Using Macro

Dec 21, 2009

I have an excel file with a date dropdown box. The date is populated from another sheet in the same file. I need to create a macro, which will select the latest date by default when the file is opened. Is this possible and if so could someone please lead me in the right direction? I am using Excel 2003 and the date format in the dropdown box is "dd-Mon-yy" --> eg "21-Dec-09"

View 9 Replies View Related

Message Box For Invalid Selection With Dropdown Box

Dec 10, 2013

I have a Configuator sheet and the way it works is I have 6 different descriptions (plug connector, socket connector, length, jacket type, color, gauge). So when you choose a Plug Connector only the socket connectors that go with that plug are available to choose using data validation. Then depending on on the plug and socket connector it gives you the lengths that are available and so on.

Then I have a button with a macro that matches the descriptions you have chosen and returns the following: part number, Description, case qty, Available Stock, and Price. My issue right now is Not all plug connectors share the same Socket connectors so when someone changes the Plug Connector and has a invalid Socket connector from a previous selection the value returns as #N/A.

So what I would like to do is when I run my "Find Cable" Macro it will match each selection and if one is invalid returns a message box telling you which field is invalid i.e. socket, length, jacket type, color, gauge.

View 9 Replies View Related

Dropdown Selection Box With Multiple Choices?

Dec 19, 2013

I am trying to create a simple order entry worksheet. In cell M1 I need a dropdown box that lets the user select which options go on the product. You can have multiple options. The list of options is contained in column A of the Options worksheet. Depending on which options are selected, I want to put a 1 in column B of the Options worksheet. how to do this or have a sample workbook that I can look at.

View 1 Replies View Related

Create Dropdown List By Selection

May 6, 2014

I am trying to create 2 drop-down lists (based on named ranges), where the contents of the second selection change based on the first selection. On one sheet, I have a list of equipment that is quite long, but is broken up by categories. I have named ranges for all the category names, and the equipment in each category. On the other sheet (user side) I made the first drop down the list of categories, and would like the 2nd drop down to be the pieces of equipment that correspond with the chosen category. I have tried using data validation and nesting IF formulas, but it only works for the first 4-5 categories, bc my formula is longer than the Source field allows in Data Validation. Any other way I can make this work? Can I use a macro for this? If so, how to write it as this would be my first macro

View 9 Replies View Related

Use VLOOKUP From Dropdown Menu Selection

Feb 27, 2007

I have a spreadsheet which is made up of 4 worksheets. I have a drop down menu on the front page (created with data validation). I want to be able to choose one of the 7 geographical areas from the drop down menu, then have a formula search through the other worksheets for rows of data with this geographical area in it. Any ideas on how to do this, I have tried with VLOOKUP but cannot get the formula to refer to the drop down menu for the first input, i.e. the geographical area that it should be looking to match.

View 5 Replies View Related

Display Userform Based On Dropdown Selection

Oct 5, 2013

I have created a User Form that has been tested and is working properly. Now my last step is to do the following:

I would like to Display the User Form (coded as CommRM) if in Column C (can be any cell as it is a large worksheet) someone selects "Retail News" from the drop down option.

The code that I have been able to create so far is below. The problem is that when I select Retail News from a drop down in Column C the user form does not appear.

VB:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range (C14, C3333).Text = "Retail News" Then Call UserForm_Initialize
End Sub
Private Sub UserForm_Initialize()
Load CommRM
CommRM.Show
End Sub

View 7 Replies View Related

Extract Selection In Autofilter Dropdown Box To A Range

Feb 18, 2014

There are multiple duplicates of different part numbers in a column. When I autofilter the column, it shows 1 selection for each part number. I am trying to extract this selection fromm the autofilter dropdown box. I want to use it elsewhere in a dropdown box.

View 8 Replies View Related

Move Data To New Tab Based On Dropdown Selection

May 30, 2014

I have a excel file to keep track of sales pipeline. What I am looking for, is an automated utility or code that will allow excel to automatically move entire rows once a task is completed and can be moved to another sheet. In Prospects sheet I have a column for " Stage" and here you have to select from a drop down menu, either "Prospect", "Contacted" "quoted" "WON" "LOST" What I would like, is that once you have selected one of the sales stage, the entire row or entry, will be automatically moved to the right tab from the "prospects" to a new sheet according to each stage.

SalesPipeline.xlsx

View 2 Replies View Related

If Function To Test Dropdown Menu Selection?

Jun 11, 2014

I am developing a spreadsheet at work that is very similar to one that I made at a previous job. I am using the same formula in each spread sheet, but the one I am developing now does not work, where the previous one works perfectly.

I have a drop down menu created with data validation. Each possible selection is one or two letters of text, or the selection can be left blank. The drop down is cell A12, and an example of the if function that is used many times in this spreadsheet is as follows:

=IF($A$12="L",1,0)

In the previous spreadsheet, the function returns true only when the appropriate selection is made. In the latest version, it will return true if the appropriate selection is made, or if drop down selection is blank. I have been able to work around this with the following:

=IF($A$12="",0,IF($A$12="L",1,0))

View 6 Replies View Related

Auto-Populating Based On Dropdown Selection

Dec 4, 2013

I am trying to create a sheet for identifying work hazards based on the job assigned. So what I have set up is a drop down list to select the job type. Once this job type is selected I want the pre written hazards to autopopulate in the hazard box. I would also like the required PPE to appear in the PPE box for the job selected.

I have 6 different choices in the drop down list. For each choice I have the hazards and PPE in a separate sheets in the worksheet.

Is there a way to get this information to autopopulate?

View 1 Replies View Related

Applying Certain Formulas Depending On Dropdown Selection

Dec 6, 2013

Any way to apply a formula to a cell depending on what choice is made from a drop down box in a cell that it refers to.

Hypothetically:

I have a drop down box in A1 with 2 options: Cookie Making Costs - or - Cake Making Costs
In cells A3 through A10, I have cells with the costs for all the ingredients (and B3 through B10 for cake ingredients).
If I select Cookie Making Costs, I would like B1 to apply a formula that sums up all the costs associated with making cookies "=sum(A3:A10)"
If I select Cake Making Costs, I would like B1 to apply the sum of the cake ingredients "=sum(B3:B10)"

View 2 Replies View Related

Changing Dates Based On Dropdown Selection?

Feb 12, 2014

I am trying to develop a worksheet that will adjust dates based on a selection from a drop down box. I can do basic formulas in excel

I am trying to get the drop down box in "Revisit Type" to include three selections ("Sanitation", "Spark", and "High Five"). Once the dropdown box is created I want to be able to make a selection and enter an initial visit date under "Initial Visit Date" then have the "Earliest Return Visit Date" and the "Latest Return Visit Date" automatically populated based on this information below:

Sanitation or Spark = 10-30 day window
High Five = 10-21 day window

I am at a loss . I have attached a sample of the workbook for reference.

View 3 Replies View Related

Formula Based On Dropdown Menu Selection?

Feb 21, 2014

Sheet 1 has a table of prices. There are 7 columns labelled 2 thru 8 and two rows, labelled 1 and 2. Each combo has a separate price.

Sheet 2 has a weight specification (1 or 2 referring to the rows in sheet 1) and a drop down menu with options 2 thru 8.

When I choose a number from the drop down menu, let's say 5, I want to populate another cell with the value from sheet 1 of column 5 on row "whatever the weight spec is", let's say 2.

View 1 Replies View Related







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