Select An Item From Drop Down List And Automatically Fill A Number Of Cells

Nov 15, 2008

I am kind of new to Excel programming and would like to know if there is a solution to my problem. What I need is to have a dropdown list (I know how to make this) then select an item from the drop down, then based on the name i select, Excel automatically fill up the rest of the cells.

For example, from the drop down list I select the company name then Excel automatically type the address, phone number, Fax number and the contact name of the company for me in corresponding cells. Is there a way to do this?

View 3 Replies


ADVERTISEMENT

Automatically Select Item From Dropdown List

Apr 29, 2014

I have two cells and both have a drop down list. I would like Excel to automatically select an item from the second drop-down list based on the manual selection of the first drop-down list. The second cell needs the have the dependent item appear in the second cell not just be available in the drop-down list.

For example, Cell A1 has a drop-down lsit of the names of fruits, vegetables and flowers (apples, bananas, carrots, carnations, corn, daisys, tomatoes, zuchinni). Cell B1 has another drop down with three items (fruits, vegetables & flowers) which needs to be dependent on the first list. Further, I would like cell B1 to automatically select the appropriate item.

For example, if "carrots" is selected in cell A1 then I would like "vegetables" to be selected and automatically appear in cell B1. If "carnations" is selected in cell A1 then I would like "flowers" to appear (not just be available in the drop down).

View 6 Replies View Related

Automatically Select Item From Dropdown List Based On Cell Text

Apr 8, 2013

I have a spreadsheet where user can search for information inside a search box and the appropriate rows are returned using formulas.

I have a drop down list (Category: Model) in the search box as well as a search field (Category: Program, cell D2). Underneath the search box, search rows are returned with column categories: Program, Model, etc.

What I require is that if a user enters the specific program into the search field D2, then the dropdown list would automatically choose which model that program belongs to based on the returned row.

For example, if I typed "engine" into D2 and pressed enter,

Under the records section (Row 14 and beyond), the following record will pop up:

Program
Model
Indicators

Engine
F-16
3a

Based on the record, F-16 would be chosen from the dropdown list. Is there any way this can be done?

View 6 Replies View Related

Auto Fill Cells Depending On Drop Down List Selection

Sep 22, 2008

I am trying to make a calendar spreadsheet to enable me to track allowance payments i am due from my company.

This payment is worked out by three conditions - where i am working (7 regions), how many days of the week (4,5,6 or7) and how many hours (<7,8-9 or 10-12)

I have made drop down lists to select each of the values for the three conditions and want to show the total for them

i can total the entire spreadheet for the month up using fairly large "COUNTIF" statements, but i want to be able to show what the exact amount is in each cell not just a complete total.

i.e. i am away for 6 days i get £15 extra, if i am in Europe i get another £50 and if i work 12 hours i get £30.

I want to be able to calculate this total in each cell for that day.

I can send a copy of the spreadsheet i have got at the moment if that will make things clearer than what i have tried to explain.

View 12 Replies View Related

Automatically Change Cells To New Value When Drop-Down List Source Changes

Aug 1, 2009

I am looking to have the Cells that I have applied a Dropdown List to update with the changes that I make to the list itself.

Example:

If I were to validate a list with a range of a1:a3 using "Bob" "Sarah" "Bill" and then apply that list to B:B and randomly select from the three names running the length of B:B, I would want that when I go back to A2 and change "Sarah" to "Linda" that every "Sarah" that I have selected using the drop down will update to say "Linda"

I hope that I am explaining myself clearly and in a simple context.

View 9 Replies View Related

VBA - Add Number To Certain Cells Based On Drop List Value

Jun 30, 2014

I have a numerical value in cell B2 , and a drop list that contains unit names.

I am looking for VBA to see which unit is selected in the drop list, and then add B2's value to that particular unit's total.

See attached workbook : oz_addition_example.xlsx

View 4 Replies View Related

Formulas Based On Drop Down List Item

Nov 7, 2008

http://home.comcast.net/~unkerjay/CSBG_Sheet.xls

in it, there's a Sheet named:

CSBG Report

which has a drop down list for all possible reports
beginning with "Jan".

There's also a "Totals" sheet which has the corresponding
information for each report totaled in separate columns.

Jan, for instance is totaled in column B.
Feb, is totaled in column C.
And so on.

