mole999

Well-known Member
Joined
Oct 23, 2004
Messages
10,524
Office Version
  1. 2019
  2. 2016
  3. 2013
Platform
  1. Windows
Sure I am doing something fundamentally wrong, trying to match A & B then look up C i.e. 132.25. Can't believe I haven't found the answer. Individually the MATCH work, combining for a single position is eluding me, hence what is currently showing in C1

Excel Workbook
ABC
111/07/2019NORTH EAST#N/A
2Abstraction
3UseDateSECTORRELIEF_HRS
408/07/2019NORTH EAST0
508/07/2019NORTH WEST0
609/07/2019NORTH WEST0
710/07/2019NORTH EAST0
810/07/2019NORTH WEST0
910/07/2019SOUTH WEST0
1011/07/2019NORTH EAST132.25
SQL Test Data
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
There are a few ways to do that. Heres one:

=LOOKUP(2,1/(($A$4:$A$10=A1)*($B$4:$B$10=B1)),$C$4:$C$10)
 
Upvote 0
Two other options
=INDEX($C$4:$C$1000,MATCH($A$1&" "&$B$1,$A$4:$A$1000&" "&$B$4:$B$1000,0))
needs CSE entry.
or, a normal formula
=INDEX($C$4:$C$1000,MATCH($A$1&" "&$B$1,INDEX($A$4:$A$1000&" "&$B$4:$B$1000,0),0))
 
Upvote 0
To add index match match is used to find the intersection of a table where you want to find a locate the position of something (usually) in the first column and then something else in the first row so is unsuitable for what you need here.
 
Upvote 0
To add index match match is used to find the intersection of a table where you want to find a locate the position of something (usually) in the first column and then something else in the first row so is unsuitable for what you need here.
:confused:
How do you come to the conclusion that it's unsuitable?
Surely the whole point of an index/match formula is to find something in 1 (or more columns) & then return the corresponding value in another column for the same row. Which is exactly what mole is trying to do.
 
Upvote 0
If the combinations in columns A & B are unique and the result column numerical, as it appears is the case for your sample data, you could also use

=SUMIFS(C4:C10,A4:A10,A1,B4:B10,B1)
 
Last edited:
Upvote 0
:confused:
How do you come to the conclusion that it's unsuitable?
Surely the whole point of an index/match formula is to find something in 1 (or more columns) & then return the corresponding value in another column for the same row. Which is exactly what mole is trying to do.

Because the title says index match match which is unsuitable.
 
Upvote 0
Good point, I hadn't noticed the thread title.
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,184
Members
448,949
Latest member
keycalinc

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