Lookup Based On Values Of Two Cells?

Jan 20, 2014

I would like to lookup and return results based on the values of two cells A1 and B1.

The returned results are from column G to column I and always returned in the same location of the spread sheet.

For example if P2560 is selected in A1 and D10 in cell B1 then after lookup the results would be the values of G3 to I4. Alternatively if A1 is P2560 and B1 is D20, then the results are the values of E5 to I7 and so on.

see the attached spreadsheet for more details. This shows the main data (A2 to I15) and the expected results depending what value is selected for cells A1 and B1.

View 5 Replies


ADVERTISEMENT

Lookup 2 Values: Get The Lookup Answer Based On Two Values

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

Lookup Date Value Based On 3 Values

Mar 12, 2009

I have data that contains all the days in a year G7:I372. I want to lookup a value based on month, date and return the result. The sheet I am using contains a list in A3. As I change the value of A3, i want the dates to update. See attached sheet.

View 5 Replies View Related

Lookup Several Values Based On Same Text

Oct 26, 2009

I want to sum all expenses on Company B within Expense 1. Is it possible to use MATCH/INDEX or something else to do that? I can't use SUMIF, because I don't want to include Company B within Expense 2 for instance.

View 5 Replies View Related

Lookup Based On Two Unique Values

Sep 15, 2009

I've been searching both here and on google but I've been unable to make use of any of the numerous suggestions and examples I've found to do this; given I'm right in thinking that this should be done with a vlookup!

I have a table in which different customers pay different prices for different products. C13 is a cell in which I want Excel to look up the correct value based on A13 and B13 (in this case C3).

I have no experience with lookup functions, which might be the reason why I can't get this to work. I bet it's pretty simple

View 9 Replies View Related

Lookup Range Of Cells And Populate Specific Cells Based On Matching Data?

May 23, 2014

I am trying to build a staff roster. The staff rotate over a 4 week cycle. the name of the staff member, and their shift needs to be looked up from the key then matched with the particular week. the name and shift then need to populate specific cells.

I have attached the worksheet so you can see what i am trying to achieve.

View 2 Replies View Related

Return Values Based On Lookup Result

Feb 4, 2008

I am currently looking at the workings of a spreadsheet designed by someone else.

First of all i need to know,how these combo boxes are created in the attached sheet,because it cant be edited.in addition to tht in the coloured cell (F17)i'm trying to dereive a formula which is,if (C17 = doll "1"),but its not working.Please someone give me a solution.

View 9 Replies View Related

Lookup Single Value In Cells With 2 Values

Aug 24, 2006

I have following sample list of data:

PostalCodesCountryTerminal
0000 - 1069BEGrimb
1100 - 1179BEGrimb
1070 - 1099BETern
1020 - 1229ATLZN

I now need to determine the Terminal for postalcode 1086 in BE
but since the postal code that I need to find is within a range
(1070-1099) that is within a single cell, and there is a second
argument (BE) in the next column, my novice knowledge of VLOOKUP()
isn't sufficient to come to a result

View 8 Replies View Related

Lookup Values In Multiple Cells

Sep 12, 2006

I am trying to enter a value in cell F1 by comparing the values in cells A1,B1 & C1. By using 'if, and, or' functions I can automatically input a figure for a limited number of values in A1 to C1. What I need to do is lookup from a database for say 10 possibilities in A1, five in B1 and 35 in C1 returning the correct number for the combination in F1.

View 4 Replies View Related

Dropdown List Always Shows Unique Values From Column Based On Lookup Value

Jul 22, 2014

I have a worksheet (say, Sheet1) that I am going to manually import a large data set into on a weekly basis for reporting purposes. One of the columns from this data dump will have the header "Design Id" in the first row, but it may not be in the same column every time. I am trying to figure out how to create dropdown lists on a separate worksheet (say, Sheet2) in the same workbook where the data source always looks up the column containing the header "Design Id" from Sheet1 and then returns only the unique values from that column as options in the list.

