Skip to playerSkip to main content
Learn how to use index match with multiple criterias in Google Sheets.

At the end of this video, you should be able to answer the following questions.
How to use INDEX MATCH with multiple criteria in Google Sheets?
How do you use the INDEX and match function in Google Sheets?
How do I use Datevalue in Google Sheets?
How do you put two conditions in INDEX match?
Can I use INDEX match to return multiple values?

In Google Sheets, you can utilize INDEX MATCH with multiple criteria by combining the INDEX and MATCH functions. This involves specifying the criteria within the MATCH function to locate the row or column, and then using INDEX to retrieve the corresponding value. To use the INDEX and MATCH functions separately, you first identify the position of the desired value using MATCH, and then retrieve that value using INDEX. If you want to convert a date into a numerical value, you can employ the DATEVALUE function in Google Sheets.

Get First Occurance Of Date
=INDEX(B:B, MATCH(DATEVALUE(D8), A:A, 0))


List All Occurance Of Date
=FILTER(B:B, A:A = DATEVALUE(D18))


Let's break down this formula step by step:

=INDEX(B:B, MATCH(DATEVALUE(D8), A:A, 0))

1) INDEX(B:B, ...):This function returns the value of a cell in a specified row and column of a table or range.
B:B refers to the entire column B, from which the value will be retrieved.
2) MATCH(DATEVALUE(D8), A:A, 0):The MATCH function searches for a specified value in a range of cells and returns the relative position of that item.

Let's break down this formula step by step:

=FILTER(B:B, A:A = DATEVALUE(D18))

1) FILTER: This function filters a range of data based on specified criteria and returns the results that meet those criteria.
2) B:B: This specifies the range of data that we want to filter. In this case, it's column B, meaning all the cells in column B.
3) A:A = DATEVALUE("05/14/2024"): This is the criteria for filtering. It checks each cell in column A to see if it equals the date value of May 14, 2024, which is obtained using the DATEVALUE function.


How to use INDEX MATCH with multiple criteria in Google Sheets?,How do you use the INDEX and match function in Google Sheets?,How do I use Datevalue in Google Sheets?,How do you put two conditions in INDEX match?,Can I use INDEX match to return multiple values?,

Check out my complete suite of Microsoft Excel Tips and Tricks.
https://www.youtube.com/@jjnet247/shorts
https://www.tiktok.com/@exceltips247
https://www.instagram.com/exceltips247/
https://www.dailymotion.com/ExcelTips247
https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/
https://x.com/ExcelTips247/media
https://www.reddit.com/r/Excel247/
https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #tips #tipsandtricks #microsoftexcel #accounting #fyp #fypシ #exceltips #exceltricks

Category

📚
Learning
Transcript
00:00In Google Sheet, how can you effectively use index match and date value function?
00:04This was one of the very interesting questions inquired by one of my viewers.
00:07But this is not the best mix of function as the better one would be to use the filter function.
00:13Let me show you how.
00:13We start off with using a date value function to convert the number of days between D8 and
00:18January 1st, 1900.
00:20Then we run the match function against the output of the date value in column A with the
00:24exact match, then return the row number of 12 for our date here.
00:27Finally, we use the index function to retrieve the value from column B for row 12.
00:32This technique returns the very first occurrence of the date.
00:35However, if you like the formula to return every occurrence, then you need to use a filter
00:39function and a date value function, where the filter function returns the value from column
00:43B for all occurrence of date in column A that matches cell D18.
Comments

Recommended