Lookup Within Lookup
Mar 24, 2007
I have the following table:
1 2 3 4 5
A i x y z .. ..
A ii k l m
A iii h i j
B i f g r
B ii w v t
B iii ... .... ...
In order to get a value of Ai and 2 for example I use LOOKUP WIZARD, but I cannot figure out how to get values of Aii and 2 or Aii and 1 or any other combination.
I would like to have 3 cells with input information that will generate the result based on the table. Cell 1 will have "A" or "B" or "C"... Cell two will have "1" or "2" or "3"... and Cell three will have "i" or "ii" or "iii" based on that input I would like to generate whatever value the table has.
View 14 Replies
ADVERTISEMENT
Apr 7, 2014
I have a table of data (say Column1 to Column 5) with multiple rows.
Column 1 to 4 will have the lookup values in multiple rows and Column 5 data should be picked up using vlookup or other lookup function.
I managed to somehow bring all these lookup values in (Column 1 to 4) in a single column in another sheet. I am now trying to use some lookup or other functions to match this single column and pick column 5 data in original sheet. Result i am expecting is lookup value in first column and next to it column 5 value.
It is basically a lookup wherein lookup value is spread over multiple rows and columns and result column is fixed. I tried using vlookup, but lookup value column and column number had to change every time when i moved from column1 to 4.
View 3 Replies
View Related
Mar 26, 2008
Excel offers many ways to use a key to lookup a value (VLookup, Index/Match, DGet, and the rest). What's the fastest way to perform a lookup of a small table of, say, 30 rows of key-value pairs? Theoretically, it would be most efficient to use a branch table (also known as a jump table). See the wikipedia article for branch tables: http://en.wikipedia.org/wiki/Branch_table. Does Excel/VBA have a way to create a branch table for such lookups?
View 9 Replies
View Related
Apr 27, 2009
I want to be able to lookup if anywhere in a cell contains a word from a list of words, and then provides an output.
Column G:
VAT payment
HMRC payment
Pay VAT
I have a table on the side that shows:
Column Y Column Z
VATHMRC
HMRC HMRC
ie. If anything in column G matches one of the words in Column Y, then output the Column Z. I have use a Vlookup that works for the first two, as VAT is the first thing, but dont know how to make it work if the key word is in the middle of the cell.
View 3 Replies
View Related
Jan 2, 2009
I have a workbook with 2 different types of sheet - 1 containing source data and the others 'collecting' data from the source sheet, depending on what the sheet is for.
For example, the data source contains different pets, their names, ages and their owners.
The other sheets are on a one-per-owner basis.
What I would like to do is use a LOOKUP / MATCH function to lookup the owner name typed in cell A1 of the output sheet and match it with the corresponding owner name(s) on the source sheet. I would then like it to return with each pet and append the results on the sheet accordingly - like below:
John Smith (in cell A1)
Pet - Name - Age
-------------------
Dog - Rover - 3
Goldfish - Tom - 1
Gerbil - Chewit - 4
View 7 Replies
View Related
Jun 12, 2009
I am trying to perform a lookup (vlookup) function in a cell in excel and wish to have the range as a variable, so that I can adjust which column the lookup function refers to.
View 4 Replies
View Related
Jan 26, 2010
I'm making my own gradebook (attached) and one of my sheets will list scores for each student in different assignments. I have one sheet which keeps track of all students and all assignments with other info. I would like to program cells in one sheet (the third in the attached file) to lookup a particular student's grade in a particular assignment. I figured trying a LOOKUP with an AND requirement might work but it keeps returning the message "could not find value".
My formula references the student's name and the assignment from the identifying cells so that it is easy to copy and paste. I wondered if it was this which resulted in the error, but doubt it.
View 4 Replies
View Related
Jul 29, 2008
I am trying to use lookup function to lookup for data in another table (we call it table A). Unfortunately, whenever the code is not in the table A, Excel will return the data from the previous row.... is there any possible way to prevent this... in another word, if the code does not exist in the table A, I want Excel to return 0 or some other figures.
View 9 Replies
View Related
Nov 28, 2006
here is an example....
(this is on a sheet called Summary)
----A--------B --------C------- D
1Names----At Bats----Hits----Batting Average
2Tom-------38--------31------.816
3Derek------19--------14------.737
4Joey-------40--------28------.700
5Chris-------40--------27------.675
6Chuck------37--------24------.649
Using the LARGE function, Excel has created a list based on batting averages(on a separate sheet called Line-up). It looks like this.....
---A----------B
1Names----Averages
2 -----------.737
3 -----------.700
4 -----------.675
5 -----------.816
6 -----------.649
The problem I am having is figuring a way for Excel to also bring the corresponding names (after using the LARGE function to create the line up list).
View 3 Replies
View Related
Jun 12, 2007
I have a very large spreadsheet of customer information(I call it the master spreadsheet). Each row contains only 3 things: Account number, product bought, Price
Later I receive the money from the customer for that product(the pay sheet) that contains the exact same thing in the same order: Account number, Product bought, Price paid.
What I'm trying to do is compare the two spreadsheets so that when i receive the pay sheet of cusomters who have paid with the amount it will deduct it from the master sheet.
So it should compare account numbers when it finds a match then it should subtract the amount paid (column C) from the master spreadheet price column(column C also).
sometimes customers don't pay the right price so it has to be a subtraction so I can see if it was over paied, underpaid etc.
Right now I'm still doing it manually combining the two documents sorting it by account number and checking for matches in column A (account number).
View 5 Replies
View Related
May 1, 2007
I need to place a lookup table in a work book and I'm not sure how to do it.Below is what I specifically need in my workbook.
c. The workbook will need a lookup table that will lookup the tuition, clothing
and entertainment figures depending on the selection of college, and will
ensure that only the colleges on the list are selectable. That is, the
worksheet will not allow the user to enter another college not in the list.
The lookup list must be on a worksheet by itself at the end of the workbook.
View 13 Replies
View Related
Nov 12, 2008
I have 3 Sheets named Paid, Rejected, and Reprocessed.
On the Paid and Rejected sheets I have 2 fields Customer # (Column A), and Amount (Column Q). (The customer # field has many duplicates but the amounts are never duplicates)
On the Reprocessed sheet I have all the rejected items (all fields) and also a field named Reprocessed. I need to use a formula that will check the Paid sheet for any items that have the same Customer # and Amount and return the amount
There are 8,216 rejected items and 45,047 paid items. Some items were originally rejected have been reprocessed and show under paid.
Any thoughts on which formula I should use?
View 10 Replies
View Related
Feb 21, 2009
Assuming 1st row is a header row
Sheet1, Column A
1230000_XL07 - WB OPS
1230001_XL08 - WB OPS
1230002_XL09 - WB OPS
Sheet 2, Column A
1230000
How do I lookup 1230000 and return 1230000_XL -07 WB OPS in B2
View 2 Replies
View Related
Apr 18, 2008
Is it possible to set up a lookup function with two lookup values? For example, say I have a list of items such as:
1 A 14
1 B 22
2 C 84
4 D 25
I'd like to have the lookup go to the above table and find the number 1 and the letter B and return 22. I can't seem to visualize how to make this work.
View 9 Replies
View Related
Jan 28, 2009
In my workbook I have multiple sheets but I'm attaching a very simple workbook to demonstrate what I'm trying to accomplish. In my "Lookup" tab/sheet. I want to have known Latitude and Longitude data that will exist in columns A&B. Columns C & D will have address numbers and Street Name. I would like my lookup formula to find the longitude and latitude data from my "lookup" sheet, when the matching address information is typed in, in my 2009 sheet. I have to keep the street numerics and street name separate on this worksheet as well. I believe I'll need two separate lookup formulas as I need these formulas to start in cell G4 & H4 in my "GeoCoding1" sheet. Is it possible to have four columns of data to be viewed in a lookup formula? I tried this formula in cell G4 (GeoCoding1 sheet)
View 3 Replies
View Related
Jan 2, 2010
"If LOOKUP can't find the lookup_value, it matches the largest value in lookup_vector that is less than or equal to lookup_value."
"If lookup_value is smaller than the smallest value in lookup_vector, LOOKUP gives the #N/A error value."
how can i get the result to be "You have type the wrong data" if i've type that doesnt match the list of the lookup value ?
View 7 Replies
View Related
Nov 22, 2007
I am using an array formula (on the RIM Detail Sheet) to assign a weighting to a value taken from Irregular securities sheet; though the values that this formula need to return don't seem to be correct.
I am specifically referring to row 111 of RIM detail sheet. As the corresponding value on the Irregular securities sheet is > 50%; the array formula should return a result of 2 but instead its returning 10.
View 8 Replies
View Related
Mar 27, 2009
I have a file that I would like to lookup variable row and a variable column. I have tired vlookup and hlookup but these do not work because you have to specify a given column or row versus having that column or row be variable. Is there a way to do this.
Think of a set of times tables. I would like to input 8 and 9 and get 72 as an output. How could I go about doing this?
Or in the attached file, I would like to say A and 15 and get A15.
View 3 Replies
View Related
May 18, 2007
im trying to get the lookup answer based on two values the current formula i have is
=VLOOKUP(AND(A1,B1),Sheet2!$A$1:$C$31,3,FALSE)
which naturally returns N/A... i might even be using the wrong formula?
View 2 Replies
View Related
Feb 14, 2009
I am trying to find a formula that would pick out a row from a matrix based on the values in the first column and then return to me each of the subsequent values from that row. I can't do a vlookup because there are a lot of blank cells and which columns have data changes. I've attached an example. The text in A1 will change and cells A3:B5 will show the corresponding values from that row along with the column title. I would prefer a formula to type in and leave in cells A3:B5 but if that can't be done VBA is okay too.
View 6 Replies
View Related
Jun 11, 2009
I have a large amount of data similar to the format in the 'raw data' worksheet. I would like to create a matrix of some kind and reformat it. The matrix I want to create is shown on the 'matrix' worksheet. The problem is I do not have the time to do this manually. I need some type of formula to populate the 'matrix' worksheet.
I believe it would have something to do with the index and match functions.
View 3 Replies
View Related
Jul 29, 2009
sample belelow, Column B is the Criteria, Column A is the Reference and Column C is the field results. how to write the formula using sample below.
A B C
1 JN00012074 JN00012074 AP00003237
2 Customer JN00012074 AP00003237
3 Vendor JN00012074 AP00003237
4 AP00003237 JN00012074 AP00003237
5 28128 JN00012074 AP00003237
6 JN00012075 JN00012075 AP00003238
7 Customer JN00012075 AP00003238
8 Vendor JN00012075
9 AP00003238 JN00012075
10 28129 JN00012075
11 JN00012076 JN00012076
12 Ledger JN00012076
13 Ledger JN00012076
14 AP00003239 JN00012076
15 28130 JN00012076
View 9 Replies
View Related
Dec 3, 2009
Let me try and word this in a way that makes sense.
1) I have a workbook with 2 sheets
2) Sheet 1 has a list of each employee/Name in column A
3) Sheet 2 has a output file that has a list of employees (same format as sheet 1) in Coumn A, with Column B having login time and coumn C having log out times. The issue is that the names may be shown more than once with different times depending if the agent logs in and out several times during a day.
4) Sheet 1 in Column B I am trying to do a lookup for a match of sheet 1 Column A (name)to a Match on Sheet 2 Coumn A (name) and once found look for that name and ensure it is the only one and if not then look for the Min time corresponding to that name in Column B and display it in column B on sheet 1.
Example Sheet 1 Column A;
John Smith
Jane Doe
Example Sheet 2, Column A is the names and column B is the time ;
John Smith 2:00
John Smith 2:15
John Smith 1:10
Jane Doe 12:00
View 9 Replies
View Related
Sep 8, 2013
I am trying to find a way to use lookup or any other formula to return the results of the first value bottom up.
Ex.
My data is an org codes. So, if the object code is (3), I want excel to give me the org code of the first (2) starting from the selected cell going up.
1 120000
2 120001
3 120002
3 120003
3 120004
2 120005
3 120006
3 120007
So, 3 120006 should return the value of 2 120005 not 2 120001.
I've tried lookup, vlookup, index, match, nothing worked so far or I night not used it right !
View 6 Replies
View Related
May 16, 2014
I have duplicate product ids on same date with different unit sold and need to extract all the unit sold for a product id on a particular date. How to concatenate a formula? The array formula that I use does not work:
=IF(MIN(IF(UnitsSoldOnlineVlookup!$A$2:$A$980=A2,
IF(UnitsSoldOnlineVlookup!$C$2:$C$980=B2,
ROW(UnitsSoldOnlineVlookup!$A$2:$A$980)-
[Code] .....
The formula needs to lookup units sold in UnitssoldOnlineVlookup tab and enter them in Units sold column (highlighted in orange in the attached UnitsSold workbook) in Performance tab.
UnitsSold Workbook.xls
View 8 Replies
View Related
May 16, 2014
I'm trying to come up with a lookup formula that would look at Column A and Column B then return the matching result from column C. If I entered A in a cell it would return 11, but if I entered 1 it would still give me 11. how to do a lookup with two columns, but didn't get far.
lookup.JPG
View 4 Replies
View Related
Jun 23, 2014
I have a sheet of locations that runs left to right. Under each location, their is a contract number (Example: AA, BB, CC...) with a corresponding value two columns to the right (Example: 11, 22, 33).
I can't figure out how to structure a lookup formula that will retrieve the value that corresponds to the contract. Here is an example: example.xlsx
View 3 Replies
View Related
Jul 9, 2014
I am trying to use the formula in Sheet3 cell T4 for the summary. If I added an OR to IF statement, the answer is incorrect.
The formula should state like this:
if the result is not in Sheet1 then it should lookup the value in Sheet2. But, there are instance that the value is not only VL. It may be EL or SL or AWOL or VL 0.5 ... If this is not the value, then the result must be blank instead of the plotted time in Sheet2.
View 2 Replies
View Related
Dec 4, 2013
Column A has employee Numbers . ( May repeat , not necessarily specific no.of times )
Column B has date of Joining
Column C has effective date ( There is certain amount to be paid to that employee , from that date until it is revised to a new value )
Column D to - Column H has Months .(Jan-2013 to Jun 2013 ) with the amount to be paid as stated above.
What is the total amount to be paid for an employee considering the updated values .
As shown in the excel , coloured cells are to be summed up for an employee (ex:- Emp.No 1 , Emp. No 2 )
Emp. NoDate of JoiningEffective Date Jan-13Feb-13Mar-13Apr-13May-13Jun-13
11-Dec-12 1-Dec-12100110000400010003000 500
21-Jan-131-Jan-13102112100484012103630605
11-Dec-121-Apr-1300010003993666
32-Feb-131-Feb-13014641585614644392732
11-Dec-121-May-1300005315886
43-Jun-131-Jun-1300000974
[code].....
View 1 Replies
View Related
Dec 5, 2013
How could I create a formula that would look up based on month, category, and most importantly an indirect? I have attached a spreadsheet, the indirect is in K13 (and could be Quarter 1, Quarter 2, Quarter 3, Quarter 4) with matching data in "Sheet 2".
View 3 Replies
View Related