I am trying to get a formula to work that looks up a vendor, and then checks the quantity of their order (less than 99999999, less 500, less than 200, and less than 50). I get either a #NAME or #N/A when I try to use what I have written. I tried to include an =index(array,AND(Match(row 1,exact match),Match(row 1 less than quantity),Match(row 1,greater than quantity)),Match(rate,exact match)) returning the variable rate. I have had no luck using vlookup and pivot tables.
i'm trying to do with an index match formula. My index match formula goes through a list and returns a date based on an email address. My issue I have is what if there are multiple entries that match that email address? How do I return the most recent date?
e.g. worksheet 1 has all the data
A B C
email ID date
worksheet 2 has a list of specific email addresses i'm looking for info on
A B
email date
My formula in column B of worksheet 2 is along the lines of this:
basically saying where you find the email address in A1 listed in column A of worksheet 1, return in B1 the value in the column of that row in worksheet1.
The thing is we could have the same email address listed a number of times, so i'm looking for the latest date to be returned, not the first one it finds.
what i'm trying to do with an index match formula. My index match formula goes through a list and returns a date based on an email address. My issue I have is what if there are multiple entries that match that email address? How do I return the most recent date?
e.g. worksheet 1 has all the data
A B C
email ID date
worksheet 2 has a list of specific email addresses i'm looking for info on
A B
email date
My formula in column B of worksheet 2 is along the lines of this:
basically saying where you find the email address in A1 listed in column A of worksheet 1, return in B1 the value in the column of that row in worksheet1.
The thing is we could have the same email address listed a number of times, so i'm looking for the latest date to be returned, not the first one it finds.
I would like to extract Bill cost from "rule" sheet and insert it to "data" sheet using index-match functions. My problem are multiple criteria and multiple matches.
The criteria are Column: Cost type, Power, Penalty Category (The logic goes like AND function).
And I want it to extract "Bills" value from "rule" sheet.
There are multiple matches in all columns (Cost type, Power, Penalty Category) which cause wrong extraction.
How do i solve this problem with index-match function?
My user has a worksheet that is hundreds of rows long. Column A contains the SerialNumber, col D contains the PartNo and col E contains the SerialNo. She wants her formula in col B to match the SerialNumber with SerialNo then return the value from PartNo into col B. =Index(PartNo,Match(A2,SerialNo,0)) gets me the match that I'm looking for so I thought I was done. Not so...she now tells me that there are duplicate, triplicate, etc., matches and the formula obviously is only pulling in the first match.
When she has a duplicate, she needs to have cells inserted into Col A & B. She does not want a whole row inserted because the PartNo and SerialNo will already be in the right places. I've tried inserting a helper column to enumerate the duplicates but I can't it to work. I also tried using ROWS in the formula to work with the duplicates but that only confused me. I'm pretty sure I'll need a macro to do this but I'm getting nowhere.
I am trying to find a formula that populates a room number based on the number of hours used. I have a chart that is by building but multiple rooms within each.
Where I am having trouble is when there are more than one room with the same number of hours used then sometimes the formula populates the wrong room number.
Attached is my example spreadsheet of my chart. Book1.xlsx
I have shown what I need, what I have tried and a blank space to show where I need it to go.
I am trying to populate a worksheet that takes information from a table on another worksheet. I have to match three columns and show multiple entries for each correct match. Attached is a sample worksheet.
Invoice.xlsx
The information should be on the "Invoice" sheet. The cells in green are what will be given. The cells in yellow are what should be grabbed from table 1 on "June Sands Tracking Sheet"
The delivery date, Customer and truck number are the given fields.
from there I want it to search the table and populate "Truck BOL #","Sand Yard","Time In Staging", "Time Out of Location", and "Sand Type"
I tried this formula in the BOL # column but it wouldn't work =IF(OR(C10={"",""}),"",IF(COUNTIFS(Table1[Delivery Date],$B$7,Table1[Truck '#],$E$7)=0,"No Entry",IFERROR(INDEX(Table1[BOL'#],SMALL(IF(Table1[Delivery Date]=$B$7,IF(Table1[Truck '#]=$E$7,ROW(Table1[BOL'#])-MIN(ROW(Table1[BOL'#]))+1)),ROWS(C$11:C19))),"")))
I have a SumIF statement in cell E4 but I would much prefer some sort of index or something where I can drag the formula down because the cells in column D will change (and require me to pick a different SUM range for my SUMIF function). Now my issue is I have multiple matches so when I use a typical index it returns the FIRST match.
Here is the formula I used in cell E11 to try and replicate the result in E5: =INDEX('P10-2011'!$A$2:$Y$272,MATCH('Budget Upload'!$A4,'P10-2011'!$A$2:$A$272,0),MATCH('Budget Upload'!$D4,'P10-2011'!$A$2:$Y$2,0))
My index function works as it is designed but only returns the FIRST match. I should have multiple matches.
Is there a way to use an index function to return multiple results?
To clarify,the index function I put in cell F4 returns only ONE column (which is correct and will always be correct), which is related to the cell D4 but I have multiple rows (related to "7002" row match portion of the index function).
See attached file, "Rate Sample Index-Match Formula".
I need a formula to return the value at the cross section of two (2) lookup values that match. This formula will be input into column D under, "RATE" on the 1st tab, "TEST FILE".
In the 1st tab, "TEST FILE" there are a series of columns as follows;
A = Service B = From C = To D = Rate
In the 2nd tab, "RATES" there is a series of rates with drivers From (green) & To (blue)
The formula needs to do the following;
1. Lookup the "From" value in column B on tab, "TEST FILE" and match to column B2:B59 on tab, "RATES" both highlighted in green 2. Then Lookup the "To" value in column C on tab, "TEST FILE" and match to row C1:BH1 on tab, "RATES" both highlighted in blue 3. Then return the value at the cross section of the match "From" (point 1 above) & "To" (point 2 above) in range C2:BH59
For Example;
The rate From SYD To CBR = 0.33. I have highlighted this in yellow on both tabs to show where the formula needs to lookup the data to return the answer.
Additionally, if we were to add service as an additional lookup match how would this work?
Column A would be Recipe Numbers, Column B the Planned Total.
I want to search column A for all matching recipe numbers. Then, any recipes that match, look in column B for the planned totals, adding all incidents where they match.
Then the most difficult part, which just occured to me now. I only need the Total Planned Total and Recipe name reported once.
Recipe#..........Planned Total 450................100 600................75 620................125 450................50 620................180 450................100 600................200 450................110
I will not be able to sort these lists.
If-Match-Sum? to display: Recipe#............Total Planned Total 450....................360 600....................275 620....................305
I've researched for the first part... and it seems like Match will only find the first match and not look further? Am I wrong on this? How to display the results hadn't even occured to me yet, since I was still trying to figure out how to GET the result.
I tried searching some other Index/Match threads but figured I did not want to confuse the other original posters. I can index/match on a single set of criteria but what I am trying to do it add an additional match criteria into the equation and that is the last "MATCH" in my formula pasted below (MATCH($B3&"",O1:S1,0).
1)I need to match the value in Column A to Column N
2)Then for that combination, I need to match the combination value in Column B which ranges across Column O thru Column S
a.Ex. Cell A3
i.0001 matches to 0001 and B3 #50000 pulls in the value from Q3 (which would be 2)
I am trying to return a reference to the first cell that meets several conditions. I can calculate a column (say Col E) that tells if each row meets condition with
=IF(AND(IF('number of cases by year'!B28:B547>'cumulative distribution >0 '!F51,TRUE,FALSE),IF('number of cases by year'!$A$2:$A$521>=DATE('% of cases captured'!$C$3,'% of cases captured'!$A$3,'% of cases captured'!$B$3),TRUE,FALSE)),TRUE,FALSE)
Then to find the first time this is met I use
=MATCH(TRUE,INDEX(E2:E521,0),0)
Is there a way to do this all in one step? I tried
=MATCH(TRUE,INDEX(IF(AND(IF('number of cases by year'!B20:B539>'cumulative distribution >0 '!F43,TRUE,FALSE),IF('number of cases by year'!$A$2:$A$521>=DATE('% of cases captured'!$C$3,'% of cases captured'!$A$3,'% of cases captured'!$B$3),TRUE,FALSE)),TRUE,FALSE),0),0)
To summarize - Columns B through E are current MLB Players who I am trying to compare with the data in Columns G though J. My goal is to both use index and match to find the following in Column L: A comparable player name using the criteria of having an exact match for both position and age, but the closest approximation match between Columns E and J.
I have deleted a significant amount of player data to be able to upload the document on this site.
I am trying to find a way to combined exact and approximate matches in one single formula, but have been unsuccessful thus far.
I am making a table that reads from an list of employees. I have attached a sample sheet (changed the names). The list includes Name, 2014 Start Date, Pay Type, Job Title, Location, Weeks, Hours, Avg. Hours.
I need a formula that will list employees on a separate sheet based on the following criteria:
2014 Start Date = 1/1/2014 Avg. Hours >=30
I have worked with a number of INDEX MATCH combinations but I cannot get the formula to quit at 30 Avg. Hours whenever I drag the formula down. I also have seen some employees that average over 30 hours get "skipped" over whenever I drag the formula down.
I am trying to create a formula to pull in the mgmt fee% into the investor capital forecast tab, based on two vaiables. The client's AUM(column B), and their Tier (column A). It should pull in 1.157% from the Mgmt fee schedule tab, based on AUM of 314MM, and Tier 3.
I am trying to do an index match with multiple criteria and it keeps on returning a 'False' value. I am also not sure if it is adjusting the indexmatch lookup values for each row.
Code: Sub Check() Set ws1 = ActiveWorkbook.Sheets("SprocketPartData") Sheets("SprocketPartData").Activate Set ra = ws1.Range(Cells(2, 4), Cells(65536, 4).End(xlUp)) Dim c As Range
Basically, I want a code that does a simple index-match function for a column - But for all the #N/A's that come up in that column, I'd like it go to another INDEX-MATCH function - and another after that. I'm trying to keep it all in one column.
I have 2 workbooks and would like to use an index match formula to populate the data in the second workbook. I wanted to populate TOTAL HOURS in workbook 2 by matching "Month To Date" and "Employee ID" from Workbook 1.
Workbook 1
A B C D E F
1
Supervisor First Name Last Name Employee ID Total Hours
I am not getting any error but the result is not correct , even for the series which is not there in my file "X" it says "YES"
See my codes below :
Dim colA As Variant Dim colB As Variant Dim WksDash As Workbook Dim Wksfile As Workbook Dim wksWatch As Worksheet Dim WksDash2 As Worksheet Dim Classunion As Variant
I need to write a formula using Index Match that is looking at to criteria field. I've done this formula before with one criteria field but now I need 2 and the way I'm writing it isn't working.
Where my variables would be based on whether a person is under EnglishSS1 and getting a score of <=10, the resulting rating would be 3. I know this is doable by doing a vlookup with a range lookup value of false. However I have roughly 70 column headers and it will be a bit taxing to combine an If and Vlookup statement to address it.
I have attached a sample sheet for reference : Book1.xlsx‎
I have a workbook (workbook1) with multiple sheets (sheet a, sheet b, sheet c), all with the same column headings. One of the columns in each sheet of this workbook contains an invoice number.
In a different workbook(workbook2) I need to find the invoice details based on sheets a-c from workbook1.
So, in workbook2 I can input the invoice number in column a and the rest of the details will be pulled through based on whichever sheet (a-c) from workbook1 that the details are in.
Workbook1 is normally closed (from reading others posts, the INDIRECT function might do what I need but would not work with workbook1 closed)
Working with just 1 sheet in workbook 1, the following formula works perfectly:
I have 2 worksheets, Worksheet 1 has Customer Magic Number on it as a reference and a few customer details and Worksheet 2 has Customer magic number and contact fields.
to show the contact codes in sheet 1 however I also need to show the Notes which are located in Columns G:I, Is there an easy to use the index & match functions as above with the concatenate function to add the notes in the cell beside where I am inputting the contact codes?