I have an excel spreadsheet that has various dropdowns. I would like to use the vlookup function elsewhere in the spreadsheet to provide data from different parts of the same array depending on the result of the dropdown. Anyone able to help? Thanks
Your drop down must point to the correct row and column index in the array. You could try a dropdown that identifies the the column number and another that identifies the key in the first column of the array to return the row. Please clarify your question with an example if you'd like a more coherent answer.
Related
I am wondering is there any alternative to VLookUP() that can check two factors before returning a value. I want to search for an identifier that is only unique for a given date.
I.E the Key exists multiple times in the dataset but only once for each date so the date and the key combined form a primary key.
Note: I want to do this without adding a column to the dataset.
This is a simplified example. I want a formula that will return 304 if I look up using 02/03/20 and 89076.
My current solution is to make another column that concatenates column A and column B and then do a Vlookup on the column but I am looking for a solution that does not require adding another column.
Using Excel 2010
In Excel 2010, if you not looking for a figure but actual text, try the following:
=INDEX(D:D,MATCH(1,INDEX((A:A=DATEVALUE("02/03/20"))*(B:B=89076),),0))
I'm trying to join two tables together through a relationship but am having trouble.
My data is of a Building (type text) , which has Floors and Rooms which can both be a mix of text and number names (type any).
In order to create a relationship based on the Room column, I attempted to create a unqiue values table by referencing the Room_Mapping table, removing all by columns apart from Room, and removing duplicates.
However, when I try to join the two tables together based on the Room column, I keep getting the following message.
I have a feeling that this error is coming because the data type is a mix of text and numbers that it is getting confused because when I go to look at the data in Data view, I can see that the data for Phase and Room fields have been converted to Text type.
Please can any one help? I have attached a link to the workbook and data in the link below.
Room_Mapping Data and PBI Workbook
Many thanks in advance.
The Room1/ROOM1 Room2/ROOM2 are the cause of your problem. You can solve this by adding one extra step to your Query.
You do this by right-clicking the Room column and choose Transform > Capitalize Each Word.
The problem is that you have 4 very similar cells:
Room1
ROOM1
Room2
ROOM2
in original table and them are duplicated yet in the Room_UniqueValues Table.
Try to replace this values like this in the Room_UniqueValues Table:
And null by "null" in the original table, for example:
Tell me if this are ok please!
This is super easy in excel.. Couldn't find it this in Spotfire easily.. Quick help would be appreciated.
Question:
In the calculated column, I like to add previous row data.
For example, in attached sheet calculated column "Previous CODE". I like add data of Column "CODE" from previous row.
Please let me know incase something is unclear.
you can achieve this with a calculated column having the expression:
First([CODE]) OVER Previous([EVENT_DATE])
I am trying to create a semi-automated invoicing system for my business but I am running into some problems.
I would like to be able to have a spreadsheet with all of my inventory in rows. Each of these items would have 4-5 columns of information. I would like to use this spreadsheet as a database that I could use data validation with to create a drop down menu to choose an item from the database. When an item is selected it would return all of the columns of info in the database.
I have been able to do this using vlookup functions. However, most of the items in my database are often grouped together. Is there a way that I could select one item from the database and have it return all of the grouped items on separate rows?
Lastly, as these items are added to the invoice it would be nice if I could automatically have the invoice add rows to expand the invoice. For example, if I choose an item from my database that is grouped with 10 other items, the spreadsheet would also add 10 rows or shift the rows below the dropdown selection down 10 rows.
From my research I have figured out how to return multiple values from an array following the instructions on this link:
https://www.get-digital-help.com/2009/10/25/how-to-return-multiple-values-using-vlookup-in-excel/
This only allows me to return a single value though.
Here is a link to the excel file in case you don't want to sift through the entire page:
https://www.get-digital-help.com/wp-content/uploads/2009/10/How-to-return-multiple-values-vertically-2.xlsx
I also followed this guide to use a vlookup function to return multiple values but I don't know how to have it return multiple items from the database.
https://www.journalofaccountancy.com/issues/2004/apr/adoityourselfautomatedinvoicingsystem.html
Thanks in advance!
I think it's time you left VLOOKUP behind, and embraced PivotTables. Slicing, dicing, and aggregations are what they do best, and they handle grouped items with ease. Trying to cobble together a solution that meets your requirements using just formulas is going to be messy.
I am working with a list of bowling matches and want to update all matches for a specific week and a specific division.
By use of VBA, how do I change values in a column in a list for rows filtered for specific criteria on another column?
Something like that might be possible, but it's extremely difficult to asses without looking at the data. In SQL you have a database with fields and items, Excel tables can hold the data in a similar fashion, yet again as in SQL you need to see the relationship between the fields and items, to asses what can be done.