This tutorial demonstrates the key strengths of Excel's INDEX / MATCH function that make it superior to VLOOKUP. You will find a number of formula examples that will help you easily cope with many complex tasks when VLOOKUP fails. Continue reading
by Svetlana Cheusheva, updated on
This tutorial demonstrates the key strengths of Excel's INDEX / MATCH function that make it superior to VLOOKUP. You will find a number of formula examples that will help you easily cope with many complex tasks when VLOOKUP fails. Continue reading
Comments page 14. Total comments: 614
I am trying to solve a problem where I have two rows. Row 1 has Product Names eg PD1, PD2, PD3, PD4. Row 2 has corresponding quantity. When products are ordered by customers, I am trying to summarise for each customer what products they have ordered such as PD1, PD4. I have a formula that works but it is too long and makes it difficult to add another product.
=IF(ISBLANK(L6),"",$L$3)&IF(ISBLANK(M6),"",", "&$M$3)&IF(ISBLANK(N6),"",", "&$N$3)&IF(ISBLANK(O6),"",", "&$O$3
Is there some way of seeing that the cell is not blank and returning the corresponding Product Name. Thanks
Hello,
Thanks for all the info and help! When I added the "IFERROR" to the beginning of my formula (INDEX AND MATCH formula and it was working perfectly prior to adding the iferror feature)it removed the $ format from the cell. I cannot seem to find a way to format the cell to show it as currency.
Can you please help.
Bill
Hi,
I need help with a a report.
I currently have a tab for every month of the year. I am collecting the employee's names which change every month and I have a column that collections notes based on their monthly performance.
I also have a tab which i currently have set it up to collect the data from each monthly tab to show all notes in one place.
My issue is that when I update the name list, the notes collected in the freeflow area, do not move with the employee. This is causing more manual work on my part to re-enter the comments every month.
I would like for the performance comments to follow the agent's name no matter where they land in column 1.
Can you assist?
Hi Svetlana,
Excellent article! I stumbled across it recently in my search to solve a dynamic lists issue I've been battling for almost a week now. My scenario:
I have several sheets in my workbook:
Sheet 1 contains a list of locations
Col1 Col2
LocationName LocationID
Syndey 1
Melbourne 2
Perth 3
Sheet 2 contains a list of courses
CourseName CourseID
Course A 1
Course B 2
Course C 3
Sheet 3 contains a list the sessions for all of the course:
SessionName SessionID
Session 1 1
Session 2 2
Session 3 3
Sheet 4 contains a list of date dates each course is run in each location:
Col1 Col2 Col3 Col4
ScheduleID Ref to LocationID Ref CourseID CourseDate
1 1 1 14/01/2014
2 1 1 18/03/2014
3 1 2 23/10/2014
Sheet 5 contains a list of the dates for each session for each course date:
Col1 Col2 Col3
Ref to ScheduleID Ref to SessionID SessionDate
1 1 14/01/2014
1 2 15/01/2014
1 1 18/03/2014
1 2 19/03/2014
2 1 23/10/2014
2 2 24/10/2014
Here's what I want to achieve:
Col1 Col2 Col3 Col4 Col5
Location Course CourseDate Session SessionDate
1. User selects Location from dropdown list(Sourced from Sheet1).
2. User selects Course from dropdown list(Sourced from Sheet2).
3. CourseDate dropdown list filters to only show matches for the selected Location and Course(Sourced from Sheet4). User selects CourseDate.
4. Sessions dropdown list filter to only show SessionDates for the matching ScheduleID and SessionID (Sourced from Sheet5).
5. SessionDate to auto poplulate with the matching record from Sheet 5.
My data is set up as per the examples above as it's near impossible to create a separate list for each combination.
Any help on who I can achieve this in Excel would be great.
Is there a way to do a 2-way Index Match Max? I've only seen things posted to find Max on a standard Index Max, but not on an Index Match Match.
DHAVAL KAMLESH RAMESH KAPIL
500 1500 1950 1950 1950 RAMESH AND RAMESH
25 2800 85 100 2800 KAMLESH
=+INDEX($B$2:$E$2,MATCH(MAX(B4:E4),B4:E4,0))
IF HAVE SAME AMOUNT 2 PARSON THAN WHICH FROMULA USE
PLZ HELP
A fantastic intro to the amazing world of 'match and index'.
Thanks you.
Chuck
I want use 15 min time interval values (like 15:00, 15:15, 15:30, 15:45 ...........) from A1 to A10 in a excel sheet and if the value is >0 (like 15) in B1 to B07 (actual range is B1:B10) so now I want to print cell values in A (ranges A1 to A10) based on B (ranges from B1:B10) in line chart graph. Please Help me.
Hey Guys,
Does INDEX and MATCH excel formulas help us to compare two columns and return me the data that is not there in the former coloumn.
For ex :
Template 1 has a PL column with row data GLCA:GLUS:GLOBAL:WCH2:WAS2:CHINA:AUST:GLEEMEA:GLUS
Template 2 has a PL column with row data GLCA:GLUS:WCH2:WAS2:CHINA:GLEEMEA
I want the data that is missing in template 2 but available in template 1.
Let me know what formula is the best...
HEELO SIR,
I HAVE A ROW NAMED NET PRICE.
ON RIGHT HAND SIDE I HAVE THREE TO FOUR RECOMENDED PRICE ADJACENT TO COMMISSION.
NOW THE CONDITION IS IF MY NET PRICE MATCHES WITH RECOMENDED PRICE WE WILL GET COMMISSION AS PER THAT PRICE.SOMETIME MY 2 TO 3 RECOMENDED PRICE MATCHES WITH NET PRICE AND I WILL RECIEVE THE MAXIMUM COMMISSION FROM THAT RECOMENDED PRICE.
I AM MENTIONING THE FORMAT OF EXCEL BELOW
NET PRICE RECO.PRICE COMM RECO.PRICE COMM RECO.PRICE PROMO
145 145 50 145 55 140 65
NOW PLEASE GIVE ME THE FORMULA WHERE COMMISSION OF 55rs IS TO BE DISPLAYED AS THERE ARE 4 TO 5 LAKH ROWS SO IT IS NOT POSSIBLE TO CALCULATE TOTAL COMMISSION MANUALY.
THANK YOU
Svetlana ,
Thank you for this post. It was a very informative and was highly helpful for me. I always wondered whether Look up with multiple criteria was possible. Got my answer today. But then I was trying to use evaluate formula to understand how it was actually working. This caused my excel sheet close abruptly. Just wanted to know whether it was possible or not to do EVALUATE FORMULA for cases that use Array .
Hi Svetlana,
I have a query re comparison of Vlookup and Index/Match functions:
I deal with large tables [rows close to half a million or more] and the problem I face with using Index/match functions to replace Vlookup for these reasons:
1. The table rows do not match as a large table will have a look for criteria in a smaller table and vice versa.
2. The two tables compared have multiple values relating to lookup or match criteria.
I have been able to solve with Vlookup, if there are only two values or text for one criteria - repeat the Vlookup formula twice: one with FALSE and another with TRUE and if the values or text are repeated use an IF formula to display one value or unique values. But if there are more than two values or text I am able to extract only two and not more.
Is there any more condition that can be nested in Vlookup other than FALSE and TRUE?
Some of the tables I use have 4 lines of description and all the 4 lines need to be picked up.
If you need further details I can send you a sample excel sheet with dummy data.
Regards, Ramki
Hi there,
I have hundreds of employees, which were grouped. Each group has its own supervisor, my question is, is there any formula to apply that anytime I type the supervisor's name or employee Id., all his group will automatically display underneath???
I am using the Index and Match function to compare the values from column A to the values in Column C, if there is a match found then I am returning the value from column D which corresponds to the cell that matched from column C. Below are the queries I have and any help you can provide is greatly appreciated.
1. If the value that I am returning from column D exceeds 256 characters what do I do?
2. If there are multiple matches found in column C then is there a way for us to populate all the values from column D [for the matched C cells] and put them in one single cell in the column A.
Hi, I am using INDEX($D:$D, MATCH(A1, $B:$B, 0)) to find a value in column D corresponding to the row in column B where my search value is found. It works great.
However, I now need to replace $D:$D with the result of a search. I.E. I want to search the column headers for a string to find the column I need to look down to find my value. I don't want to hard code $D:$D but make it variable based on where the header is. The reason is my imported data doesn't always put the value I'm looking for in column D but the header is always the same no matter what column it ends up being. Basically a search for a string in 1:1 that returns a column array instead of a column number. Hope you can help.
I need help with a formula.
In column B (Invoice Source A)I have a list of invoice numbers.
In column C (Source A Description) I have the description for what represents column B.
Column D (Invoice Source B) is a subset of the invoice numbers in Column B.
Not all of the numbers in Column B are in Column D.
Column E (Added Description for Source B)is blank.
My Goal: I want Excel to look at the number in Column D and search for its match in Column B, then look in column C for the description and copy that description into column E.
Hi, I have referred to your INDEX /MATCH with multiple criteria example.
and have a one question on how do we GET the next result if there's a match or duplicate of those 2 criteria (1st being Dan Brown, 2nd being Apples)
Dan Brown Apples $271
Dan Brown Apples $300
The first result will be $271 if formula is used correctly.
How do I get the 2nd result? which is $300
Very much appreciated.Thanks.
There is an error on the MIN/MAX example table. The "Results" are listed incorrectly. You seem to have switched the MIN and MAX example answers.
I am using the following formula and it is working fine. It is pulling dates. When I try to do a sort oldest to newest the dates change. Can you tell me if there is something in my formula that causes this?
hi
ok I'm using open office which does not have IFERROR.i have two lists of names one long(50 names)one short (10) each list also has a cell with a number in it.
the number MAY change in the short list ,so I use vlookup to find the name from the long to the short and change the value in the cell,But if the name is not found its gives an error and I want the value in the cell(long list) to just stay as It is ,if the name is not found in the short list.
I think index match might work but not a clue how to do it.
So how do I do that please..
john
I have a formula which works well but I need it to go further and return a blank result if the source cell in the other sheet is also blank. Otherwise the formula returns the value "0-Jan-00", since the cell format is suppose to return the date from another tab. The current formula is:
=IF((ISNA(MATCH($E4,Sheet!$H$9:$ACW$9,0)+4)),"",INDEX(Sheet!$H$10:$ACW$13,4,MATCH($E4,Sheet!$H$9:$ACW$9,0)+4))
Thank you
Hi I'm still unclear on where "1" came from in the chapter of "Look up with multiple criteria using INDEX MATCH"
Is there any hidden formula to return "1" value ?
Hi Jacob,
I guess you are asking about this part of the formula:
MATCH(1, (A2='Lookup table'!$A$2:$A$13),0) * (B2='Lookup table'!$B$2:$B$13)...
There is no hidden formula, 1 is "hardcoded" in the Match formula as the lookup value. The formula checks two columns in the main table, column A ("Customer name") and columns B ("Products"), for matches in the lookup table. If the match is found, the above equation returns "1", otherwise "0". And that is why we use "1" as the lookup value, we just want the MATCH function to return an item's position only when both criteria are true.
sorry for bothering you. as i'm beginner,i understand your intention why you put hardcoded "1". Without any formula like "if", excel current sytx enables user could compare and return either "1" or "0" ?
Hi Jacob,
Generally, yes. More precisely, the functions return the logical values of TRUE that equates to 1, and FALSE that equates to 0.
In fact, I started to write a more detailed explanation for you, and ended up re-writing that part of my blog post :) Please check out the revised Look up with multiple criteria example. Hopefully the current explanation makes more sense. And thank you for your question!
Thanks for your kindness :)
Hi,
I'm trying to get values of the sales, costs, and profit for each item number using Index Match function, but I want the function to loop through values in column A that contains the item numbers, until no more records. Below is sample data.
Column A Column W Column X Column Z
1234 10.00 20.00 30.00
4567 20.00 30.00 40.00
How do I do this?
Thanks
Javed
I hope someone can point me in the right direction here. Here's my problem.
I have a spreadsheet with extension number, and I want to match that extension number to a name on the list. The issue is sometimes the name will change but the extension number is reused, but I want to keep historical data. Here's the example:
User1 had extension 2500
A vlookup can quickly return User1 as the name, if it's the only occurrence.
on 3/1/2016, User4 takes over and uses extension 2500.
Now, I want to show all rows prior to 3/1/2016 with User1 name, and all rows after 3/1/2016 with User4 name.
I'm not sure how to represent this...
So I want to match both criteria, Date and Extension to come up with the name.
Here's what I want to accomplish:
Date Ext Name(vlookup)
2/29/2016 2500 User 1
3/1/2016 2500 User 4
3/2/2016 8433 User 2
3/2/2016 8434 User 3
3/3/2016 2500 User 4
My Lookup table is like this:
Date Ext Name
1/1/2016 2500 User1
1/1/2016 8433 User2
1/1/2016 8434 User3
3/1/2016 8432 User4 (This extension is now repeated)
Thank you in advance for your help!
ADP
I have a spreadsheet for taxes. On one sheet there is a list of per diem allowances for different cities and counties throughout the US. Some cities have different rates depending on the time of year. What I'd like to do is this.
Look up the county specified in column F on sheet 1 in column D on 2015 Per diem Rates. Now if there are different rates at different times of year I need it to look at the date in Column a on 2015 and see what date range it falls between on 2015 Per diem Rates and then return the value in the corresponding row in column G.
I hope I haven't lost you! I know it has to be possible but I'm
My column A is DATE, column B has letters A-H which can repeat and varies with the dates, columns C and D have integers. I am looking for a formula to be in a cell in column E that can give me the value from either C/D if a cell value in column F (can be letters from A-H) matches with the letter in column B and the date is the MOST RECENT DATE. Thanks to everyone who can help me.
hello,
i am facing in some problem please give me a solution
how to find out exact value
like example: wihch is the highest value in "post" in texas
(city, state), (post, texas)
state - texas,in texas 3 city's for example
city - post - 12.53%
north post - 11.53%
south post - 12.54%
(city, state), (post, california)
post - 15.40%
I try to find and return value from pivot table to another excel list using formula "=IFERROR(VLOOKUP($A3,PIVOT!$A$4:$RX$361,MATCH(BOM!G$1,PIVOT!$A$4:$SC$4,0),0),)"
but it's returning me value "0" instead of value that supposed to be founded in PIVOT.
Can someone assist ne with creating or amending above formula.
I've sent an example document to 'support@ablebits.com'.
I tried to leave a comment but I can't see it, so I'll re-post. Please ignore this if the original did come through.
I have some columns of production data from which I want to create a line graph. There are gaps in the data as there was no production during that particular time. I want to ignore the gaps, as they are irrelevant, and only graph the days when there was production.
It appears that I need to use a combination of Index/Match + If + Small + Row to place the data points in a new column and then have the graph refer to the new column which only includes cells that have a value in an unbroken list.
Thanks
Hi Svetlana,
Thanks for the article, it explained things very well for me.
I have a slightly more complex problem I'm trying to solve (very complex for me, but maybe not too hard for someone more experienced).
I have a number of columns representing production within a particular hour of the day. From these I want to formulate a line graph displaying production over time. However there are a lot of gaps in the data as there was no production in that hour. A graph that does not take these gaps into account is stretched out.
I want to make a graph that does not include the gaps in the data.
From my research it appears that I need to create a new column which will pull the data into it that I want, using a combination of If + Index/Match + Small + Row.
I can't afford to individually select the cells that have data as I want the graph to dynamically select the required data and the data-set will end up being very large.
I will email an example document to support@ablebits.com.
how to formulate B1 = count "X" <=5
if A1 to A20 = X , B1 to B20 = 4 in sheet 1 &
if A1 = X in sheet 2
how can i arrange students grades to get highest marks and the student who has scored the marks,,,,,,as well using the same formular to get lowest marks and the student who has scored lowest marks
please help
Sorry please ignore my previous quesiton the alignment didn come as i expected when i wrote the question. Please see my updated quesiton
Sl Item Category
1 Cabbage Veg
2 Carrot Veg/Fruit
3 Banana Fruit
4 Carrot Veg
So if i need an out of Veg and Fruit then i need to display Carrot in Veg and Veg/Fruit category.? can someone help me?
This worked great, and used it to match 3 values before giving me a result. Thanks!!
i have a value in column A which has 4 options in column d
I am using the index/match to produce a table of the 4 options (column d). I can only get the first option to work. how do i get the next 3 rows to show up in my table for the item in column A
a c d
1 0.75 3450
1765
1150
850
=IF(INDEX($D81:D$237,(MATCH($S$69,$B$81:$B$237,0)))0,INDEX(D$81:D$237,(MATCH($S69,$B81:$B$237,0))),"")
Hello, Harvey,
To help you better, we need a sample table with your data in Excel. You can email it to support@ablebits.com. Please add the link to this article and your comment number.
Hi,this was helpful for a beginner with Index like me. I would like to know how to find out multiple matches if there are multiple entries of the lookup value.To be clear let take an example : Column A has all the products and column B has the customer name. There are multiple products a customer has purchased. Now if i would like to know all the products a single customer has purchased, how would i go about it?
thanks
Greetings,
I'm stuck with an odd ball for days. The Cell that contains the Value I want exceeds 255 characters/symbols (not the value I'm looking for).
Formula I used trying to capture the row containing '9F0702':
MATCH("*9F0702*", A2:A10, 0)
Lets assume it's contained within A5
Data in A5 (321 characters):
7081975A0851843600000810395F24031908315F25031410015F280207845F3401028C279F02069F03069F1A0295055F2A029A039C019F37049F35019F45029F4C089F34039F21039F7C148D0C910A8A0295059F37049F4C088E14000000000000000042014403410342031E031F039F0702FF009F080200029F0D05BC50BC08009F0E0500000000009F0F05BC70BC98009F4A01829F420207849000
I Get: N/A
How can I get my formula to work?
The tutorial explains what to do when the value you are looking for exceeds 255 but not when the Cell Value itself exceeds it.
Please please help me out.
Hello,
You can try the following workaround:
=MATCH("*9F0702*",LEFT(A2:A10,255),0)
Hello,
I have a 93k line data set, in which I've utilized the annoying conditional formatting tool for duplicate lines. I am attempting to group all duplicates and remove conditional formatting, however, it is no easy feat. With such a large data set it causes excel to crash during filtering.
I have attempted using lookups, match, index/match functions to no avail. Each duplicate line is not an exact duplicate because of the format (i.e. OPI or opi). Some are capitalized and may have additional letters and/or symbols.
Is there a formula that can be used to locate and group the duplicates without being exact matches from so much data?
Hello,
Please try the Duplicate Remover add-in for your task:
https://www.ablebits.com/excel-suite/find-remove-duplicates.php
Hello,
I came here to look for advice on a task in Excel that could be very simple, but I am not an Excel expert. I have two columns that contain over 1,000 values in each. 90% of the values are the same in each column. I simply to look for the values that are different in each of the columns. I tried the Vlookup and I have not had any luck. Is this something the Index Match could do?
Thanks in advance for your help.
Hello, Castoro,
You can try our Duplicate Remover to search for unique values:
https://www.ablebits.com/excel-suite/find-remove-duplicates.php
If you prefer using a formula, you can add a helper column with this one:
=IF(ISERROR(INDEX(A2:A10, MATCH(A2, A3:A10, 0))), TRUE, FALSE)
Here the values are in A2:A10.
Hi,
I want formula for its like a inventory style, I have received same item different date and different price than I want issue same price what I was received
Example:
Received:
Date Description UOM Qty Rate
01/12/2015 Boat Nail 4" Kgs 200 10
Issue Or Sale
Date Description UOM Qty Rate
01/12/2015 Boat Nail 4" Kgs 20 10
Issue Sheet Date,Description Qty, rate Placed placed automatically compare to received sheet Date,Description and Qty
Hello,
Merge Tables Wizard add-in can help you with the task. Please find more information about it on this page:
https://www.ablebits.com/excel-lookup-tables/index.php
Not working for a situation like this
Lookup value :SSJQFIDPK
From array
MVKLALQPRDSVARIAREHDINDNLLFKWLRIWLIKGRISRRLPLTNSSGIGVELLPVEMTLDERPYPVFTRGNYEDQ
MLTLEVIRKINDWPSNRVHELLPWNLSAVK
MTTLHYYLKEALLNIIENRRQNFAFLVFLSLSFIGIIITDSLIYSVSLKAEEELKVHSDKVIFVKLYRPKTVGYITEKFITVSKVLSFSKNAFLYVSDTPFSGELFSVSGIDKLGLNTEYSGDLNDKYNGNVAIVNESSPFFSKKQIFINGVPFKIIGVRLNSKTDFLDSLGLKANQSDEHIFIPLETMFKMKLDNRVNAVKIFLDNIVTKRDINNVKRVLYDNDIRKFDIVTSLNAKEAVDRVLERFSLLTNSVYVILTLSASVTCFILSKRSFYSRRVELSLKIIHGTEKKEITVLIIIESLIMLSVCLFISLIHAGVIMHIIKYFLDVTISIRTTMITISLANVLLVFIFANIIFSRLFFSINPVNAIKGKIE
MRHILYSFLAINAYLFSTQTLAKDCIIDNFFQKSIQFNSYSLDIEELDINKHNNIKTMLPDINIGLGQYINNNQWFSSITDSHFYLSLSYNLLSAYEAKMQNNKLDIANYLKYIEMLSERNNYIINLFSEIINYKIKKSHLMLMFERYRKLNKEYEIAKRKMSIGLISVLDVEMIYNILQKIRFDIDVLEEEESLLSDKISREYHVPESAIPDITYHKLKECKTADFYTLLAENKKLKIKAADIDNDIRKLSEIPSFYLSFGLTPKQGGALGNMSLRKMDYSASLGISFPLMGLFSSSVNQKEKIISMSRTRNESLKENIKLDLLEKEIRQKIDRLEKNLAMMKNELTLKKRKVEYINYRLKNGQDDVISYLSSVENLHETENEFQKIGYEIEYYSLYHYFLLQHISNTGEM
MIEGNVVTVERKLFSVLNHEYTAKKDIVAMKRNMEEKKLARLKGVKTHSTSMFSKGLISRESLHDIDEKISNTELTIMGLDIESKNLEQLLKLSSPFLHTPFIIRNIFVTNEQYVNAGDDIMSVELLDNFYIDVKFDPVSITGNIRDKRIRYRSLVNSLMGAATVVKNIRASGESTQGEDTSGLRSITLLIDGDRNELSNLLDTAFEIIIDD
MIRVKIHKKPIENRTILNNSTIEIKEGSFNIITGPSGVGKTSLLNIIGLLDNAFVGEYEFFGKKVEIKDNSITTYIRRKYFGFIFQDSLINVKQNVLRNILCSVDSQNIIAARERINDILVSVGLSNINNNVSFLSGGEKQRLALARALIKKPSILLADEPTASLDIKNKKLVMNILSEYNNQGGTVVMVTHDLELIDENMTLIQLLNT
MKFTIVLLYFFAYYLAARKRRVSLFFTILLYSIIFSGMYFSSGFLEYYGSSNLYLSFGLLCYNMITLVIYGFLSSYGVLGACLHALLLTSLSAFGMFIPLNPLIVLYYDFPDILPRTDIPVLNLLILNLIPAVTFSLKISFFLRSLMLLLFPLIWKTPVNITHPPLNIVIVQVGLYFKKVGVRGNFYTDLNEFVRNKKVDLVILSENVFFGYKNDYIKERTKHLLKQLKDNRFHYKYGILMNLYGYQDINNVVSAFWHKEEFLLHQKSKLIPFFEKKSFYNSPEPSTSPFLYYKKKYNEQDILDFNNIKMSIHICYEGLFPEGESRRKDISIVQSDYSWLSDNHKYDNTLINGSILSKFSVSPNTPLINIQNYGGTVLIDKNWKIDMDLFNRSKTEPFLFTQI
MHSENIAAYIGLDVHKETLAVAIAAPERLGEVRYYGTINNEAQAVRRLFQKLQGLYGNILSCYEAGPCGFGLYHQLTAMNIKCQVIAPSRIPKSPTDRIKNDHRDAISLARLLRAGELTPVWIPDLTHEAMRDLIRARAAAKRDSRVARQRILSMLLRTDKRYAGKHWTGKHRTWLANQSFSQPSQQIAFQHYCQSLEQIEDRILQLDQKISRLLPEWSLCNLVCQLQALKGVGQLIAITLVAELGDFSRFSNPKQLMAFLGLVPGEYSSGNSIRPRGITKVGNSELRRLLYEAAWSYRTPAKVGAWLIYYRPDSVTQYSKDIAWKAQQRLCSRYRSLTAKGKNHK
Hello Nazrul,
It looks like this sequence of characters is not present in the array.
Hi, I'm trying to find a formula that would help me solve the following problem:
Code Country LE#
123 US 4026
123 UK 4026
123 US 3026
435 CN 1419
435 CN 1398
I need to find a formula that can return lowest LE# so if I look up 123 & US it should return with the lowest LE# which is 3026
Thanks.
Hello, David,
Please try this array formula:
{=MIN(IF((A2:A6=123) * (B2:B6="US"), C2:C6))}
Make sure you press CTRL + SHIFT + ENTER after entering it.
Thank you!
Hi Svetlana,
I am trying to apply below formula to know the date of particular event corresponding to the person listed in column B, but it resulting as #REF!.
INDEX('Bill Entry'!$K:$K,MATCH(sheet5!$B6,'Bill Entry'!$B:$B,0),MATCH(sheet5!D$3,'Bill Entry'!$H:$H,0))
also used the following, which shows #VALUE!
INDEX('Bill Entry'!$K:$K,MATCH(sheet5!$B7&sheet5!D$3,'Bill Entry'!$B:$B&'Bill Entry'!$H:$H,0))
Pl. resolve it
Amod Ranjan
Hi,
Is it possible to do the index match function with an isblank formula?
The index match formula works great, but returns a '0' when the cell is blank, I would rather it returned a blank cell.
Many thanks
Emma
Hello, Emma,
Here's a sample formula that may work for your task:
=IF(ISBLANK(INDEX($D$2:$D$10,MATCH("Japan",$B$2:$B$10,0))), "", INDEX($D$2:$D$10,MATCH("Japan",$B$2:$B$10,0)))
Hello Svetlana,
If in above table of country population; one country is e.g. Italy is 5 times written together with other countries, then how to get minimum population of Italy from such tables???
Thanks for your kind guidance.
For I am no expert, and have to translate all formulas (No, I dont work with a English version of office) some of the listed may be inacurate/wrong.
But i am pretty sure that:
- under "Why Excel's INDEX MATCH is better than VLOOKUP", 3.
=INDEX(D5:D10, MATCH(TRUE, INDEX(B5:B10=A2, 0), 0))
should be more like
=INDEX(D5:D10, MATCH(A2, B5:B10, 0))
- under "Calculations with INDEX MATCH in Excel (AVERAGE, MAX, MIN)", first table
Beijing has MAX population, and Lima MIN population, table states just the other way.
- under "How to use INDEX MATCH to search by row and column values", right above second graphic
=INDEX($A$1:$E$11, 4, 5, 0))
should be
=INDEX($A$1:$E$11, 4, 5)
If you copy&paste and then replace subfunctions with values, make sure you get the whole subfuncttion...or does the 0 do something I dont get? (despite the second closing bracelet)
- Look up with multiple criteria using INDEX MATCH, first graphic
just a minor thing: Why no row numbers? Really would help. :)
I only red on 'till (and including) "Look up with multiple criteria using INDEX MATCH" for I didn't need the following for solving my problem.
Pls, pls, pls proofread your articles before releasing. I understand that's a pain in the neck, but honestly, If I wouldn't know something about excel in the first place, I would have quit this article with a "fuckoff author" thought by the first non working formula. I came here to find a solution for my problem/learn something new. And if you, the "teacher", give me an example and that doesn't work, what am I supposed to do? Even I took a few minutes to realise that this is not just a new feature but an error, for I generally trust the internet.
Greetings
The Cook
PS: I hope these are mistakes. Or I just made an donkey out of myself.
PPS: "...for I generally trust the internet." even Abraham Lincoln knew: "Do not trust every (quote) at the internet." Wise bloke he is, isn't he?
Summary: A few errors and one cosmetic sugestion I found in this article.
The Cook is back: Just a comment for the friendly fellow who will write a comment about how someone else allready wrote a comment about this "mistakes": Here is a penny for your thoughts.
If that's true, just correct it allready. I only checked the first few comments, and realized most of them are questions for szenarios they have. And there are more comments that article. Writing my two comments was faster for me than checking the comments, for I read the article anyways 'till a certain point.
If that is not true, and I am indeed the first to point out mistakes:
I totaly checked all other comments, and couldn't find any pointing out mistakes. So i sacrificed some of *my precioussss* time to fulfill the heroic deed of doing so.
And I am no mother-toungish-english...er? so keep all tiping mitstakessd you find. :)
Summary: Some gibberish, some justifications, no real information.
Read for pleasure. Or don't.
Hi, i need an help on index match function! i have a set of data for which i want to use index match function. My problem is i have lookup value but my return value also there in same column in the lookup value. how to return the below value.for example :-
Sam
age41
Ram
age32
height 6"
Mary
Age7
So i have all the name but i need the below value from the name which i have already done using index match function but i cant. Can u pls help me out.
I've seen your article and I'm impressed on your. Where is my question:
In the population table I've to find out the name of the country having highest population.
Please help me out how to do that without macro or VBA
Hi Fellows,
I was wondering whether someone can Help.
Is there a way to use the Index function to do the following.
Check for a Match (let's from A2 in column E) and if no match is found look for a match (let's say from B2 in I) and output the value from the column?
Thank you in advance for the cooperation.
Regards,
Slavcho