Index Match *

GrilledCheese

Board Regular
Joined
Apr 23, 2014
Messages
75
I have a formula that contains 2 syntax. =INDEX('[Sales.xls]Sheet1'!$A:$A,MATCH($A8,'[Customer.xls]Sheet1'!$A:$A,0)*3,0) What does the * in the formula mean?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Found answer online. Asterisk matches any sequence of characters. so in my example, *3 means 3 rows down.
I have a formula that contains 2 syntax. =INDEX('[Sales.xls]Sheet1'!$A:$A,MATCH($A8,'[Customer.xls]Sheet1'!$A:$A,0)*3,0) What does the * in the formula mean?
 
Upvote 0
Found answer online. Asterisk matches any sequence of characters. so in my example, *3 means 3 rows down.

It's not matching characters in your formula, it's multiplying the result of the MATCH function by 3. So if MATCH returns 4, you would actually be moving down 12 rows...
 
Upvote 0
MATCH returns a row number.

*3 multiplies anything by 3.

If MATCH returns 1 (meaning row 1) then your formula will return row 3.
If MATCH returns 20 (meaning row 20) then your formula will return row 60.
 
Upvote 0
I'm confused. What do you mean?

An asterisk can be used as a wildcard -OR- as a multiplication operator. For instance, if your MATCH formula were:

MATCH($A8&"*",'[Customer.xls]Sheet1'!$A:$A,0)

It would look for the contents of A8 which may be followed by more text instead of exactly the contents of A8.
 
Upvote 0

Forum statistics

Threads
1,213,563
Messages
6,114,332
Members
448,566
Latest member
Nickdozaj

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