Excel 2007 :: Vlookup Using Multiple Columns?

Jun 27, 2011

I'm looking to simply find a function that allows me to lookup a certain value in a table of data and return the value in a specific column. So if I looked up the current date, 6/27/2011, it would return the week it is in (26). I dont want to be limited to just the monday column however, as the dates I will be throughout the entire week. Is there an easy way to do this in excel 2007?

MondayTuesdayWednesday ThursdayFridaySaturdayWeek
5/2/20115/3/20115/4/20115/5/20115/6/20115/7/201118
5/9/20115/10/20115/11/20115/12/20115/13/20115/14/201119
5/16/20115/17/20115/18/20115/19/20115/20/20115/21/201120
5/23/20115/24/20115/25/20115/26/20115/27/20115/28/201121
5/30/20115/31/20116/1/20116/2/20116/3/20116/4/201122
6/6/20116/7/20116/8/20116/9/20116/10/20116/11/201123
6/13/20116/14/20116/15/20116/16/20116/17/20116/18/201124
6/20/20116/21/20116/22/20116/23/20116/24/20116/25/201125
6/27/20116/28/20116/29/20116/30/20117/1/20117/2/201126
7/4/20117/5/20117/6/20117/7/20117/8/20117/9/201127
7/11/20117/12/20117/13/20117/14/20117/15/20117/16/201128
7/18/20117/19/20117/20/20117/21/20117/22/20117/23/201129
7/25/20117/26/20117/27/20117/28/20117/29/20117/30/201130
8/1/20118/2/20118/3/20118/4/20118/5/20118/6/201131
8/8/20118/9/20118/10/20118/11/20118/12/20118/13/201132
8/15/20118/16/20118/17/20118/18/20118/19/20118/20/201133
8/22/20118/23/20118/24/20118/25/20118/26/20118/27/201134
8/29/20118/30/20118/31/20119/1/20119/2/20119/3/201135
9/5/20119/6/20119/7/20119/8/20119/9/20119/10/201136
9/12/20119/13/20119/14/20119/15/20119/16/20119/17/201137

View 4 Replies


ADVERTISEMENT

Excel 2007 :: VLookup Across Multiple Columns

Feb 20, 2012

I am using Windows xp and Excel 2007. I'm creating a user form and have a vlookup formula that goes to a table and looks up calories and sodium based on the text entered by the user. My problem is that I want to be able to populate the 3 columns with information and then sum the values that are returned to the Calories and Sodium columns. Is that possible with Vlookup?

=IF(ISNA(VLOOKUP(F8&G8&H8,Food!A:E,4,FALSE)),0,VLOOKUP(F8&G8&H8,Food!A:E,4,FALSE))

Water 24 ozOther DrinksGelsSolid FoodCaloriesSodium

00
00
00

View 7 Replies View Related

Excel 2007 :: Multiple VLookup In One Cell?

Nov 27, 2013

I am trying to get one cell to look at different sheets. if the first sheet doesn't have a value, than look in the next sheet. current formula is

