Sumproduct , Index & Match

uswyne

Board Regular
Joined
Jul 27, 2017
Messages
78
Office Version
  1. 2019
  2. 2016
  3. 2013
  4. 2010
Platform
  1. Windows
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]GR#[/TD]
[TD]Name[/TD]
[TD]Head[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Usman[/TD]
[TD]Security[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Usman[/TD]
[TD]Admission[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Usman[/TD]
[TD]Tution Fee Aug[/TD]
[TD]17000[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Ali[/TD]
[TD]Security[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Ali[/TD]
[TD]Admission[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Ali[/TD]
[TD]Tution Fee Aug[/TD]
[TD]17000[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]Omar[/TD]
[TD]Tution Fee[/TD]
[TD]17000[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]GR #[/TD]
[TD]Name[/TD]
[TD]Security[/TD]
[TD]Admission[/TD]
[TD]Aug[/TD]
[TD]Sep[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Usman[/TD]
[TD]25000[/TD]
[TD]25000[/TD]
[TD]17000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want to fetch data by entering GR #. Kindly help me
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]GR#[/TD]
[TD]Name[/TD]
[TD]head[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12[/TD]
[TD]USMAN[/TD]
[TD]SECURTIY[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]12[/TD]
[TD]USMAN[/TD]
[TD]ADMISSION[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]12[/TD]
[TD]USMAN[/TD]
[TD]TUTION FEE AUG[/TD]
[TD]17000[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]13[/TD]
[TD]ALI[/TD]
[TD]SECURTIY[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]13[/TD]
[TD]ALI[/TD]
[TD]ADMISSION[/TD]
[TD]25000[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]13[/TD]
[TD]ALI[/TD]
[TD]TUTION FEE AUG[/TD]
[TD]17000[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]14[/TD]
[TD]OMAR[/TD]
[TD]TUTION FEE AUG[/TD]
[TD]17000[/TD]
[/TR]
</tbody>[/TABLE]
















[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]11[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]R#[/TD]
[TD]NAME[/TD]
[TD]SECURITY[/TD]
[TD]ADMISSION[/TD]
[TD]AUG[/TD]
[TD]SEP[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]12[/TD]
[TD]=INDEX(B2:B8,MATCH(A13,A2:A8,0))[/TD]
[TD]=SUMIFS($D$2:$D$8,$B$2:$B$8,$B13,$C$2:$C$8,C$12)[/TD]
[TD]DRAG LEFT[/TD]
[TD]=SUMIFS($D$2:$D$8,$B$2:$B$8,$B13,$C$2:$C$8,"*"&E$12&"*")[/TD]
[TD]DRAG LEFT[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]13[/TD]
[TD]DRAG DOWN[/TD]
[TD]DRAG DOWN[/TD]
[TD]DRAG LEFT[/TD]
[TD]DRAG DOWN[/TD]
[TD]DRAG LEFT[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]14[/TD]
[TD]DRAG DOWN[/TD]
[TD]DRAG DOWN[/TD]
[TD]DRAG LEFT[/TD]
[TD]DRAG DOWN[/TD]
[TD]DRAG LEFT[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

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