VLookup Table Name From Cell

Feb 29, 2012

I have 2 option buttons to select a data table

option1 = XData1
Option2 = XData2

When I click the option I want it placed the table name in cell:p4

In a vlookup, I want to reference that table name in cell p4 ex: VLOOKUP(C13,p4,$C$7,FALSE)

I have also named cell p4 to xData and tried: VLOOKUP(C13,xData,$C$7,FALSE)

View 3 Replies


ADVERTISEMENT

Using Cell Value For VLOOKUP Table Array

Apr 3, 2014

I have a spreadsheet with 51 worksheets - a "Master" worksheet and 50 datasheets (labelled 1-50). Within the "Master" worksheet the first column has numerical values ranging from 1-50.

One of the columns in the "Master" worksheet is a VLOOKUP that is trying to pull data, of which the table array is dependent upon the value in the first column. For example:

If cell A2 has the number 1 the VLOOKUP would be:
=VLOOKUP(E2,'1'!$A:$E,3,0)

If cell A2 had the number 2 the VLOOKUP would be:
=VLOOKUP(E2,'2'!$A:$E,3,0)

If cell A2 had the number 3 the VLOOKUP would be:
=VLOOKUP(E2,'3'!$A:$E,3,0)

etc.

Tried nesting an INDIRECT function with the VLOOKUP but it didn't work.

View 2 Replies View Related

Vlookup, Using A Cell That Contains The Table Reference

Dec 12, 2008

I have a worksheet that uses a lot of vlookups and I have to update the filenames and locations quite often. I would like to update a single cell rather than updating every single formula.

However I am getting the #VALUE error when trying this.

Simplified Example:
I have: =VLOOKUP(A3,[Table.xls]Sheet1!$A$1:$B$4,2,FALSE)
I would like to place [Table.xls]Sheet1!$A$1:$B$4 into a cell (D1) for example.

And have my vlookup function as =VLOOKUP(A3,$D$1,2,FALSE)
This way I only have to update D1 when I want to change the filename instead of a whole lot of functions.

View 2 Replies View Related

How To Control Table Array In Vlookup By Using A Cell

Aug 22, 2014

I need to make a vlookup which returns values for many 1000 material numbers. The values is located several other files. My problem is that i dont want to update all vlookups every time the other files (with my values) are getting updated.

e.g.

i want to have en cell A1: FileNameVersion1 and when someone updates the file the only thing i have to do is to change the name in cell A1 to FileNameVersion2.

View 3 Replies View Related

Reference A Cell For Tab Name In VLOOKUP Table Array

May 27, 2009

Sheet 1 contains:

Item Sheet 2
ABC =vlookup(A2,'Sheet 2'!$A:$B,2,false)

Sheet 2 contains:

Item Data
ABC 2

I'm trying to get the vlookup to return the value "2"

Right now, I'm manually entering the tab name in the vlookup function, even though it's contained in cell B1.

The tabs are contained in the same workbook if that matters. Since this workbook is growing rather quickly, this is a painful process and doesn't feel very scalable. Since I'm using a mac, I need to do this with functions vs. macros. Does anybody know how I can reference a cell for the name of a tab in the vlookup function?

I was thinking I could maybe somehow do this with the INDIRECT function but I'm stumped.

View 3 Replies View Related

Table Array Sheet In VLookup Formula Be Based On Value From Another Cell

Mar 4, 2014

I would like to have vlookup formua. And I would like the sheet for the table array section be linked to a cell value. So in my workbook this is my vlookup formula:

=VLOOKUP(B2,sheet1!B2:C8,2,FALSE)

I would like to to be something like =VLOOKUP(B2,(=b3)!B2:C8,2,FALSE). This way I can change the value in B3 and the vlookup formula will look for values in a different sheet as opposed to the one I originally designated in the formula.

Here is my workbook: Book1.xlsx

View 4 Replies View Related

VLOOKUP Table Array Equal Cell Name (change Automatically)

Jan 17, 2014

