Lookup To Left To Map Two Worksheets
Apr 4, 2008
I am trying to copy "E_CODE" column values corresponding to "Trimmed E_N" from sheet1 to sheet2 "check" column.
to do this, i am using the LOOKUP function to match the text in "sheet2 - CONC" with "sheet1- Trimmed E_N", and if it matches, return the corresponding values from "sheet1 - E_CODE".
not all strings in "sheet2-CONC" exist in "sheet1-Trimmed E_N", so i should be getting "sheet1 - E_CODE" values only for those that exist.
I tried using VLOOKUP but it kept giving me N/A, and i couldn't figure out why even after searching the forums. LOOKUP is giving me values that are greater/lesser than because of its inherent properties and now i am not sure what to do.
View 4 Replies
ADVERTISEMENT
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
Aug 15, 2013
Worksheet 1
Food
Expenses
KFC
500
Pizza Hut
100
[Code] ......
In worksheet 2, I would like to lookup the type of food that have expenses at 500.
So the output column should look like table below.
Food
KFC
Wendy
Sushi King
Papa John
View 5 Replies
View Related
Aug 24, 2009
Here is my spreadsheet
A B C D 1 Matt 5 4 75 2 Joe 25 23 66 3 Ron 31 33 82 4 Jim 22 45 91 5 Steve 99 100 11
I used the large function to find the top 5 greatest numbers. I have them ranked in another area below the first set of numbers.
100
99
91
82
75
I need to find some sort of formula to return the name for the appropriate number. For example, I need the cell immediately to the right of 100 to return Steve; 99 to say Steve; 91 to say Jim. The INDEX/MATCH formulas used for left lookups works only for a column. I would have to set the index/match formula individually for each column to the right of the top 5 numbers, and that defeats the purpose. I might as well just find the numbers and connect the names all by hand.
View 9 Replies
View Related
May 15, 2007
I am trying to use a lookup formula to search for a word in a column, and return the value of the column directly to its left. I know that this cannot be done using the vlookup function, and I am not able to move the columns around. Is there another possibility? In plain English then, I would like cell E2 to look up the value of D2 in column B2:B4 and return the relevant value in column A2:A4.
View 3 Replies
View Related
Mar 13, 2008
I have a data validation box and wish another cell to lookup the text in the validation box from a list a return a number next to it.
View 5 Replies
View Related
Apr 2, 2008
I have two worksheets. The first one contains 500 rows:
Column A - Company Name
Column J - Formula that calculates a 'company score' based on other data in columns B-H
Column K - Number of directors
The second worksheet contains over 3000 rows:
Column A - Name
Column B - Company
Column C - Designation
I want to caculate a score for each person (from worksheet 2) that does the following:
Personal Score = ('Company Score' / No. of directors) * Designation Weighting
Where Designation Weighting (numerical value) is determined by Designation (text). There are 10 different and mutually exclusive types of text in the Designation column.
My problem is compounded by the fact that each person (in worksheet 2) can be directors on several companies. The Personal Score that I want to calculate needs to recognise which different companies they are directors of and sum the scores derived from each company.
View 9 Replies
View Related
Feb 2, 2010
In the attached sheet I am trying to use the formula below but am getting a #NA error. I have narrowed the problem down to the use of the SEARCH and LEFT functions that I am using to determine the lookup value of the VLOOKUP formula.
what I am doing wrong? If I substitute the SEARCH and LEFT function with the number "14" it works just fine. You can find examples of both in cells B29 and C29 on the rename tab.
View 5 Replies
View Related
Oct 1, 2007
Basically what I am trying to do is use a Lookup formula on a sales invoice where the product name and product price will be automatically entered into the sales form when the product ID is entered. What would the formula be?
Product Information
RegionProduct IDProduct NameProduct Price
Product IDHPPHomeware Pizza Pan19.95
Product NameSPPStone Pizza Pan 29.95
Product PriceHCDHomeware Casserole Dish19.95
Units SoldHCPHomeware Cookie Pan 9.95
Total SaleCWChina Wok 19.95
HEWHomeware Electric Wok29.95
WCMWilson Coffee Machine29.95
HBMHomeware Bread Machine49.95
HBMDHomeware Bread Machine -Deluxe89.95
HRHomeware Rotisserie119.95
OGGOlson Gas Grill 159.95
OEGOlson Electric Grill 159.95
View 2 Replies
View Related
Apr 4, 2008
In the attached spreadsheet you will see the table of data in cells e6:L16. In cell N6 i am doing a hlookup to find the date in the table of data that is closest to the date in cell A4. The formula in cell M6 is where i am having the problem and i was trying to pull in data that is 4 columns to the left of where the hlookup date is in cell N6. The problem i am having is when i input any date higher than 06/30/07 the Index formula does not display the correct date. What is confusing me is that the Hlookup formula in cell N6 still works with higher dates but the index formula does not.
View 6 Replies
View Related
Jul 12, 2014
I need a formula for left coulmn lookup (using index and matching function) and lookup array has duplicate value.
View 1 Replies
View Related
Feb 21, 2007
=INDEX([ipathfall07shoes.xls]Sheet1!$B$2:$W$139,MATCH(C17,0),1)
View 9 Replies
View Related
May 8, 2014
I have a 2010 excel sheet containing 14 columns and 45082 rows in total. I am quite illiterate when it comes to writing macros but I know that what I need can be achieved with a set of codes.
To be more clear, I inserted two tables below. The first one represents the current data structure, and the second one is the way I want my data to look like.
Current data structure looks like
Variable 1
Variable 2
Variable 3
[Code].....
View 9 Replies
View Related
Dec 15, 2009
I'm looking for a function to look up a value from other worksheets after selecting a person's name from a drop down list. Here is an attachment to further illustrate.
View 5 Replies
View Related
Sep 24, 2009
see the attached Sample excel file. I have an excel file with multiple worksheets - Serial 1, Serial 2, Accessories. I need a formula which will go into Accessories:
1) Search for a certain value within 2 sheets Serial 1 and Serial 2
2) Once located, get the cell data from another cell within the same row and copy into appointed cell in Accessories
I have used the LOOKUP function as per this thread Lookup Value Across Multiple Worksheets and wonder if I can simply adjust it to perform Part 2 of my requirements noted above. =LOOKUP(Accessories!A2,CHOOSE({1,2,3},"Not found",INDEX('Serial 1'!G:G,MATCH(Accessories!A2,'Serial 1'!G:G,0)),INDEX('Serial 2'!G:G,MATCH(Accessories!A2,'Serial 2'!G:G,0))))
View 6 Replies
View Related
Aug 11, 2007
I am attempting to perform a vlook across multiple worksheets -- per the instructions provided here - [url]
My results are coming back with an Invalid Name Error or #NAME?. The formula I am using is: =VLOOKAllSheets(A17,C$20:C$5000,1,FALSE)
The custom excel function is:
Dim wSheet As Worksheet
Dim vFound
On Error Resume Next
For Each wSheet In ActiveWorkbook.Worksheets
With wSheet
Set Tble_Array = .Range(Tble_Array.Address)
vFound = WorksheetFunction.VLookup _
(Look_Value, Tble_Array, _
Col_num, Range_look)
End With
If Not IsEmpty(vFound) Then Exit For
Next wSheet
Set Tble_Array = Nothing
VLOOKAllSheets = vFound
View 8 Replies
View Related
Oct 29, 2006
On " sheet 1" I have a cell A1 with a number 12550 in it. On the following 6adjacent cells from B1 to G1 there are specific values assigned to them.
(Eg. $20, $30, $40, pork, 145, and spicy). There are currently 4 worksheets in the workbook and some of the worksheets contains the value "12550" in CellA1 of Sheet 1 while others don't.
I wish to search in a similiar column, from A1 to A50, throughout sheet 2, 3 and 4, for the value of "12550". Once the value is found in a sheet, the corresponding values to the 6 adjacent cells (from B1-G1 in Sheet1), are copied and pasted next to the "12550"cell. If there are no "12550" cells found in a sheet, the macro should continue as normal.
View 2 Replies
View Related
Apr 24, 2008
Would like to lookup values across multiple worksheets. I am able to do this for a single worksheet using OFFSET(Karthik!$E$1,MATCH(A2,Karthik!E2:E21,0),-3).My Work Sheet Names are Karthik & Ramesh. How can i reference these worksheets in the above formula?
View 8 Replies
View Related
Apr 27, 2009
I'm working on budgets (salaries). I have one main spreadsheet with all employee names listed - other spreadsheets are for each department. I need to bring the total salary from the department spreadsheets and would like to do this by looking up (or matching?) the names in the column from the main sheet to the department sheets and then putting the salary from the department spreadsheet to the main spreadsheet. In addition, I have several that have their salary split between two or more departments. On my department spreadsheet I have a column labeled % of salary for this department. On the main spreadsheet, I want to figure out a formula that will sum the percentages for a certain person (so I make sure I don't go over 100%).
For example - Joe Smith's name is on the main employee spreadsheet. He is also listed on 3 other department spreadsheets, with % of salary listed as 30% for department 1, 30% for department 2, and 40% for department 3. On the main spreadsheet I need to add up Joe's percentages from the department spreadsheets.
View 6 Replies
View Related
May 28, 2009
Could ANYONE help me solve this formula based on critera sheet name.
On my main sheet workbook i have all the sheet names in column A with their description in column B. In column C i would like to have sort of this formula with result as total.
eg....
View 8 Replies
View Related
Feb 5, 2009
I am having trouble filling a formulae series to the left on one spreadsheet, the fomulae being references to another sheet.
For example, I have two sheets 'Mtce Options' and 'Base Case'. In 'Mtce Options' I have the following formulae
A B C
1='Base Case'!A15='Base Case'!D15='Base Case'!G15
I want to fill to the left, incrementing the column references by a factor of 2 each time, eg. next two should be ='Base Case'!J15 and ='Base Case'!M15.
However, if I autofill to the left by highlighting A1, B1 and C1 or just B1 and C1 all I get is an inappropriate reference such as ='Base Case'!D15 or ='Base Case'!F15, respectively, in D15.
View 2 Replies
View Related
Feb 2, 2005
I want to create a summary sheet that will lookup a particular cells value on
multiple sheets (averaging 58 sheets) in a workbook (e.g. $J$19) based upon a
cell next to it ($I$19) that will match the criteria on the summary sheet
(e.g. w1, w2, w3).
I have tried VLOOKAllSheets but when there are other similar workbooks open,
it doesn't work right.
View 14 Replies
View Related
Sep 14, 2006
I'm trying to compare 3 different worksheet in the same workbook and copying the unmatched values into a new worksheet. find the attached file. In the sample file, am comparing sheet1, sheet2 and sheet 3 with sheet1 as the base. the columns mite differ in their location but the column headers are same.. The difference, bolded cell, should be copied along with the header and the code, into a new file and has to be saved...
View 2 Replies
View Related
Jan 5, 2007
I am trying to track cost. A master purchase order sheet has a column with a number relative to an account. I have about 50 accounts and a seperate sheet for each account. I want to enter the account number on the master purchase order sheet and based on that number, have the following data on that row copied to the next available row in the sheet for that account.
View 9 Replies
View Related
Apr 16, 2007
I am trying to find a formulae that will sit in a summary sheet and lookup all of the worksheets in a workbook ( approx 80) for a particular individual's name and calculate the total amount paid.
The spreadsheet lists cash amounts by person for each week of the year. the individuals change, as they come and go during the year but the format of the spreadsheet remains the same.
I have attached the summary sheet and a few of the additional sheets. My formulae have fallen apart as I have been adding each person in manually, but I hope it will still be clear.
View 5 Replies
View Related
Jun 26, 2007
I would like a formula to lookup a value across worksheets and if found return the worksheet name that coresponds to that value. I do have this formula below but it will not retrive the correct worksheet name if there are duplcates values.
=INDEX(WSLST,MATCH(TRUE, COUNTIF(INDIRECT("'"&WSLST&"'!B2:B9"),B2)>0,0))
So I tried to use the define names formula method:
Col_B =N(INDIRECT("'"&XWSLST&"'!B"&(2+MOD(S,N))))
N =8
S =ROW(INDIRECT("1:"&(N*ROWS(WSLST))))-1
WSLST =Sheet1!$A$2:$A$3
XWSLST =T(OFFSET(WSLST,INT(S/N),0,1,1))
and modified the formula into this manner: =INDEX(WSLST,MATCH(TRUE,COUNTIF(Col_B,B2=S)>0,0),COUNTIF(B$2:B2,B2))+1
I left a sample workbook below that in column E are the values that I'm expecting.
View 3 Replies
View Related
May 14, 2008
This formula works on 1 sheet but we are unable to make it work looking across multiple worksheets? Looking for a match to A3 in column G and wanting to pull the info from column E in the same row.
=IF('2'!G3:G271=A3, LOOKUP(A3,'2'!G3:G271,'2'!E3:E271),0)
View 8 Replies
View Related
Jan 17, 2014
I am trying to use the INDIRECT function to look up values on a range of other worksheets. I have a column of data in col A which is essentially a lot of different worksheet names. On each worksheet I need to use VLOOKUP to find a value.
Easier to show formulas. This is an example of what I want to recreate:
=VLOOKUP(O2, test!B3:C13,2,FALSE)
I want to replace the text "test" with the text in column A. So the first INDIRECT formula looks like this:
=INDIRECT("VLOOKUP(O2, " &A1& "!B3:C13,2,FALSE)")
Which to me looks like it should work but I get a #REF! error. I've tried various permutations, e.g. having the INDIRECT part of the formula located in a different place (next to the "test" text) but run in to similar issues.
View 5 Replies
View Related
Feb 22, 2008
We have the following formula in our timesheets. Basically when we enter a Job number in one cell in say Tab1, it will return the matching project name in a different cell that we have next to the project number. The job number match is done in the tab named "ProjectSchedule", where all the details of the project are listed. We need to extend the match range to include another tab named "CustomSchedule", but I can't figure out how to make the first formula search jobs from both tabs.
Current working formula:
=IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202,0)))
What I'm trying to accomplish, but it not working is something like this:
=IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202&CustomSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202&CustomSchedule!$B$3:$B$202,0)))
View 9 Replies
View Related
Oct 9, 2008
I want to make a lookup on a string of words from one of my worksheets and I also whant to make a hyper link so that when I click on the lookup command I should pop to the other worksheet were my database is.
View 2 Replies
View Related