What I'd like to be able to do, is, depending on
the report selected, to have the information in
the corresponding cells in the "CSBG Reports" Sheet
pulled from the appropriate column in the "Totals" Sheet.

So far, I'm not wrapping my mind around a way to
do this.

View 9 Replies View Related

Go To Cell Based On List Item Chosen From Drop-Down

May 7, 2008

I have a set of data on excel and would like to make searching for it easier.

I have created a drop down list in cell B4 (say, "Banana", "Apples" and "Orange"). Is there a way that if i select "Banana" in cell B4, excel will automatically go to cell A20 ?

View 3 Replies View Related

Data Validation List Automatically Show The First Item In The List Rather Than Showing Blank

Jun 20, 2008

I can't seem to find a way to make a data validation list automatically show the first item in the list rather than showing blank.

View 10 Replies View Related

Drop Down Box; Automatically Fill All The Information Into Address Column

Oct 23, 2008

I have inserted the sheet. As you can see in Sheet 1 I have the Store, Address, Town etc, I would like a drop down box in D13 ( Store Name ) so when I select a store it will automatically fill all the info into D15:D19 Address, Town etc. The info will be pulled from Sheet 2.

View 3 Replies View Related

Automatically Fill Data Depending On Choice From Drop-down Menu

Dec 28, 2007

I have three lists in the first sheet 'Food', 'Quantity', 'Points Value'
Each food (i.e. tuna, pasta, anchovies) has a quantity (i.e. 40g) and a points value (i.e. '50'). The first list ('Food') has been copied as a drop down list in the second sheet. When selecting a food, I would like the cells 'quantity' and 'points value' to pre-fill - taking the data from the first sheet.

i.e. if say Anchovies has the quantity value '30g' and Points Value '2' on the first sheet, then in the second sheet if anchovies was selected from the drop-down menu, these values would add themselves. how to do this? I have attached a sample file shwoing what I want to do.

View 2 Replies View Related

VBA To Select Next Item In Data Validation List

Feb 28, 2014

I wrote a macro that creates a data validation list from a set of cells on Sheet 1.

On Sheet two I would like a have Macro select each item in order on the validation list and paste into every fourth cell.

For example, if my Data Validation list on Sheet 1 contains three items: Comp. A, COmp. B, Comp. C

On Sheet 2, I would like to see Comp. A in cell K1, Comp. B in cell O1, Comp. C in cell S1.

I have seen a few codes but nothing that works effectively.

View 4 Replies View Related

Select Nth Item From Validation List Macro

Aug 21, 2007

I have a normal data validation box on excel, but I want to be able to navigate my way through it using a macro. I can select & opent the drop down list with the following
SendKeys "%{DOWN}"

but then an action like

SendKeys "{UP}"

Does not navigate itself up the menu as a normal keystoke would. Any ideas on how to solve this? Basically, I want to select a cell, open the drop down menu, select the first choice in it (so thinking SendKeys "{HOME}{ENTER}" ) all using a macro.

View 9 Replies View Related

Auto Fill In- Way To Take A Drop Down List

Nov 8, 2009

is there a way to take a drop down list and pick 1 then have excel fill in the info i seven cell example if list box is 3 then cell 1-7 = 1 and is list box is 1 cell 1=1 cell 2-0 cell 3 = 0 cell 4-7 = 1

View 9 Replies View Related

Fill Table Using Drop Down List Data Selections

Jul 10, 2009

I have a couple of drop down lists of data created from lists as well as fields next to it.

What I want it to do is take that data, which is name, start time, end time, days worked, queue (or work type), and fill the table next to it which is just a 30 minute by 30 minute schedule sheet with days of week 1 and week 2 on top.

I figure it would be easier to have a GO button to do this.

I will attach an example of what I mean, but please, if you guys find that there is an easier way to do this, just let me know, I feel this might involve some code/macros instead of excel functions

View 2 Replies View Related

Drop Down List To Fill Adjoining Cell With Corresponding Data

Dec 19, 2007

I have a list of 688 codes in a column (lets say column A). e,g 23, AB, FX, NV, D8. Each code corresponds to a text In the next column (lets say column B) for example AA is the code for "Transmission". Using a clean spreadsheet and using a drop down list, I would like the cell to the right of the selected dropdown code, to automatically fill in the text of what the code corresponds to.

