INDEX/MATCH FORMULA

marinpa

New Member
Joined
Apr 20, 2006
Messages
34
I have this formula in excel and work just fine:

Excel Formula:
=INDEX(streets!$A$2:$D$16,,MATCH($A$1,streets!$A$1:$D$1,0))

Yet in gSheets does not work. Can someone help me with this?

Best regards
 
In Google Sheets, I have a source table on a sheet named "streets" and it looks like this (image at left):
1663084980887.png
1663085198867.png

On a different sheet, I have an entry in cell A1 (blue cell) that is used to query the source table on the "streets" sheet and return the column from the source table where A1 matches a column heading. The formula used in B1:
Excel Formula:
=INDEX(streets!$A$2:$D$16,,MATCH($A$1,streets!$A$1:$D$1,0))
Then I have a yellow cell that uses Data Validation (DV). The DV settings apply to cell A7 and specify to use "A list from a range" and the list is given by
Excel Formula:
=$B$3:$B
Note that I left the row off the end of the list range...Sheets will determine where the end is to return the entire list.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
I stated from the very beginning that formula works just fine in Excel.
The problem is that the very same formula does not work anymore., when imported into G Sheets
The question was if anyone can help the twik the formula to make it work in G Sheets as well
 
Upvote 0
The snapshot in my last post was taken from Google Sheets...the formula works fine. I placed the formula in cell B1 and the results spilled down. @Fluff had asked for details about why you believe that it does not work and your answer mentioned a dropdown list. The INDEX/MATCH formula is used in a helper column to create a list of items. The dropdown validation then references that list. Are you trying to use the INDEX/MATCH formula directly in the Data Validation window, rather than referencing the list created by the formula?
 
Upvote 0
The problem is that the very same formula does not work anymore., when imported into G Sheets
You're formula works fine in Sheets, which I have already told you twice.
So what EXACTLY do you mean when you say it "doesn't work"? Do you mean that you do not get the drop down arrow in the data validation cell?
 
Upvote 0

Forum statistics

Threads
1,223,953
Messages
6,175,598
Members
452,658
Latest member
GStorm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top