Lookup Row In Column & Heading In Row
I'm trying to enter info in a cell based on what is entered in two other cells.
So I have a dropdown box for the species on another sheet as well as a dropdown box for rail sizes. Then I have to crossreference them to come up with an upcharge number. Sorry for my basic lingo. I hope it's understandable.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
- Lookup Row & Column Heading To Return Corresponding Header
- Stop Row/Column Heading Showing
- Return Heading For Maximum Value Of Each Row & Color Max Row Value
- Lookup Multiple Values In Same Column With Same Column Heading
- Lookup Value In Row And Column
- Lookup Using Row And Column Names
- Lookup Value Then Return Value In Row 1 Of That Column
- Sumproduct For Lookup Row And Column
- Lookup Value Using Row Match From Another Column
- Lookup On Column And Row Header
- Find Value In Row, Then Return Heading Above It
- Macro: Name Columns As Per Row 1 Heading
- Lookup Value & Return Same Row Different Column
- Avoid Merging Of Row Heading In Pivot
- Paste A Value Within A Row Based On Column Lookup Containing Dates?
- Lookup Column Header Value When First Cell Is Populated In A Row
- How To Lookup Row # Based On Content Of Another Column's Cell
- Lookup Row And Column As Criteria But Data Is Spread Across Columns
- Double Lookup (lookup Variable Row And A Variable Column)
- Search From Every Row Of Column In A Column And Return Row Number
- Report The Value Of An Intersecting Row And Column, Without Numbering The Row And Column
- Highlighting Active Cell's Row, Along With Any Row That Shares Same Value In That Column
- Conditional Format A Row Based On The Value Of The A Column Of The Row
- Pass Row Number Of Last Used Column Row To Variable
- Automatically Insert Row When Row Value In Column Changes
- Find Column A Of Same Row Anywhere On Row
- Copy From Row In Column To Last Used Row
- Copy The Information From The Row Directly Above The New Row And Paste (values, Formulas, Formats, Etc) Into The New Row
- Identify Button (shape) Row To Insert Row And Delete Row
- Copy All The Rows Until Row 37 And Move It One Row Up After The Selected Row Is Deleted
- Lookup Heading & Return Value X Rows Down
- Lookup Date Heading & Offset To Left
- Multiple Row, Single Column Cell Blocks Into Single Row, Multiple Column Format
- Lookup Data In Row & Cell Based On Data In Row And Cell
- Multiple Lookup On One Row
- Using Lookup, Then Totaling The Row
- Lookup And Delete Row
- Lookup Value In Header Row And Return
- Row Lookup: Return Zero If No Match
- Lookup/return Value Of Last Row In Sheet
- Lookup Value, If Not There, Delete Entire Row
- Lookup 3 Columns On A Row To Give An Identifier
- Lookup Until Conditional Match Then Return Last Value In Row
- Lookup & Offset From Result Row
- Lookup Maximum Value & Return Corresponding Row
- Lookup Data From Many Rows & Display In 1 Row
- Lookup Multiple Columns And Return Top Row
- Relative Lookup Or Index With Negative Row Values
- Lookup Value In Row & Return Result X Rows Down
- Lookup Maximum & Minimum. Return Corresponding Row
Lookup Row & Column Heading To Return Corresponding Header
I have a list of names and the chores they need to do on a certain day. I need a formula that returns the chore the person needs to do when the date is filled in. Ex: Sheet2 Col:A has names filled in A2:11 , row B1:J1 has dates that you would input. formula goes in B2:J11 Sheet1 is the master with all the data the formula would be pulling from. column A2:A11 has the names , row B1:S1 has the chore that needs to be done. B2:S11 has the dates already filled in.
View Replies!
View Related
Lookup Value In Row And Column
I am trying to create a formula that will look up the data in Sheet 2, A3 and if found in Sheet 1 to then look up Sheet 2, C1 in Sheet 1 and then enter the data if found into C3. Is there a way to do this? I have attached a sample workbook.
View Replies!
View Related
Lookup Using Row And Column Names
I have two workbooks used for periodically updating product pricing to wholesale customers, one of which has all the product computation info and the other all the customers and products they buy. There is one main sheet in the product information book that has all the products going down the first column with a code for each item. The headings of many of its columns represent variations in packaging. The combination of product and package variations result in the customer's unique price. I am seeking to find the intersection of product and packaging using names rather than cell numbers. Right now I am able to use VLOOKUP with the product name and named range from lookup sheet but I seem forced to use the column number rather than column heading name. As there are a lot of columns it's easy to lose track or make mistakes. Column name would be much preferred. We are still using Excel 2000. Example of current reference: =VLOOKUP("productname",mainlist,24,0) I would like to use something other than 24 for the lookup column, like 'packagename' instead. I have reviewed the INDEX and MATCH functions but haven't figured out how to accomplish what I am after. Incidentally, 'mainlist' is a named range in a separate workbook but referencing as shown above has worked without a hitch.
View Replies!
View Related
Lookup Value Then Return Value In Row 1 Of That Column
I have a list of values in column A (part numbers) In columns B to E I have lists of similar values (part numbers, with row 1 representing their location e.g warehouse, office, etc). In column F2 I would like to search for the value in A2 in the range B2:E100 and return the value in B1:E1 if the value appears... if it doesnt appear in any of the columns I would like 'not located' to appear in F2. I've been trying to do this for a while but am making no progress at all.
View Replies!
View Related
Lookup Value Using Row Match From Another Column
i'm trying to figure out how i could get the sumproducts or anyway to get this forumla work basically i'm trying to have the cost column to vary depending on the variable set on column d & e on the top basically ... * if d7 is between d2 and e2 use cost 1 for the multiplication to generate H1. * if d7 is between d3 and e3 use cost 2 for the multiplication to generate H2.
View Replies!
View Related
Lookup On Column And Row Header
I need a formula to lookup and retrieve data from a table of values. Given an EMP-ID in column A of the row that contains the formula and given a column name in row 1 of the column that contains the formula, I need to do a lookup. So, in effect, I am doing a lookup based on two values .. the column header and the row header. I have attached a small model to illustrate what I need. Cell C-3 in the first worksheet will contain the formula to lookup and retrieve the value in cell C-7 in the second worksheet, based on the values in cell C-1 (column header = “Database Col 2”) and in cell A-3 (row header = “257”) in the first worksheet.
View Replies!
View Related
Find Value In Row, Then Return Heading Above It
I have a 10x10 table. First row contains column titles (plain text, hardcoded). Each line below them has a 1 in *just one* cell. So, each line contains 9 zeros and one 1. In the 11th column I want to check which column has the 1 in it and return the column's title. So, if the 5th row has a 1 in cell E5 I should get, in K5, the value of E1 (the title of the E column that is).
View Replies!
View Related
Macro: Name Columns As Per Row 1 Heading
Is there any formula out there that will loop through columns and automatically define name ranges. I need some code that will automatically assign Names to the first row of the individual columns and then automatically define the range ie with an offset command.
View Replies!
View Related
Paste A Value Within A Row Based On Column Lookup Containing Dates?
I'm looking to create a small section of VBA code on Excel 2007 that looks for a specific date on a column and then pastes a value on the correct row. I have weekly dates in columns along the top of my spreadsheet on row 3: C3 = 07/11/08 D3 = 14/11/08 E3 = 21/11/08 etc... The row further down the spreadsheet that I wish to use is selected by previous code and could be any row number within column B. I need a snippet of code that searches for a particular date along row 3, and then once it finds the correct column, it pastes the value in the corresponding cell on my active row. For example, if my active cell/row happens to be on B18, and the date I'm looking for happens to be on L3, I need to paste a value into cell L18. I imagine there needs to be some form of HLookup, but I've no idea how to implement this in VBA code.
View Replies!
View Related
Lookup Column Header Value When First Cell Is Populated In A Row
i have a manpower chart with months along the top and names down the far left. People are going to start work in different months so i want to know at the side of each persons name the month they start. Does that make sense? Heres a simple example I have column headers starting at B1 thru F1, with the following values Month1,Month2,Month3,Month4,Month5 In cell D2 i have the value 1 I want Cell A2 to return the value Month3 Whats the formula i need to input in A2
View Replies!
View Related
How To Lookup Row # Based On Content Of Another Column's Cell
I have a 3 column table with 20 rows. The first two columns contain travel expense data. The cells in the third column are blank exept for whichever cell I enter an "x" in. Please let me what formula or worksheet function do I use to calculate the travel expenses based on the data in the first two columns that correspond to the row of the cell with an "x" in the third column?
View Replies!
View Related
Lookup Row And Column As Criteria But Data Is Spread Across Columns
I need to bring in values into one worksheet from another worksheet using row 1 and column A as criteria. I have previously done this using Sumproduct. However the complicated issue with this new worksheet is the setout. The source worksheet (see attached) has the actual data spread across columns. How can I bring in the values to the 'Summary' sheet from the '0607' sheet using the Employee number and the seg code as 2 criterias to lookup and bring in the resulting data (which is spread out in the purple area in the '0607' worksheet).
View Replies!
View Related
Double Lookup (lookup Variable Row And A Variable Column)
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 Replies!
View Related
Report The Value Of An Intersecting Row And Column, Without Numbering The Row And Column
# STUDENTS THAT GOT 100% IN EACH SUBJECT IN EACH SCHOOLKKVRockfortCampionENGLISH232013MATHS382518PHYSICS422515CHEMISTRY483020BIOLOGY503523 Consider the above table. Ca someone help me understand how to report the value of the # of students that got 100% (output) in a given school (input 1), and given subject (input 2). In other words, if the inputs are the following: Input Cell 1: Rockfort Input Cell 2: Pysics Then, Output Cell should report: 25 I know one option is to use the INDEX function, but with index function, I have to provide Row_Num & Col_Num as inputs. That doesn't fit my example above, as my inputs are specific values from the leading row and the leading column of the array in question.
View Replies!
View Related
Highlighting Active Cell's Row, Along With Any Row That Shares Same Value In That Column
Is it possible to click on a cell in column C, and have the wishlist below happen: That active cell's row is hightlighted. Any cell in that column that has the same value as active cell is also highlighted. Plus, any cell in another sheet that has that value it's row is highlighted too. Example: I click on C5 in Sheet 2 its value is 45000789 it row is highlighted, this value also appears in C3 in the same sheet, so it's row is highlighted as well. Plus, in sheet 1 in C10 this value appears and it's row is highlighted as well. When any of the values are clicked again the highlight is removed from all parties.
View Replies!
View Related
Pass Row Number Of Last Used Column Row To Variable
This line in my code is causing an invalid qualifer error message: lngNew = wsNew. Range("B65536").End(xlUp).Row.Offset(1, 0) Option Explicit Sub Disney_DumpData() Dim wbBook As Workbook Dim wbNew As Workbook Dim ws As Worksheet Dim wsNew As Worksheet Dim rng As Range Dim rngNew As Range Dim rngUnit As Range Dim rngUnitPaste As Range Dim lngNew As Long Dim Cnt As Integer Application. ScreenUpdating = False Application.Calculation = xlCalculationManual Application.DisplayAlerts = False Set wbBook = ThisWorkbook Cnt = 0 'Dump To New File '/Define new workbook Set wbNew = Application.Workbooks.Add.....................
View Replies!
View Related
Find Column A Of Same Row Anywhere On Row
I typically record macros that need to copy information like a company name from say sheet 2 and paste in a specific cell in sheet 1. As the cursor can be anywhere on a specific row I usually create a column that holds something like zz.. and then in the macro go Shift + Spacebar to select the line I need to work from then Ctrl + F to find zz.. and that is how I know where the cursor is as a starting point. How is it possible to have the cursor know how to find a specific point i.e. column A from any specific column on that same particular row?
View Replies!
View Related
Copy From Row In Column To Last Used Row
i hav a file with over 2000+ rows of data..i'd only like to copy out F7:F77 only..However the length of information in the reticle data (refer sample) may varies..so from cell F7 i found the last used cell using --> range("F7").End(xldown).Select how do i select the whole column F7:F77 from there so i can copy it out?
View Replies!
View Related
Copy The Information From The Row Directly Above The New Row And Paste (values, Formulas, Formats, Etc) Into The New Row
1. In whatever cell is selected when the macro is run, enter a new row. 2. Copy the information from the row directly above the new row and paste (values, formulas, formats, etc) into the new row. 3. Return to column P in the new row, i.e if the new row is row 11, then return to P11, for row 12 return to P12, etc. I have tried recording the macro but because it is hard coded to specific rows, its not working. I have attached a sample copy of the sheet (had to zip due to the size of the file).
View Replies!
View Related
Identify Button (shape) Row To Insert Row And Delete Row
I have a button (group containing and add and delete button). I want to identify the row (position of shape/button calling the macro) to enable inserting a new row (1 row down from current row). Then do the same to delete a row (position of shape/button calling the macro) to enable deletion of selected row. This will allow me to add/insert rows by the button located at that row The problem i have is getting the row property (row position of the button eg. TopLeftCell.Row) of the add button. The add button (RowBtnAdd) is a shape within a group (BtnGrp) I also note that when a group is copied, it has the same shape name as that copied. I want to keep the add and delete shape within the group (BtnGrp). I do not want to select a cell or row or enter a row number to delete etc. refer to sample workbook attached. Currently only has one record row.
View Replies!
View Related
Lookup Date Heading & Offset To Left
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 Replies!
View Related
Lookup Data In Row & Cell Based On Data In Row And Cell
I am looking for a way to do what i would call a dual vlookup. i have some data in a number of sheets and need to do some consolidation into a summary sheet. problem is, not all the sheets have data in the same columns and rows but all the data is the same. what i am trying to do is something like vlookup("a",sheet2!A:M,***need to put the column of the data here***,0) i cant just put in the column number because it changes on each sheet, need some way to do another lookup there, like an hlookup or something, so that i could lookup which column contained 'sales' and return that number so it can be put into the vlookup.
View Replies!
View Related
Multiple Lookup On One Row
I am trying to solve a big problem for a project that I have to complete and for hours now I have searching for help as I run over this website. I will place a photo below and explain what the problem is... I have this row that has 105 cells (I only put some of them for an example) and I have to find from these 105 cells how many 1,2,3,4,5,6,7,8 and 9 exist. Is this possible to be found through a command?
View Replies!
View Related
Using Lookup, Then Totaling The Row
I'm trying to use Lookup to find a particular name, then when finding that name I need to total what's in that row (numbers). The Lookup is successful, but I can't get any totals out of it. Tried using Offset to begin summing once I got to the row I was Looking for but that wasn't doing it (or doing it wrong)
View Replies!
View Related
Lookup And Delete Row
I have searched for this topic, but I cant seem to get the formulae to work properly (and my mouse is starting to get thrown... ). Basically, I have two workbooks, with the same sheet name, called owen and Summary. I want to look up the unique id in the owen book and delete it out of the summary book. The code im using so far is:- Sub SearchandDestroy() If MsgBox("Do you want to proceed with Search and Destroy Update? ", vbYesNo) = vbNo Then Exit Sub If MsgBox("Please wait while I update the records ", vbYesNo) = vbNo Then Exit Sub Dim todayDate As String todayDate = Format( Date, "dd/mm") Workbooks("Owen.xls").Activate For Each ce In Sheets("Owen").Range("N2:N" & Sheets("Owen").Range("N65536").End(xlUp).Row)..........................
View Replies!
View Related
Lookup Value In Header Row And Return
I have a worksheet with the following values: header row 15 17 19 25 etc. each column underneath the row will have a value of 0 or -1 A B C D E etc 1 15 17 19 25 2 0 -1 -1 0 3 -1 0 0 0 4 0 0 0 0 etc I want a formula that I would put in each row that would return the value of Row 1 if there is a -1 below that value. So, in this example: Row 2 formula would return 17,19 Row 3 formula would return 15 Row 4 formula would return nothing
View Replies!
View Related
Row Lookup: Return Zero If No Match
I have exported an income statement report from the ERP system to Excel. Only items that are not equal to zero are populated. So if there has been no expense in the Central division for Consulting fees, it does not show up on the report. Here is the formula:use control shift and enter small(if(row(A1:A100)-ROW(A1)+1>MATCH("Central Division",A1:A100,0),if(A1:A100)="Consulting Fees",ROW(A1:A100)-ROW(A1)+1)),1)( Excel Jeanie HTMLSheet2 A 2 East Division 3 Sales 4 Cost of Sales 5 Payroll 6 Lights 7 Consulting Fees 8 Net Profit 9 10 Central Division 11 Sales 12 Cost of Sales 13 Payroll 14 Lights 15 Net Profit 16 17 West Division 18 Sales 19 Cost of Sales 20 Payroll 21 Lights 22 Consulting Fees 23 Net Profit Excel tables to the web >> Excel Jeanie HTML 4 So this formula picks up the first Consulting Fees after the Central Division. The problem is it is going to pick it up under the West Division. So, how would I modify the formula so that if the row number is also less than Central Division Net Profit (A15), it is zero. (no offset or indirect)
View Replies!
View Related
Lookup 3 Columns On A Row To Give An Identifier
I have undertaken a project and have hit a brick wall. I'll try and translate my request in the easiest way I can. I have a piece of software that stores what software is installed on a machine when it connects to my domain. I therefore have a list of software that is installed on machines that connect to my domain. Each machine that connects to the domain has a unique identifier code. At present I have about 500 different pieces of software on the various machines. The unique identifier for the software installed on each machine is a combination of the application (column B), the program (column C) and the version (column D) I wanted to give each seperate piece of software a unique ID number. I was wanting to run a formula similar to the pseudocode below: If $b$1="adobe" and $c$1="8.0.0.1" and $d$1="adobe reader", then "1", elseif $b$1="adobe" and $c$1="7.0.0.1 and $d$1="adobe pro" then "2", else "no software ID" I am thinking that if I can get every piece of software that is installed on the machines to have a software ID then I can create a software ID allowed list then I can create a formula to identify what laptops have software on the "allowed" and "banned" lists. The problem at present is getting the sotfware to lookup what software ID they have as they need to check 3 columns with a lookup list.
View Replies!
View Related
Lookup Until Conditional Match Then Return Last Value In Row
I am trying to modify this formula to do one more thing, but I can't quite figure out how to do it. I have part 1 and 2, but part 3 is giving me a very hard time. The formula is not working correctly. It is supposed to do several things. Do an HLookup for a row and return the last value in the row.If there is no value (blank), the value should be "Incomplete."If HLookup finds a value of "Fail," it should look to see if there is a value of "Pass" BEFORE (to the left of) "Fail." If this exists, then it should return a value of "OK." Here is what I have so far....
View Replies!
View Related
Lookup & Offset From Result Row
i'm trying to return a value thats offset but the position of the value may change each time data is imported. i've attached sheet displaying problem, as i can't explain clearly. i need to lookup the value in column A (yellow), then find and return the total percentage value in column C (blue). its always 2 columns across but the problem is it could be anything from 2 to 5 rows down.
View Replies!
View Related
Lookup Maximum Value & Return Corresponding Row
i have a matrix index| a| b| c| 0001 |1| 2| 2.22| ( probably it will be much clear to see the attachment) I need to lookup for the largest number in B2:D2 (in this case 2.22) and return the corresponding header ("C"). I though it would be simple with hlookup() and max() but i can't make it work.
View Replies!
View Related
Lookup Data From Many Rows & Display In 1 Row
Data to appear on one of my sheets. I have a database of family info, where each family has an ID in A on the "Mems" sheet, and each child is listed separately on "Children" sheet and they each also have the family ID listed for each child in A. On the Mems sheet all the IDs are unique. On the Children sheet, as there can be multiple kids per family the same ID value can appear multiple times in A. How do I get the Mems sheet to show all the kids names (in B on the children sheet) either in 1 single cell (concatonated) or in a series of cells apended at the end of the relevant data row on the Mems sheet?
View Replies!
View Related
Lookup Multiple Columns And Return Top Row
I've been working this for ever and can't seem to figure out the best way to go about it. I have attached an example sheet. All I need to do is figure out the Dept #... which is listed in Row 1, Column F:H. I want to match the project numbers and then return the AA, BB, or CC in Column B.
View Replies!
View Related
Relative Lookup Or Index With Negative Row Values
Below are cell values a1:c6 a 2 1 b 3 3 a 4 5 b 5 3 a 3 7 a 4 2 I want to grab the value from a cell whose position is relative to cell C5 (value= 7). i.e. the value from column B of the first row ABOVE cell c5 with 'b' in column A. I presume an index statement might do it, but I am unsure how to search for a row above a reference cell.
View Replies!
View Related
Lookup Value In Row & Return Result X Rows Down
I am working on a spreadsheet for some packages we are sending to multiple recipients. I have figured out how to get all the weights calculated, now my Mailing Manager has asked me to come up with a calculation for the actual postage amount for all the 1400+ packages...Unfortunately it is not as easy as that would seem. There are 9 different mailing zones and each zone has 19 weight categories and each category has a corresponding postage amount for the package. So I need to come up with a formula to calculate the package postage amount based on those multiple categories. For example: Zone 1: 0-1lb = $2.12 1.1-1.5lb = $2.12 1.6-2lb = $2.21 etc How do I go about entering in that information from which a formula can determine the proper package postage cost and what formula do I need to use in conjunction. This is all done within a address list so each package is a row and all weights and zones will be in a separate column. Package is in zone X and weighs Y pounds therefore the postage is Z. Something like that.
View Replies!
View Related
Lookup Maximum & Minimum. Return Corresponding Row
I have searched your forums and thought I had found a sufficient answer but could not get the vba to work. So any help is greatly appreciated. I am trying to determine a max value from a list then put that value in a cell. Next I want to determine how many times and on what day that max value occured. From there take the value and concatenate them adding a "," between them I have attached an example. I would like the values placed in cells F1 and H1 (the other is a min value and when it occurred)
View Replies!
View Related
|