What I want is that I have a table like below (but it's long for 52 weeks) and long down with Vlookups. I want the formula with which I can just do the copy-paste and it will work. W1, W2.... are the sheet names with exactly the same formats inside.

A
B
C
D
E

5

W1
W2
W3
W4

6
Sales
10
#N/D!

[Code] .......

The base formula (for W1) is:
=Vlookup($a6;'W1'!$A:$B;2;0)

What I want, is the formula which instead of "W1" will write the sheet name which is in a row 5 (basically - cell name which is equal the sheet name), so with just dragging and moving the formula I will got the data from different sheets.

I tried this: =Vlookup(A6;'indirect("c5";1)'!$A:$B;2;0)

But I got #N/D! as in the example, instead of the numbers (yes, I put numbers into W1 and W2 sheets .

View 4 Replies View Related

VLOOKUP With INDIRECT (become Dynamic As The Table Array Part Of The Vlookup Will Change)

Aug 18, 2009

I have a Vlookup which I want to modify so that it can become dynamic as the table array part of the vlookup will change.

So the basic vlookup is as follows:
=VLOOKUP($R$3,ATTRIBUTION_FACTSET!$M$60:$P$73,2,0)
but the data I am looking for wont always be in the range M60:P73.

So I tried to make it dynamic by doing the following:
=VLOOKUP($R$3,INDIRECT("ATTRIBUTION_FACTSET"&"!M"&U1&":P"&V1),2,FALSE)
The idea being that U1 and V1 would be numbers that can change so in this case U1 would equal 60 and V1 would equal 73

This vlookup is giving me #N/A and no matter how I modify it I cannot get it to work.

View 3 Replies View Related

Data Table Is Pasted In For VLookUp - Not Have To Redo Table Name Each Time

Jun 2, 2013

I created a lookup table that works quite well. It even has if statements in the LookUp Formula. However, I have to update the table it pulls the information from each day. I wind up recreating the range each time because the table always has more rows each time. Is there a way I could just paste the table in each day and not have to change the range? The columns never change.

View 9 Replies View Related

Lookup Up Entire Table Not Just Column In Table Like Vlookup Does

Jun 5, 2014

I'm trying to see if you can look up multi columns for a number and when it finds it return back to one column and return that data?

I am trying to sort out territories for a state I work on; the territories are divided up by zip codes.

i.e.
A B C D

territory 1 12345 54321 11222
territory 2 22222 33333
territory 3 44444 55555

and what I want is to say put a formula in cell B3 on Sheet 1 pointing to cell C3 that has zip code 33333. I want it to then take that and look in Sheet 2 and search A1:D3 and when it finds 33333, return "territory 2" back to cell B3 on Sheet 1.

View 3 Replies View Related

VLookup Table To Another Table That Has Multiple Values

Jun 24, 2014

Vlookup a table, to another table that has multiple values.

E.g.

Table
GPASP002

Look up table - need to return second coloum but not the first value, all the values?
GPASP002 KZASP100
GPASP002 KZASP500
GPASP002 KZASP600
GPASP002 KZASP501
GPASP002 KZASP502
GPASP002 KZASP601

View 2 Replies View Related

Lookup Table In VBA Rather Than VLookup Table?

Nov 23, 2011

I get a file every day that contains online orders for a client. They have made the state and country fields on the order form free text, so sometimes the State field has CA, sometimes California, sometimes even Cal or Cali. Oregon may be represented as OR, Oregon, or Ore (and one time even Orygon.)

The country field may have US, USA, United States and sometimes United States of America.

Well, they need this data imported to their system with the states fully spelled out: Oregon, California. And the country spelled out as well: United States, Canada.

Right now I have a lookup tables worksheet that I just have a macro run a vlookup on. But I'd like to know if there is a way I could just put it all in the code, without the external tables.

i.e. some code that, in English, would basically say, "If the value of any cell in column K is among these values, replace it with those values, otherwise just leave it as it is". Could I do that while containing the two sets of values right in the code rather than on a worksheet?

I really just want to replace the standard abbreviated state/country codes with the full text, and if the value does contain Cali or Ore, let them manually make the change. Hopefully that will finally nudge them to just make the online order form utilize a drop-down list of states and countries, rather than free text.

View 1 Replies View Related

VLOOKUP And MAX For A Table

Mar 18, 2014

I have an excel assignment that I am stuck on the last question. The questions is as follows:

"Make cells B7:M21 a range called "Data". Using this range, write a function that displays the names of the club's most extravagant and frugal members in cells I28 and I29. This formula may be somewhat tricky. If you cannot do this simply use functions to identify the highest and lowest monthly payments instead."

I have named the range and I have been trying to use a combination of VLOOKUP and the MAX function to return the Last Name to I28 and I29, but I just can't get it to work.

A3-1402-W14-Q1.xlsx

View 3 Replies View Related

Bug In A VLOOKUP Table

Aug 26, 2008

I have a VLOOKUP table with 805 rows and 88 columns (A5 to CJ805). When asked to display the figure in column 84 (CF) relative to that in Column 1 (A), i.e. for a figure in Cell A75 it should display CF75, it sometimes displays the figure which is 1 row above, i.e. CF74.

View 9 Replies View Related

Table Refererences In Vlookup

Jul 29, 2009

Is it possible for me to use the contents of a cell to change what table is being looked at in a vlookup?

E.g. lets say i have a bunch of data which is split into months with each month having it's own table. In cell L3 i have a formula to display the current month from today's date from H3 (using =today()).

Therefore when using a lookup i want to refer to L3 which effectively has in the title of the table i want to look at.

View 2 Replies View Related

VLOOKUP Vs Pivot Table

Jan 29, 2010

In creating a new sheet to allow for multiple piece of information to auto fill; I am struggling on a small VLOOKUP issue. On my parts information page (where the info is being pulled from) I want to be able to separate out data based on the manufacturer while still leaving enough open/blank space for future additions. My issue is that with VLOOKUP every time I add to the current list(s) of data, I have to re-sort to alphabetic in order for it to work right. This means that the separation I am looking for disappears for the most part. Maybe I am doing something wrong or I am missing something, which if so, do Pivot Tables work better for this situation?

How my sheet is working is the user can pick from a list of items, click a button and the item is then transferred to another page, when it transfers the corresponding cells on the transferee page will auto fill with the rest of the info in those cells, thereby displaying not only the item picked but all of the realative data with it.

View 2 Replies View Related

VLOOKUP With Table Not Ascending

Oct 13, 2011

I'd like to carry out a VLOOKUP on a list of product. The product numbers contain numbers and letters, some start with several 0's. If i were to convert these product numbers to an actual number, the 0's are removed.

So, when I attempt to place the list in ascending order, it's not really in ascending order - it will start with the part numbers that Excel has defined as a number with everything else afterwards.

Is there anyway I can run a VLOOKUP without having to place the lookup table in ascending order?

View 6 Replies View Related

Vlookup Function To Look Up In A Table

Sep 29, 2008

I need to create a summary table of dates and data. The trick is I need the vlookup function to look up say 7/1/08 in a table that all the dates are of the format 7/20/08 and so on. Is there a way to have the vlookup return the proper data by ignoring the day.

View 9 Replies View Related

VLOOKUP Table Ranges

Nov 28, 2008

Is there anyway to, instead of indicating specific cells to be included in the range of a VLOOKUP table, designate the table range as whatever cells are selected in a spreadsheet.

The VLOOKUP formula is in a spreadsheet called "Template". The VLOOKUP table range will be in a spreadsheet called "Statement of Assets".

Here is the formula I have:

=VLOOKUP("Lookup Value",'Statement of Assets'!$A$122:$C$142,2,0)

But the row numbers in "$A$122:$C$142" is going to change depending on what plan number I am working on. Columns stay the same.

What I want is something like:

=VLOOKUP("Lookup Value",'Statement of Assets'!whichever cells are selected,2,0)

View 9 Replies View Related

Vlookup - Value Not In First Column Of Table

Apr 4, 2007

Is it possible to use the VLOOKUP (or similar function) when the value it is looking up is not the first column.

A B C
Kevin 8.00 140000003
Paul 8.00 140000001

I want to lookup the value in column C and return the value in column A. Kind of the reverse to this =VLOOKUP(E1,A1:C2,1,false)

View 2 Replies View Related

Pivot Table Using Data From Vlookup

Feb 5, 2014

I have a Takeoff sheet where an estimator enters a part# and the rest of the data is entered on the Takeoff sheet by using Vlookup to retrieve the information from the Products Sheet (there are about 12,000 products with 12 fields for each product). I need to then take all of the parts on the Takeoff sheet, and summarize the data, which is what Pivot Tables are for. The thing I cannot find out, is if this can be done. The machine keeps running out of memory (it has 32g, so I question that, and I tested with a 500 row sheet and got the same result), so I can never get the Pivot Table to actually create, or get a useful error message. Searching the web and this forum tells lots about Vlookup IN a Pivot Table, but not creating a Pivot Table from Vlookup data. I copied the data values to a new sheet to test the data and the Pivot created fine, so I believe the data itself is properly formatted.

View 1 Replies View Related

VLookup Formula - Table Array

Jun 7, 2014

I am currently using the following formula:

=VLOOKUP($A$3, Sheet1!A:B, 2, 0)
=VLOOKUP($A$3, Sheet1!C:D, 2, 0)
=VLOOKUP($A$3, Sheet1!E:F, 2, 0)

The problem is I am trying to get the table Array portion (A:B , C:D , E:F etc.) to auto fill when I drag it across and it will but not correctly. How to autofill with the pattern that I need?

Currently it would auto fill with D:E , F:G, H:I G:H I:J

View 1 Replies View Related

Horizontal And Vertical VLOOKUP In A Table?

Jan 27, 2014

I have to fill an invoice template, whereby I need to lookup the unit price in a pricing sheet, based on the effective date (horizontally placed) and the specific tasks to be invoiced (vertically placed).

The effective date cell (B1) is the one that can be changed, the formulas in the unit price cells (yellow highlighted) then needs to look up the price for that specific task in the table on the tab "pricing sheet".

I was trying something with INDEX / MATCH, but can't get it to work.

View 4 Replies View Related

VLOOKUP, IF Condition And Pivot Table

Feb 22, 2009

Have following table:
No. Be Country
1 D GB
1 C DE
2 B DE
2 A GB

I want to present it as follow:
GB DE
1 D C
2 A B

Did not solve it with a pivot table. Not either with VLOOKUP combined with IF. I am thinking in the direction: If 1 in the first column and GB in the third, return the D. But I am not getting it right.

View 2 Replies View Related

Vlookup, 9 Different Variables, 9 Different Table Array

Jun 11, 2009

I need to be able to do a look up in 9 different table arrays using 9 different ranges.

I have attached a worksheet to help explain. My problem is that I can't have 9 IF statements in one formula.

I am not sure how to make this smaller or work.

View 14 Replies View Related

Conditional Vlookup Return Table

Sep 10, 2009

Main (Sheet1) - Got a table with several informations relative to a number of a house
House1 (Sheet2) - Want the information extracted from Main (Sheet1) to a table.
House2 (Sheet3) - Want the information extracted from Main (Sheet1) to a table.

So basicly i want to extract the info from Sheet1 if it matches the Number of the House on sheet2.

With Vlookup can only get a cell value as i am not an expert in excel

See the attachment

View 2 Replies View Related

Creating A Ranked Table Using VLookup

Oct 8, 2009

This is a spreadsheet I'm using for my fantasy basketball draft that by adding information into table C3:N15 will populate stats into team sheets and output average stats into table D20:L31 and then create a rotisserie style scoring table outputted into B36:M47.

What I want to do (and have tried to do in table B51:M62) is output this to create a sorted ranked by Approx Score without using macros or VBA. I also want to do this using Excel 2003 rather than 07 (I'd love to take advantage of the AVERAGEIF function but i figure compatibility is my first concern).

The issue I have run into is that tie scores are going to make it difficult, and utilizing a table w/ summed ranked will lend itself to that happening...a lot. How can I solve this?

View 2 Replies View Related

Using VLookup Formula On A Sheet With A Table

Jan 31, 2012

I am trying to use a vlookup formula on a sheet with a table.

When I use =VLOOKUP([@[Loan Number]],Sheet2!A:B,2,FALSE)
It returns N/A as I would expect because I am not looking up based on the loan number.

When I use =VLOOKUP([@Processor],Sheet2!A1:B18,2,FALSE) the formula does work and displays the text "=VLOOKUP([@Processor],Sheet2!A1:B18,2,FALSE)"

I have also tried to reference the cell number with no success or =VLOOKUP([@[Processor]],Sheet2!A1:B18,2,FALSE) with no luck.

View 3 Replies View Related

VLookup Table Array From Different Files?

Apr 9, 2012

I am making a report with product usages for a given week. There is a file for each week.

At the moment I am using vlookup function and manualy change path to source file every week.

=VLOOKUP($A$1,'A:FilingDataMatrix 2012Production Matrix[Production Matrix 2012-Week15.xlsm]Mon - Ingredients'!$E:$F,2,FALSE)

Now I would like to avoid the part with manual changing. Instead I would like to have an ability to take the file path from separate cell.

View 2 Replies View Related

VLOOKUP Ignore Prefix In Table

May 24, 2012

Is it possible to create a vlookup but when it look in the table to ignore the letter i have prefixing.

=VLOOKUP(H8,'[1-90 week summary 08-01-10.xls]Sheet1'!$E$2:$F$501,2,TRUE)

H8 contains numbers ie 237 but the Table contains S237. what can i do so the lookup ignores the "S".

View 7 Replies View Related







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