• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Match and index with additional column

OH OK< Now AliGW has posted - i see what you wanted

for Older versions of excel
=INDEX(D$4:D$15,MATCH($H$3&$I$3,$B$4:$B$15&$C$4:$C$15,0))


sorry not following the logic - why is your ex ...
what version of excel are you using

can you give some expected results and why - based on the example table
 

Attachments

Last edited:
I'll assume you have 365.

In H3: C
In I3: 07/12/2025
In J3 followed by ENTER:
=DROP(GROUPBY(HSTACK(B4:B15,C4:C15),HSTACK(D4:D15,E4:E15,F4:F15),SUM,,0,,(B4:B15=H3)*(C4:C15=I3)),,2)

AliGW on MS365 Beta Channel (Windows 11) 64 bit

[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
H
[/th][th]
I
[/th][th]
J
[/th][th]
K
[/th][th]
L
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
2
[/td][td]
Domain
[/td][td]
Date
[/td][td]
Pass
[/td][td]
Fail
[/td][td]
Blocked
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
3
[/td][td]
C
[/td][td]
12/07/2025​
[/td][td]
2​
[/td][td]
4​
[/td][td]
2​
[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Sheet1[/td][/tr][/table]
 

Attachments

OH OK< Now AliGW has posted - i see what you wanted

for Older versions of excel
=INDEX(D$4:D$15,MATCH($H$3&$I$3,$B$4:$B$15&$C$4:$C$15,0))


sorry not following the logic - why is your ex ...
what version of excel are you using

can you give some expected results and why - based on the example table
The results that you have shown in the excel are correct, I want in the same fashion...but you have selected that particular column to bring the result.
Can we have something else such that the formula becomes dynamic and no matter where the column is placed it should pick it like we get in match and index
 
I'll assume you have 365.

In H3: C
In I3: 07/12/2025
In J3 followed by ENTER:
=DROP(GROUPBY(HSTACK(B4:B15,C4:C15),HSTACK(D4:D15,E4:E15,F4:F15),SUM,,0,,(B4:B15=H3)*(C4:C15=I3)),,2)

AliGW on MS365 Beta Channel (Windows 11) 64 bit


H
I
J
K
L
2
Domain
Date
Pass
Fail
Blocked
3
C
12/07/2025​
2​
4​
2​

Sheet: Sheet1
this worked..but is a bit complex for my brain... :)
 
Back
Top