=IF(ISNA(VLOOKUP(Q2,'sheet2'!$D$2:$K$1807,7,FALSE)),"",VLOOKUP(Q2,sheet2'!$D$2:$K$1807,7,FALSE))

I am having cell return blank if no value is found. it is currently looking only at one sheet.

I don't want it to combine the values like this formula does.
=(VLOOKUP(Q2,'sheet3'!$D$2:$K$200,7,FALSE)&","&VLOOKUP(Q24,'sheet2'!$D$2:$K$1807,7,FALSE)) #.###,##.##

sheet 1 is where the cell I am writing the formula is in, and I want to look in sheet 2, 3, and possible 4 for a value, I want to only have the greatest value show between the sheets. is this possible.

I am using excel2007.

View 9 Replies View Related

Excel 2007 :: Automatically Transfer Columns From One Worksheet To Another In Multiple Columns?

May 4, 2013

I would like to take the data from worksheet1 and put into worksheet2 but limit the length of a list (the real spread sheet has over 100 rows and i would like them in 4 sets of 25 versus the example I provided). Is there an array or macro that would make this work (keeping the formatting)..

Excel 2007
B
C
3
Name
Company

[Code].....

View 9 Replies View Related

Excel 2007 :: Using VLOOKUP And OFFSET Instead Of Multiple IF And VLOOKUPs?

Jul 29, 2014

Sample data

2014
2013
2012

Country A

2%
3%

Country B
5%
6%
7%

[code].....

Now, whenever I type in any country it should show me the most recent figure available for that country.

Suppose, if I type Country A in, say cell A14, then it should give me output 2% in cell, say A15. When I change that same cell to country C, it should give me output 10%, country B should give me output 5%.

Currently I have used IF and multiple/nested VLOOKUPs to arrive at this output. Is there any better way to do this with VLOOKUP and OFFSET?

I am using Excel 2007.

View 3 Replies View Related

Excel 2007 :: Obtaining Average Across Multiple Worksheets Using VLOOKUP?

Feb 17, 2014

very basic Excel user (using Excel 2007). Trying to see how I can use the VLookup function from multiple worksheets to get an average. I know it can be done, but just not sure how to go about doing that. My spreadsheet is attached - basically what I want to do is to get an average for the individuals listed in the "Consensus" tab for the figures that appear in Worksheets "1", "2" and "3".

View 14 Replies View Related

Excel 2007 :: Categorizing By Multiple Columns And Rank?

Jun 13, 2013

I'm currently working on a process to recategorise products for a distribution company to give a category based on successful sales transactions.

Product Code
Category
Month 1
Month 2

[Code].....

This isnt the actual data in case you're wondering I'm doing this with 32k lines.

So, what I want to have is categories based on sales transactions, labelled with letters. So, cat A is sales in three consecutive and top X when total of three month consecutive sales, cat B being above X number of transactions in three months not already categorised by cat A. There is a Cat C, and various others which I can do myself, but i dont know how to make the category A work.

I'm using Excel 2007.

View 4 Replies View Related

Excel 2007 :: Text Formatting With Data From Multiple Columns?

May 8, 2013

My data is in column A. I need to have the data as in column E and F. Column E is the field names.Rows can be up to anywhere and may very.

Excel 2007
A
B
C
D
E
F

View 8 Replies View Related

Excel 2007 :: Move Recurring Data From 1 Column To Multiple Columns

Jun 6, 2014

I am using excel 2007. I have data which, instead of being posted on multiple columns, is all within 1 column. The data most simply has the characteristics of:

AAA
AAA - description
BBB
BBB - description
CCC
CCC - description
and so on..

I would like to move the descriptions from column A to column B:
AAA AAA - description
BBB BBB - description
CCC CCC - description
and so on...

What would be the best way to accomplish this?

View 4 Replies View Related

Excel 2007 :: VLookup With Checkboxes?

Mar 10, 2014

Well to start off I am using Excel 2007, I have an invoice template set up across two sheets (Invoice & Price Table), on the first page is the actual invoice that needs to be filled in. I have made an userform for being able to fill in the invoice number,what type of test was done, and also things like hours and miles (an their costs per also)

. Now I am wanting to try and get it to where I can have the form look at the type of test cell and from there select the price located on the second sheet that is appropriate to that type, the thing is, there are two possible prices that it can be depending on if the company wanted the results "rush". I was suggested that I could use a check box on the invoice to indicate in the spreadsheet that it is a rush, and somehow link that in with a vlookup to be able to get what I wanted, but I'm not sure exactly how I would go about doing that.

View 9 Replies View Related

Excel 2007 :: VBA Formula To Replace Vlookup?

Oct 4, 2013

I have two worksheets, contractor & list. Assume that Column (A) on the "contractor" worksheet is a named range from Column (A) on the "list" worksheet. On the "contractor" worksheet I would like to put in the contractors name, and auto populate the pay value in column (B). I have been using a Vlookup formula, but need to automate this process a bit more.

"Contractor" worksheet - Two columns: (A) I will input the contractors name from a dropdown list based on name range from my "list" worksheet. (B) is where I would like to populate the pay base on column (B) in my "list" worksheet.

Contractor (A)
Pay (B)

Jill


Fred


Jack

View 1 Replies View Related

Excel 2007 :: Formula To Add Figures Together When Doing VLookup

Dec 9, 2013

I am using Excel 2007, I have a customer sheet and a sales sheet in the same work book. My customer sheet lists all customers with a single entry only each with a unique customer code. My Sales sheet lists at an item level but does include the customer code so if my customer has purchased more than one item the customer code can be repeated on the Sales sheet on multiple rows.

When I do a vlookup to display the amount each customer has spent on the customer sheet, only the very first sales figure is displayed, if further down the sales sheet the same customer has made another purchase I want this figure to be added to the first figure and all I want to see on my customer sheet is the final total figure.

The vlookup formula I am currently using is:
=VLOOKUP(G2,Sales!$A$2:$B$1785,2,FALSE),

I'm thinking maybe a Vlookup will not do what I require, maybe I need a different formula/function?

View 8 Replies View Related

Excel 2007 :: Vlookup Not Capturing All The Duplicates?

Dec 6, 2012

I have used this template for a Vlookup and have been having troubles that I simply cannot pin down. Some duplicated numbers in Columns A and C will NOT appear in Column B. I am also trying to work it out where when the results are displayed that Excel will tell me in a pivot how many loans are on both lists and how many loans are on each specific list.

View 7 Replies View Related

Excel 2007 :: Vlookup And Copy Value From Another Workbook?

Apr 15, 2014

Excel 2007

I have a workbook (book1) that is modifying multiple other workbooks (book2). I need to do a vlookup of a sheet in book1 from a value in book2. I then need to insert the value found by the lookup into G7:H7 (merged cells) of book2.

value is in column B of page "Routes" of book1. Found by value B3:C3 of book2. The vlookup looks in column A of book1. The found value is put into G7:H7 of book2.

In a step by step, to possibly make this more clear:

1) check value of B3:C3 in book2
2) find value in Routes sheet of book1, column A
3) upon match, grab the value of column B
4) insert that value into G7:H7 of book2