View 1 Replies View Related

Excel 2010 :: Price Lookup Based On Width X Drop Values

Mar 14, 2012

I'm trying to create a excel sheet which will automatically return a price based on a given width and drop value. Currently, I calculate the price manually by looking in a price book which has plenty of rows and columns and prices. I want to simplify this by simply entering the dimensions so it automatically calculates price based on the dimensions entered.

Below is the start of my worksheet. If I choose the exact sizes shown on the table, it will return a price, however if I choose a size that is not listed, I get an #N/A. Eg. If I choose 780 x 1500, it will return the price $179, but if I choose for instance 775 x 1490, it only returns #N/A, when I want it to still return the price $179.

My formula in K3 is
=IF(AND($I$3>0,$J$3>0),INDEX($A$3:$F$8,MATCh(J3,$A$3:$A$8,0),MATCH(I3,$A$3:$F$3,0)))

Sheet1ABCDEFGHIJK12ItemWidthHeightPrice
3mm6307809301080123019751821#N/A
49001581681791891992512001621741851952083615001661791912032167
18001701851972102228210017418920321623192400179193208224239102700
18520121823324911Excel 2010Worksheet FormulasCellFormulaK3=IF(AND($I$3>0,$J$3>0),INDEX($A$3:$F$8,MATCH(J3,$A$3:$A$8,0),MATCH(I3,$A$3:$F$3,0)))

View 4 Replies View Related

Lookup Cells Based On Index Value

Sep 30, 2009

I have used this handy formula
=INDEX(MID(SheetNames,FIND("]",SheetNames)+1,255),ROWS(A$1:A2))

to create an index page that looks like this right now:

Index
35035-9
37032-14
37065-6
37079-4

Now what I would like to do is get cell B1 on each of these sheets to post in the next column without hardcoding the name of the sheet into the formula. So in the cell next to 35035-9, I would like the formula to look at worksheet name, and then go to that worksheet, and return cell B1. Same for all the other worksheet names.

There will be multiple additions of worksheet to this list over the course of the next year and I want to be able to index them easily.

View 2 Replies View Related

Lookup Or Index Based On Three Cells

Mar 27, 2009

I have a spreadsheet that I am trying to make more functional. Basically, when I click on my dropdown (sheet1), it changes the value of the cell in B3 in sheet2. Also in sheet 2, I have column and row heading where I would like to return data via this lookup.

Rows = customers
Columns = product groups

So, you click on the drop down and it changes the month's data that you want to see (at least that's the theory). On sheet3, I have the sales data by customer, by product group and by month. If it weren't for the month, a simple index/match combination would work. How can I get that same functionality, to also look at the month?

View 9 Replies View Related

Lookup Function Based On Multiple Cells

Jul 21, 2005

in the lookup function listed below, it only produces a result for the first exact macth. well, what if the data i am searching on could result in multiple results?
i would like advise on how to modify this formula to bring back the 2nd, 3rd, 4th, etc instance of a match in the lookup array.

the original formula , i found on this site, allows you to combine multiple cells to create a unique reference, and then search in another table containing columns of those combined cells, and results in the intersection of a row and column and that is the data you want returned ....
kind of like a hlookup, but you can use one or more cells to create the unique lookup, and bring back whatever column you want (where as a hlookup is limited to searching the left most column and bring back a column to the left)

here is the formula:

{=INDEX(data to retrieve,MATCH(cell1&cell2,table to find cell1 in&table to find cell2 in,0))}

"data to retrieve" is an array of one column containing the data you want to retrieve
"cell1&cell2" is a combination of cells to make the unique lookup (this could just be one cell if you wanted)
"table to find cell1 in&table to find cell2 in" is a table array to look in to find the look up value

View 9 Replies View Related

Copy Cells Between Workbooks Based On Lookup

Apr 7, 2008

