3 Different Tables - VLookup Depending On Selection From Dropdown
Jun 12, 2013
I have 3 different tables on a sheet which I want to do a vlookup on depending on the selection from a dropdown.
I created the ranges I want to use in 3 cells and tried to reference the cell rather than the range. Excel no likey:
=vlookup(B2,A1,2,FALSE) instead of =VLOOKUP(B2,D1:H14,2,FALSE)
Is there anyway I can do what I am trying to do?
View 2 Replies
ADVERTISEMENT
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
Jan 21, 2013
How to populate MTD data linked to the other spreadsheet file (monthly data) to the table on the left, depending on the month selected month from the dropdown list.
Attached files for reference :
Dropdown Month.xlsx‎
MONTHLY DATA.xlsx
View 3 Replies
View Related
Jun 22, 2014
I have a cell in my spreadsheet that I use to control the size of a column. I formatted the cell as a number and added data validation to make sure the number is greater than zero. Then I realized that I need to also allow for the option of auto sizing the column as well. This would require a data validation list type with something like True and False for the choices.
What I want to be able to do is have it both ways. I want a drop down list in that cell with the options Auto Size or Custom. If Auto Size is selected the cell value gets set to that. If Custom is selected I then want to be able to type in a number.
ddl.png
[URL]
Is there a way to setup a cell such that the value is either an item from the drop down list or, entered directly (depending on the list selection)?
I know I can do it with dependent lists but that would require two cells, one for the auto size mode (true/false) and the other for manual width value.
View 1 Replies
View Related
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
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
Apr 13, 2014
i have a macro which takes the results generated and puts them into a table and filters the data so that zeros does not show and arranges the table from largest to smallest. Now i have a problem where i need to select the power, fuel oil consumption, weight and area from one table and the other power, fuel oil consumption, weight and area from the other table and combine them together so that i can have all possible combinations of the data, but i don't want the zeros to show in the combinations. i need the combined data to show on a separate sheet. The data of table 1 varies with rows as shown:
The Data of Table 2 varies with rows as shown:
I would like to achieve a result like this in the following columns and rows without having to input them manually:
View 1 Replies
View Related
Jun 12, 2014
Attached is a copy of a spreadsheet that im working on, im trying to sort staff on their correct locations depending where i originaly select them.
The attachement will have more info
View 8 Replies
View Related
Dec 5, 2008
I have a sheet with entries dated. With values next to them.
From 1/11/08 to Whenever it ends.
I would like to work out a function to select the activerow(depending on cell)
and the 30 rows under it and then print them.
Like a report almost
This could be a button or anything, no pref on it ^^
View 5 Replies
View Related
Jun 25, 2013
I'm looking to use a drop-down to allow me to highlight a complete row depending on what I choose, each row is unique.
So if my drop-down is say 20 different words and I choose "Oil" I want it to look down the table and highlight the row that shows oil prices.
Example of column A might be as shown below (Starting in say A3).
(A3)Petrol
(A4)Wood
(A5)Oil
(A6)F/Fuel
(A7)Other
From my drop-down located in A1 I choose "Oil" I want it to select only row A5 and either highlight it or blank out the rest.
View 7 Replies
View Related
Jan 7, 2014
how to make few dropdown lists depending on one before.
Example: I have table with next data: COLUMN A: (A1) Expense Type ( in all columns under A1 are types of expenses );
(A2) total trip cost;
(A3) Prize promo tour cost;
(A4 ) court renting cost;
(A5) Prize IPP cost
In columns B1, C1, D1, E1 are cities. Under each city is value for type of expense. I have uploaded worksheet for example.
Now, problem is next: I am trying to make drop down lists ( in new work sheet ) by using depending data from data table.
1.I made drop down list in first cell (let's say it is an A1 cell ) where I can chose city ( for example City of Zagreb ).
2.Then in next cell (B2) I would like to choose type of expense in drop down list ( for example Total trip cost ).
3.Finally, in C3 cell I would like to make drop down list that offers me just expense value for combination of chosen city ( Zagreb ) and chosen expense type ( Total trip cost ).
View 5 Replies
View Related
Aug 18, 2014
I would like to use or not use a dropdown list in data validation depending on the value of another cell. The application is to be able to choose a state from the dropdown list only if the country selected in another cell is "US". If the country is not US then I want the user to be able to fill in free text and there be no dropdown list. I know it's possible to have a dropdown list and allow entries without it being on the list but I need the dropdown list not to appear at all if the value is not US.
View 7 Replies
View Related
Dec 29, 2009
I have the following code and I can't work out how to fix it. What i want is for the macro to create the pivot table from the "used range" in a worksheet but I want it to be formatted as a 2007 pivot table. The reason I say this I because I have some 2003 code which works very well which is where the idea of this come from but it doesn't seem to work here. I have highlighted the problem in orange, I know the rest of the code works because when I replace the orange bit with
"Raw Data!R28868:C33"
it works.
Sub CreatPivot()
Dim wksdata As Worksheet
Dim rngdata As Range
Dim wksdest As Worksheet
Dim pvtTable As PivotTable
Set wksdata = ThisWorkbook.Worksheets("Raw Data")
Set rngdata = wksdata.UsedRange.........................
View 5 Replies
View Related
Jul 31, 2006
I want to create multiple pivot tables each performing its own tasks. When i want to filter a particular category in all first pivot tables i have to do this one by one.
This is time consuming and i think it can be done faster. Is it possible when i filter a category in pivot table 1 that this filter is automatically filtered in the other pivot tables?
View 9 Replies
View Related
Oct 6, 2006
In a particular battery sizing workbook I have 3 data tables on each sheet (Sheet2, Sheet3 and Sheet4) The table range is d22:u45, the same on each of these three sheets. What I would like to do is to when any one of three cells (labled "Sheet2", "Sheet3", or "Sheet4") is activated on Sheet1, transfer the data from that reppective sheet table range d22:u45 to the same range d22:u45 on Sheet1. And let me use that data in the Sheet1 worksheet subroutines.
View 2 Replies
View Related
Nov 8, 2012
Attached is my sample data.
In sheet "support data" I have two columns.
One column is a client reference and the one next to it is a client name.
On my form the combo box is populated with the client references.
When i select a reference in the combo box I would like to populate textbox1 with the corresponding client name from "support data"
(as an advanced feature it would be good if the textbox1 kept changing as the mouse was hovering over the list of client references in the combobox)
View 4 Replies
View Related
Dec 18, 2006
Im currently creating a spreadsheet for my work, with common problems and solutions to one of our websites.
When the spreadsheet is opened, the user will click a button depending on what sort of problem he/she is having. In the example attached, if the user clicks on "make payments" a form will appear. This will have a list of problems.
if the user choses problem 1 from the drop down list, then I would like the list of solutions to problem 1(from the MPData sheet) to show in the box below. The same goes for problem 2, problem 3 etc.
View 9 Replies
View Related
Jan 3, 2013
see attached document - this is a stock record sheet. what i want it to do is when Bed is seleceted in column B - i want colum C to show the BedSize list which is in the lists tab. and the same with Chair i want it show ChairSize
View 14 Replies
View Related
Sep 4, 2013
I have a table showing data for 10 teams. There are however 10 different measures which are pulled from a seperate sheet using a dropdown box to select the measure.
One of the measures is example 390823 which needs to be format 390,823 so that thousands are shown, and other formats are, example, 89.9 which need to be 89.9%.
Ive gone to my other sheet and all the raw data is showing correctly with % and ,s. But my dashboard table can only have one format. How do i make it so that each measure pulls in the correct format when selected, without dragging the whole area and changing each time?
View 1 Replies
View Related
Aug 19, 2014
I have created a drop-down menu combobox of districts and depending on your choice of districts the list of Health Centers in each district changes. What I want to do is to protect the contents of the cells that contain the health centers. The problem is that when I lock the cells and I choose a district, the Health Center cells cannot change because the cells are locked. Is there anyway around it?
I have attached the sample (Please look at sheet 2. The column that I want to block is the column FOSA)
View 4 Replies
View Related
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
Mar 13, 2014
I have done all the computation and final output was in the form of tables with different solution sets in one worksheet in an excel.
From the dropdown list (List of solution models), when I select one solution set it should pick that particular workout and populate the final output table in the new worksheet in the same excel. Firstly, I need to establish dynamic linkage between the drop down list and final output tables and then push the final table to new worksheet based on the option selected.
View 1 Replies
View Related
Jul 16, 2009
I see that IF statements can only be nested 7 times. How do I create a cell that checks to see what item was selected in the dropdown box of 20 different choices and choose a particular cell range depending on what is chosen?
View 9 Replies
View Related
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
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
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
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
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
Sep 7, 2006
i'm building a spreadsheet where there is a list where users will input work shifts (those shift can be, for example, "M", "N", "T", "Me", "Ne", "Te"). i use two different columns to retrieve (using vlookup) values for M, N, T and Me, Ne, Te shifts. those values are in two different tables (one table for M, N, T shifts and another one for Me, Ne, Te)
for the M, N, T shifts column i use:
VLOOKUP(A1;$values.$A$1:$D$3;IF(WEEKDAY(G3)=1;4;IF(WEEKDAY(G3)=7;3;2)))
for the Me, Ne, Te shifts column i have:
IF(ISNA(VLOOKUP(A1;$values.$A$67:$D$69;IF(WEEKDAY(G3)=1;4;IF(WEEKDAY(G3)=7;3;2));0));0;VLOOKUP(A1;$values.$A$67:$D$69;IF(WEEKDAY(G3)=1;4;IF(WEEKDAY(G3)=7;3;2));0))
this seems to works fine, but only for one shift per day. the problem is that workers may work more than one shift per day. is there a simple way of, in one column, vlooking up the values for every M, N, T shift, every day ignoring any Me, Ne, Te and the opposite in the other column?
View 5 Replies
View Related
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