Index Double Match Offset

ruckuz

New Member
Joined
Dec 28, 2010
Messages
36
Employee: Jane Doe
Regular$68,000
Vacation$1,000

<tbody>
</tbody>






Hi Excel Experts,
I need some help w/ Index Multi Match Offset.

As you can see A1 is Employee: Jane Doe and B2 is $68K. I need an index double match offset formula that will look for Jane Doe and Regular and gives me $68K as the answer. I know index match and offset will do it but I don't know how quite to put these 3 formulas together. Many Thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Maybe:

Assuming that in F2 you have the name Jane Doe

=INDEX(B:B,MATCH(F2,A:A,0)+1)

Or

=OFFSET(INDIRECT("A" & MATCH(F2,A:A,0)),1,1)
 
Last edited:
Upvote 0
Maybe:

Assuming that in F2 you have the name Jane Doe

=INDEX(B:B,MATCH(F2,A:A,0)+1)

Or

=OFFSET(INDIRECT("A" & MATCH(F2,A:A,0)),1,1)

Hi Thanks. But this works well until there is
Jane Doe
Regular $68K
Regualr $2K

The answer should be $70K. i guess it should be a sumproduct formula
 
Upvote 0
Do you have more information on the sheet?
You could put in exactly what data you have.
 
Upvote 0
Do you have more information on the sheet?
You could put in exactly what data you have.

Doe, Jane
Regular1114.7515.0016721.25
Regular54.2516.00868.00
Overtime0.2522.505.63

<tbody>
</tbody>

Jane Doe will be in A1 it should sum Doe, Jand and all of Regular in column D
 
Last edited:
Upvote 0
But you have more names on the page or just Doe.
If only Doe exists, it would suffice to add column D if in column A it says "Regular"
 
Upvote 0
But you have more names on the page or just Doe.
If only Doe exists, it would suffice to add column D if in column A it says "Regular"

I have more names. I just present Jane Doe as an example.

The data lined up like Jane Doe but w/ different name & different numbers for regular. need to sum up all "regular" w/ a particular person but the numbers is one row lower than the name.
 
Upvote 0
It is not easy if we do not have the information, I will assume that you have your information in this way:


<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:89.35px;" /><col style="width:77.94px;" /><col style="width:62.73px;" /><col style="width:76.99px;" /><col style="width:18.06px;" /><col style="width:86.5px;" /><col style="width:88.4px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td><td >E</td><td >F</td><td >G</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td >Doe, Jane </td><td > </td><td > </td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td >Regular</td><td style="text-align:right; ">1114.75</td><td style="text-align:right; ">15.00</td><td style="text-align:right; ">16721.25</td><td > </td><td >Doe, Jane </td><td style="text-align:right; ">17589.25</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td >Regular</td><td style="text-align:right; ">54.25</td><td style="text-align:right; ">16.00</td><td style="text-align:right; ">868.00</td><td > </td><td >Smith, John</td><td style="text-align:right; ">37</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td >Overtime</td><td style="text-align:right; ">0.25</td><td style="text-align:right; ">22.50</td><td style="text-align:right; ">5.63</td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td > </td><td > </td><td > </td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td >Smith, John</td><td > </td><td > </td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td >Regular</td><td style="text-align:right; ">1.00</td><td style="text-align:right; ">3.00</td><td style="text-align:right; ">15.00</td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td >Regular</td><td style="text-align:right; ">2.00</td><td style="text-align:right; ">4.00</td><td style="text-align:right; ">22.00</td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td >Overtime</td><td style="text-align:right; ">3.00</td><td style="text-align:right; ">5.00</td><td style="text-align:right; ">88.00</td><td > </td><td > </td><td > </td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b></b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >G2</td><td >{=SUM(IF(OFFSET($A$1,MATCH(F2,$A$1:$A$10,0),0,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))="Regular",OFFSET($A$1,MATCH(F2,$A$1:$A$10,0),3,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))))}</td></tr><tr><td >G3</td><td >{=SUM(IF(OFFSET($A$1,MATCH(F3,$A$1:$A$10,0),0,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))="Regular",OFFSET($A$1,MATCH(F3,$A$1:$A$10,0),3,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))))}</td></tr></table></td></tr></table>

Array formulas
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself
 
Upvote 0
It is not easy if we do not have the information, I will assume that you have your information in this way:


ABCDEFG
1Doe, Jane
2Regular1114.7515.0016721.25 Doe, Jane 17589.25
3Regular54.2516.00868.00 Smith, John37
4Overtime0.2522.505.63
5
6Smith, John
7Regular1.003.0015.00
8Regular2.004.0022.00
9Overtime3.005.0088.00

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:89.35px;"><col style="width:77.94px;"><col style="width:62.73px;"><col style="width:76.99px;"><col style="width:18.06px;"><col style="width:86.5px;"><col style="width:88.4px;"></colgroup><tbody>
</tbody>

CellFormula
G2{=SUM(IF(OFFSET($A$1,MATCH(F2,$A$1:$A$10,0),0,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))="Regular",OFFSET($A$1,MATCH(F2,$A$1:$A$10,0),3,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))))}
G3{=SUM(IF(OFFSET($A$1,MATCH(F3,$A$1:$A$10,0),0,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))="Regular",OFFSET($A$1,MATCH(F3,$A$1:$A$10,0),3,MIN(IF($D$2:$D$10="",ROW($D$2:$D$10))))))}

<tbody>
</tbody>

<tbody>
</tbody>


Array formulas
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

Yes i do!!! Thank you very much for your help!
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,699
Members
449,048
Latest member
81jamesacct

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