I have two workbooks, one with two sheets and the other the new workbook where I want to copy the cell values. What I am trying to accomplish is:

1. From Workbook book1. sheet2. cellb (dynamic row values) I want to look for the value in book1.sheet1.cellb (static row values). If it is found I want to copy the cell values from book1.sheet2.cellb, celld, and celle to book2.sheet1.cellb, celld, and cellg. If there in a new value in book1.sheet2.cellb, I want to copy the same values (cellb, cellc, celld,celle) to book2.newrow.

I am attching the two workbooks with sample data, for clarification.

View 3 Replies View Related

Lookup Column Values On Another Sheet & Return Adjacent Cells

Jun 11, 2008

Essentially, sheet b is a list of 900 people I need to mail to. Sheet a has 3000 rows of people, many of whom don't need the mailing. It has mailing addresses that we need in sheet b.

We have two worksheets, sheet a and sheet b

compare sheet b, column c (email addresses) to sheet a, column x, (email addresses).
If they match, move sheet a, columns d, e, f, g, and h to sheet b.

View 3 Replies View Related

Lookup/Match Column Values On Another Worksheet & Return Adjacent Cells

Jul 1, 2008

I have two excel sheets. The first sheet has a column with codes and another column with dates. There are more than one date for the same code. The second sheet has just one unique code. I would like to match the code on the second sheet with the code on the first sheet and return ALL the dates associated with that code to the second sheet - horizontally.

View 5 Replies View Related

Reverse VLookup (Index Match) To Return Multiple Values Based On Single Lookup Criteria

Jul 11, 2012

I have encountered a situation where I need to essentially accomplish a reverse Vlookup (using index match) and return multiple values.

View 1 Replies View Related

Generating Values In Number Of Cells Based On Adjacent Cell Values

May 22, 2014

What I have In Column B, I have the datesIn Column I, I have engineers name What I need I want a macro to generate Serial Nos. (1,2,3....... n) in column A If an only if the date in column B is today's date and the engineer's name matches with the PC's username

The following is my code

[Code] ....

Above code runs without errors but does nothing.

View 4 Replies View Related

Copy Data From Certain Cells Based On Value Lookup Job Number And Paste

May 6, 2014

The sheet I have attached has three tabs one is a master sheet another is the production input and the last is an engineering input section, I have coded the production input section to input into cells and email the engineers when they have a new job, the issue i have is with the engineering input.

The engineers can currently go into this sheet and input the job number onto the engineering input section and it will show them the current issue from the master sheet (I have already entered 1002 in it), what I want them to be able to do is input into the white sections below the description and when they click on update entry a macro takes the job number entered into B3 and saves the information onto the mastersheet in the correct column/row which corresponds to the job they are updating.

However the engineers may need to go into the same job several times and update different information therefore the fields need to not paste into the cells if the input sections are blank.

Masterfile.xlsm

View 1 Replies View Related

Formula To Lookup And Sum Cells Based On Multiple Criteria In Row And Columns?

Jun 17, 2014

I would like to create a formula in a summary sheet ("sheet 2 section" in attached)that looks up and sum cells based on multiple criteria in row and columns in "sheet 1 section". I thought I sumifs would work, but I kept getting #value errors. I'm not a power user in excel. I attached the spreadsheet - it is only an example of what I want to do as the real data is confidential and large. The result I should I get is in section 2. Lookup account 12.251 for tim in the month of February - result is 14.

Test2014.xlsx

View 3 Replies View Related

Sum The Values In Cells Based On The Values Other Column

Apr 25, 2006

I want to sum the values in cells E2:P110 based on the values column D. The
values in D are formulas resulting in something that appears to match D112 in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching. If
I enter the result of the formula, all is good. How should I deal with this?

View 11 Replies View Related

Count Unique Cells Based On Ajacent Cells Having Values

Jan 6, 2008

I have the following data in 1 of the tabs.