View 5 Replies View Related

Using A Drop Down List To Select Certain Feilds

Feb 17, 2007

I have created a spreadsheet here at work to stream line certain orders. For memory Reasons, and sanity Reasons, it is one spread sheet for 5 different types of requests (moves, changes, cancel...etc). the top portion of this sheet has general info that is needed for all the requests...but then it is broken up to 5 sections, one for each request reason. there is a drop down list in the top general section to select your reason for request, so the group receiving the form doesnt have to do to much thinking and go straight to the section they need. but i want to know if there is some way to make it so if someone selects cancel in this drop down list, only the cancel section appears, and not the other 4 sections, or if they choose move, only the move section appears and so on...

View 9 Replies View Related

VBA Code: Select Records From Drop Down List

Aug 9, 2007

I have a spreadsheet that contains multiple rows per user. I need a combo or list box that pops up asking them to select their name from the drop down list. The list would be based on column A and would only include their name once.

When they select their name, the macro would then open the Form option from the Data menu, the Criteria button would be pushed and their name entered into the form, to return the first record their name appears on, then they could forward through the records, and update using the Next record button.

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

Programme To Automatically Select A Value From A List Or Range Once A User Has Selected Corresponding Value From A List Within A Combobox

Jan 28, 2007

i'm writing a refrigeration selection user interface, working from values on an excel spreadsheet. how to get the programme to automatically select a value from a list or range once a user has selected corresponding value from a list within a combobox. for example if a user sets the temperature of their refrigerator to -5 celsius i need the programme to automatically select the corresponding value of enthalpy for the air at that temperature.

View 5 Replies View Related

Select Item On Sheet A Automatically Paste Info To Sheet B

Sep 24, 2007

I have a workbook with a Cost Analysis sheet, a master menu sheet, and then all the sub sheets. I have coded command buttons on the master sheet, so once a category is selected, it goes to the appropriate sub sheet. On the subsheet is a list of items of varying sizes, and command buttons beside that which will allow the user to "Select" that particular size. Once the size is selected, the verbage in cell B5 plus the verbage (size) beside the selected amount, and the prices (labor and materials) in the next two columns, need to be transferred to the first available blank line, starting with line C5, to the Cost Analysis sheet. I have never done coding before for a Loop (i.e. For i = ???) and am not sure how to get it to do what I want. After they select that, they can pick a command button that takes them back to the master menu so they can continue picking various items until they are through. Then the Cost Analysis sheet will show all the items they picked, (name of item, material cost and labor cost: Columns B, C, & D). Not everything is coded yet (such as selecting a command button to go back to the main menu, because I wanted to make sure I could solve this problem before doing the easy stuff).

I read over quite a few of the previous threads and am not sure how to change them to suit my circumstance. I know some code (VB), but not much. I do not understand the concept of DIM, and how the loop works to make it happen myself, and all the websites I could find were not suited to my situation of copying three cells of data to the first blank cell on another sheet.

View 9 Replies View Related

Fill Cells In On Drop Down Selection

Jan 20, 2010

when I select a value from my drop down list how can I fill in say.. cell A50 with a number automatically?

Pretty much on a drop down selection I want to fill in another cell.

View 11 Replies View Related

Pull Data From Others Sheets Using Drop Down List To Select Sheet Name?

Sep 29, 2010

I'm not including my spreadsheet because it has company information however, I will try to articulate my request as best I can. I currently have an Excel spreadsheet with about 20 worksheets, I would like to be able to click on the first worksheet, create a "Drop Down box" or "Data Validation" box or whatever I need to do to be able to view information in a range of cells on ANOTHER worksheet within the same workbook.

I've tried Data Validation, Drop Down Boxes, Define name ranges, all to NO avail. I'm missing a step somewhere, because I'm still not able to view the information on the first worksheet.

View 3 Replies View Related

Autofill Vertical List Horizontally With 2 Blank Cells In-between Each List Item

Feb 14, 2014

I have a list in column L2:L352. I would like to be able to start at AD2 and drag horizontally so that AD2 = L2, AE2 = <BLANK>, AF2 = <BLANK>, AG2 = L3, AH2 = <BLANK>, AI2 = <BLANK>, AJ2 = L4, etc.... until L352 has been autofilled.

View 2 Replies View Related