[URL]

View 3 Replies View Related

Excel 2007 :: VLookup Cell Limit?

Aug 14, 2012

I have data in a sheet in Excel 2007 that I am trying to move to another sheet in the same workbook.

I am using Vlookup to move the info from one sheet to the other.

However it seems that if the data in the original sheet cell is too large I get a #VALUE! error.

If I copy and paste the info from the cell it is fine.

How do I copy the information (hyperlink) in the original sheet cell to the destination sheet cell?

Here is the formula that I am using.

=HYPERLINK(VLOOKUP(A67,'verified1-4-12'!B:E,4,0))
verified1-4-12 is the original sheet name

View 8 Replies View Related

Excel 2007 :: VLookup Formula With Indirect Function

Mar 19, 2013

Code:
=D5-VLOOKUP($C5,$C$45:$F$80,2,0)

I have formulas such as above in my Worksheet. So the above is in Cell H5

For the Range $C$45:$F$80, I am inserting rows (So moving down the data) and copying data from $C$5:$F$40 as values into the new space in $C$45:$F$80

I am doing the above using a macro, but when I run it I want this

Code:
=D5-VLOOKUP($C5,$C$45:$F$80,2,0)
to stay static, but instead I end up with

[CODE=D5-VLOOKUP($C5,$C$85:$F$120,2,0)[/CODE]

So my Table Array $C$45:$F$80 changes to $C$85:$F$120

How can I keep it as $C$45:$F$80

The other references in the formula seem to stay as I want them.

View 2 Replies View Related

VLookup - Single Value Lookup Returning Multiple Records Into Multiple Columns

Feb 7, 2014

Certification and Training tracking.xlsx

I want to create a certification only list on a separate tab of training that has been completed where a certification has been issued (as indicated by a "Y" in the "Certification?" column on the training tracking tab) and then populate from some of the fields vs. all of the fields.

What I have now, only pulls the first occurence, not all occurences. I saw that I could have identified the multiple columns that needed to be populated, but it didn't work either, so I'm fine putting a separate vlookup in each column.

View 6 Replies View Related

Excel 2007 - Vlookup / Index / Match With Two Datasets On Two Sheets

May 22, 2014

I have two data sets across two worksheets. The first worksheet contains sales order numbers (Sheet1:column A) and other data . The second worksheet contains sales order numbers (Sheet2:column A) and the product details.

On sheet1, I had to manually duplicate a sales order number (inserting another row) if the number of units of the order is greater than 1. I then need to fetch the product details from sheet2 for each unit for that specific order number. However in sheet2, there are multiple products for one sales order number.

How do i create a lookup/match to fetch the product details for each sales order number without duplicating the product details if there are multiple products for one sales order number?

I know a simple vlookup function will return the values that it matches first and that is not what i want.

Example: Sheet1

Column A (Sales Order#) | Column B (Quantity)

0417436GPCP | 1

0417436GPCP | 1

0413412FACY | 1

0413412FACY | 1

[code].....

View 6 Replies View Related

Excel 2007 :: Using IF / VLOOKUP Formulas INSIDE Data Validation

Sep 6, 2011

What I have attached is spreadsheet I've built to quickly generate an army list for a tabletop game. Anyone can click on the Force Organization Slot (FOS) and choose the type of unit and from there, select the specific unit name attached to that FOS. Each individual unit has a list of options/upgrades currently attached to the sheet from cells AD through AX and the points cost listed next to each upgrade.

For example, when selecting the Rhino unit from the Dedicated_Transport FOS, there should be 4 drop down lists of selectable upgrades (Storm Bolter, Hunter-Killer Missile, Dozer Blade, and Extra Armor). Currently, I have only named the ranges for the Rhino and Razorback units in order to get this working properly without having to go through the entire list of units and change names/create ranges/ect.

What I'm aiming to do is to create an individual drop down list that is directly related to the Unit Name cell in order to populate a complete and selectable upgrade list for each unit. I have played around with some functions that work in the spreadsheet (see cells X10:X12) but do not work properly with Data Validation.

Oddly enough, when I enter this formula under Data Validation:

=IF($A$3<>$AD$1:$AD$182,VLOOKUP(A3,Options,2,FALSE),"")

I do not get an error, yet the drop down list does not allow me to select anything as I thought it would.

View 14 Replies View Related

Excel 2007 :: VLookup Formula That Checks Cell Value Before Returning Value?

Dec 19, 2011

I am trying to find a formula for a vlookup that will check one cell for any value but if that cell has no entry then it will check a different cell to return the value how do i do this?

TEAMCSS Wetherill ParkCT NAME

above is where i need it to look CSS wetherill Park is cell C1 the cell that has no entry is H1, both of these cells have validation lists in them,

OS windows XP excel 2007

View 3 Replies View Related

Excel 2007 :: Convert VLookup To Match And Index Formula

Sep 21, 2012

HTML Code: VLOOKUP(M2,'FX Rates'!$A$1:$P$199,2,FALSE)

I have lots of vlookups in my spreadsheet. Match and Index is a better method and should speed up my spreadsheet (1000s of vlookups!).

View 5 Replies View Related

Excel 2007 :: Copy Multiple Unique Values To Multiple Worksheets

Aug 26, 2013

I have an Excel Spreadsheet (2007) that contains over 500,000 records that shows Electric meter usage per month over a 24 month period per meter. What I want to be able to do is to select a meter row per number and copy is to it's own worksheet. At the end - I want to be able to have a seperate worksheet per electric meter number - that I can create a graph. If I go through all 9000 meters and copy and paste into a different worksheet - it will take me weeks to do manually. How can I do this automatically?

View 1 Replies View Related

Excel 2007 :: Multiple Lines In One Cell To Multiple Cells?

Mar 24, 2012

I have a column of cells with Customer info and address in each row, that I need to move into multiple columns. ie Cust name, acct #,address, city,state, zip the problem is ALL of the info for each customer is in ONE cell.To be clear, cell B1 has complete name address etc for one customer, B2 has the info for another, B3... on and on. To complicate matters as in the example, there is not a pattern in the lines. the first example shows the info beginning on the 2nd line of the cell, but the 2nd example shows info in the first line. I have tried the text to column fixed width. Didn't work because names and addresses are of varying lengths. Then I tried delimited, but there isn't a common separation between different data. I am using excel 2007. FYI I did go through many many threads and found some that were close to my problem but not close enough to work.

"
JOES TOWING SERVICE [0123451]
123 STREET

CALEDONIA FL 12345
"
"BUBBA / SHOP
ACCURATE AUTO SUPPLY INC [0234567]
21234 HYDRAULIC DR

LOCKWOOD OR 45678
"

View 7 Replies View Related

Excel 2007 :: Sorting Across Columns

Oct 3, 2011

Excel 2007 - Sorting across columns

Need to sort part of an Excel worksheet across multiple columns.

For example data is:

ABCDEF1
Machine
4394264394294394434399834399842
Model
TD860TD400TD860TD620TD6203
Pgm
OPTABCOPTEP2EP24
Start
5/31/119/1/115/1/096/15/092/1/085
End
2/28/158/31/125/31/114/30/108/31/09

I need to sort it first by Pgm, within Pgm by Model, and within Model by Machine. I do not need to sort on Start or End

The results should look like:
ABCDEF1
Machine
4394294399834399844394264394432
Model
TD400TD620TD700TD860TD8603
Pgm
ABCEP2EP2OPTOPT4
Start
9/1/116/15/092/1/085/31/115/1/095
End
8/31/124/30/108/31/092/28/155/31/11

After selecting the data to be sorted (columns B,C,D,E,F), I tried using "Sort Left to Right" under DATA-SORT-OPTIONS but it doesn't seem to work.

View 3 Replies View Related

Excel 2007 :: Can't Add Columns To Worksheet

Jul 29, 2013

how to add many columns to the rightmost part of the worksheet carrying on from Col AA?

I keep getting error 'Cannot shift objects off sheet.' and followed instructions to change a setting to All or use control-6 but this made no difference.

View 7 Replies View Related

Excel 2007 :: Consolidate Several Columns Into One?

May 6, 2014

I have the following situation and I'm trying to do this using a PC with Excel 2007.

I would like this:
T
N
O
O

[Code]....

The total number of columns will be 11, number of rows will vary.

View 1 Replies View Related

VLOOKUP For Multiple Ranges In Multiple Columns

Feb 21, 2013

Im trying to make a vlookup so I can say find a record where column A is >4, B is =2, C is 1.

Example - The lookup would find these 2 ranges.

7
2
3

2
6
4

[code]....

View 1 Replies View Related

VLOOKUP On Multiple Columns?

Jun 10, 2014

I've used VLOOKUP based on matching one column and returning one result. No problem. Now I need to return one result based on 3 columns matching.

Assume this range of columns is named: TravelDays
Origin...Location...ShipVia...TravelDays
33778...420...UPS...3
33778...425...UPS...1
33778...440...UPS...3
33778...443...UPS...3
33778...446...UPS...2
33778...447...UPS...3
33778...449...UPS...5
33778...475...UPS...3

What I'm trying to accomplish is if these columns match:
i2=Lookup!TravelDays,1
E2=Lookup!TravelDays,2
N2=Lookup!TravelDays,3

My result should be: Lookup!TravelDays,4

View 14 Replies View Related

VLOOKUP Across Multiple Columns?

Dec 16, 2012

I have a list of names I need to look up against another list. My problem is that the second list has a mixed formatting of Firstname Lastname and Lastname Firstname. What I did so far is create a second column that reverses the first and last names in the column.

Table1:

A
B

1
Name
Name (reversed)

2
John Smith
Smith John

3
Jackson Laura
Laura Jackson

4
Maxwell Ted
Ted Maxwell

5
Chris Hansen
Hansen Chris

Table2:

A
B

1
Name
Currently employed?

2
John Smith
=IF(ISNA(VLOOKUP([A1; Table1!A:A;1;FALSE));"NO"; "YES")

3
Laura Jackson

4
Ted Maxwell

5
Chris Hansen

The VLOOKUP formula works great but I need it to look for a matching name across Table1:A:B not just Table1:A:A. How would I do this?

View 2 Replies View Related

How To Get VLOOKUP Over Multiple Columns

Jul 20, 2011

i am trying to get a VLOOKUP to work over a number of different columns. An example the problem:

Sheet1

A B

1 10
2 20
3 30
4 40
5 50

Sheet1 is the sheet i want to lookup the values and i want to place the results into column B

Sheet2

A B C
1 10 40 50
2 20
3 30

Sheet2 contains all the infromation that i want to look for to make the comparison.

I know that the expression used for the VLOOKUP is:

Code:
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

The issue i have is "col_index_num" as i want to look over multipule columns. I have been using this expression:

Code:
=VLOOKUP(A2,Sheet2!$A$1:$J$20000,1,FALSE)

How do i change the "col_index_num" to look over all 3 columns and not just the 1st, 2nd, or 3rd?

View 5 Replies View Related







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