[TABLE]
ClassSequenceAB
10SE132422
20SE23212
20SE321
20SE23425
10SE332455
15SE132412
10SE234
[/TABLE]

I want a unique count of sequences in a different for that class only if that particular row in 'A' or 'B' is populated. The result set should be as follows:

[TABLE]
ClassAB
1032
1511
2012
[/TABLE]
Can this be achieved through a formula?

View 8 Replies View Related

Multiple Lookup Values Rows And Columns To Lookup Single Target Column On Right End?

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

Summing Up Cells Based On Values Of Other Cells

Oct 25, 2008

I am working on a sheet which calculates payroll. I have a list of people in column A, and in column B, i have their different professionnal status. Their wages vary according to their professionnal status and are in another column C. How can i sum up the wages of only certain people, based on their common professionnal status in column B?

View 3 Replies View Related

Highlighting Cells Based On Cells Values In VBA

Mar 26, 2007

I need to highlight a cell when its value exceeds parameters based on the production line it comes from. If the line is K11, then i need this cell to highlight when its value is either < 0 or greater than 221. If the line is K21, than it needs to highlight when its value is <0 or greater than 474.

View 9 Replies View Related

VBA For Hiding Cells Based On Values?

Apr 18, 2014

I'm using the below macros to hide or unhide rows based off of a value in column A. Column A contains an If statement that looks for a value in column F, and depending on whether the corresponding cell in column F contains a value the if statement returns either True or NO-IF(F>0,True,"No).

It currently takes quite a bit of time to run this macro. Given the specs on this machine, I'm convinced that there is probably some loop or inefficiency in my code.

Sub Button1_Click()
Dim cell As Range
For Each cell In Range("a59:A1472")

[Code]....

View 3 Replies View Related

Concatenate Cells Based On Values

Sep 12, 2005

I have a column say column A. It has a pattern of cells where there is a code C10A3(alpha numeric) in say A1 and then in cells A2-A9 there are descriptions (alpha only). This continues uniformally down to cell 300. So every x amt of cells down a code appears and then below this for x cells is a description. What i would like to do is create a macro to concatenate the code waith each of the descriptions and paste it in the adjacent cell to the description. So....

A1 =C10A3
A2 =Global
A3 =America
A4 =South AMERICA
A5 =aFRICA
ETC
A10 =D05a9
A11 =Global

I would like to concatenate A1 and A2 and have the output in B2 (C10A3Global.)
And A1 and A3 with the output in B3 etc. This should continues until A10 (where the cell contains alpha numeric characters) where nothing is entered in B10 and then in B11 there should be D05A9Global....
The only difference between the description and the cell is numeric characters...

View 9 Replies View Related

Formula To Sum Values Based On 2 Cells

Mar 30, 2007

I have three columns of data. I want to give the average sales per person per year but I don't know how to combine two columns in the formula.

ManagerYearSales
Sarah2006200
Sally2006150
Stuart20063000
Steve20064000
Sarah2005100
Sally2005120
Stuart20054500
Steve20055000

I want the output to be something like:

Average Sales Per Year

20052006
Sarahxxxxxxxx
Sallyxxxxxxxx
Stuartxxxxxxxx
Stevexxxxxxxx

For example, I want to give 2006 sales for Sarah.

I know that I could add an extra column to my first table which concatenates the Manager and Year. HOWEVER, In my example it would be fine but in my sales report there is a lot more data with a lot more going on. I don't want to have additional hidden columns that people might stumble upon and change).

I want to use formula and NOT code as other people will be using the sheet and making changes to it. I want them to simply be able to autofill any additional rows rather than me having to update code.

I have attached my example.

View 9 Replies View Related

Shade Cells Based On 3 Text Values?

Oct 15, 2009

I have one cell (B10) that will contain either "high", "medium", or "low". Based on one of these 3 values, I'd like to shade cell J15 a color with some white text. I got 1 of the 3 keywords working, not sure how to add in the other 2.

View 2 Replies View Related







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