Count Number Of Each Item In List

Oct 11, 2007

I've in a sheet something like this:

A B
Number Item
2 Apples
1 Orange
2 PineApple
5 Orange
1 Apple

I need to do a code to get how many Apples Orange, PinneApple or somethig is in the range

For Example:
3 Apples
6 Orange
1 PinneApple

The items are variable. It's starts in the second row, and finish in the next blank row.

View 4 Replies View Related

Automatically Update A Selection In A Drop Down List From A Cell Value Change

Jul 31, 2008

I have two worksheets...

Sheet 1
A1: description
A2: Target Iteration
A3: Concat A1, A2.

Sheet 2.
A1: Drop down datavalidation list selected from A3, sheet 1.

On sheet 2, a user can select from the list. If a user changes the value in A2, sheet 1, I want the value that is associated and already selected in A1, sheet 2 to automatically update. There is a 1 to many relationship with the concat and the drop down. In that, sheet 2 can have multiple rows with the same value from sheet 1 A3. Is there a way when A3 sheet 1 changes, to search in A:A in sheet two and update the values for those records that match the original value in A3, sheet 1?

View 2 Replies View Related

Run Code To Fill Cells On Drop-down Change

Oct 15, 2007

I am busy with a project using VBA to populate a spreadsheet based upon the data entered into a particular cell. The problem that I am experiencing is that I populate the initial cell via a combo-box which I cannot exit unless I click elsewhere with my mouse. The code that I am using to populate the other cells is as follows

Private Sub Worksheet_Change(ByVal target As Range)
Application. ScreenUpdating = False
On Error Goto dump
Dim r As Range, MyRowNum As Long, ws1 As Worksheet, ws2 As Worksheet, strPriCode As Variant, _
strNAPPIE As Long, strSInCost As Currency, strSInDesc As String
Set ws1 = Worksheets("SINVOICE")
Set ws2 = Worksheets("STOCKIMP")
Set r = ws1.Range("B11:B35")
If Intersect(target, r) Is Nothing Then Exit Sub
If target > 0 Then....................

View 2 Replies View Related

Automatically Fill From Dynamic List As I Type

Jun 10, 2009

I am not sure of what is it called, but I would like to be able to start typing in a cell and it to start giving me options until there is only one.

Right now I have 9 dynamic lists with anywhere from 5-20 names per list and I have a report form with multiple data validated drop down lists each pulling from a separate dynamic list. This works ok, but as the user tabs to a cell with the drop down, they must use the mouse to initiate the drop down and then select the right data. Even if the user types the right data into the cell, it will not pass validation. Is there a way to start typing and it to keep throwing away things until only one option is available and then be able to use the tab button to enter that data into the cell and move to the next cell? Or as another option how hard would it be to activate the drop down when the cell is selected and then use the arrow keys to select the right one and tab to the next cell? I would want to be able to tab through the cell if no information was needed from that dynamic list.

View 6 Replies View Related

Fill Cells (on Sheet4) Based On Value From Drop Down On Sheet1?

Mar 2, 2014

I am using the cell validation command to create a drop down list on sheet1. Drop down is created from sheet 3 column A

I would like sheet 4 to be filled by information from both sheets. first line would have item chosen from drop down and the next line would be sheet 3 column B.

It is for a catering company. Sheet 1 (menu) is the creation sheet. I would like to use a drop down list to choose from a long list of appetizers. Those of which are on sheet 3 (app list) and held in column A (1-42). As that occurs, I would like sheet 4 (prep list) to generate a list of operations. A1 (prep list) would reference the item chosen and A2 would be the list of operations (sheet 3(app list) column B)

View 7 Replies View Related

Assigning A Category To An Item Number Based On The First Two Characters Of The Item Number

Jun 18, 2008

I am using a vlookup and have a problem. I am assigning a category to an item number based on the first two characters of the item number. For example item number 60123 would equal scrap because of the first two characters of 60. But the item number can begin with either a number or letter. Here is the formula I am using that works for item numbers that begin with numbers:

=VLOOKUP(VALUE(LEFT(E2,2)),Sheet3!A:B,2,FALSE)

It works fine until I reach a item number that begins with a letter, then I get the dreaded #Value error. If I take the value out of the formula then it works for the letter based number items but not for the number based item numbers.

View 9 Replies View Related







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