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="width: 500"]
<tbody>[TR]
[TD]GRN[/TD]
[TD]name[/TD]
[TD]Tuition Fee[/TD]
[TD]Computer Fee[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]AAAA[/TD]
[TD]11000[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]BBBB[/TD]
[TD]10000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]CCC[/TD]
[TD]10000[/TD]
[TD]1000[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 500"]
<tbody>[TR]
[TD]Head[/TD]
[TD]GRN[/TD]
[TD]Amount[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tuition Fee[/TD]
[TD]25[/TD]
[TD]11000[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Computer Fee[/TD]
[TD]25[/TD]
[TD]1000[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tuition Fee[/TD]
[TD]30[/TD]
[TD]10000[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tuition Fee (manually) [/TD]
[TD]31 (manually) [/TD]
[TD]? (Automatecally)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

What I want is that I select the head (A Column) and enter GRN (B Column) the amount automatically appear in (C column)
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi, maybe something like this..:


Excel 2013/2016
ABCDEFGH
1GRNnameTuition FeeComputer FeeHeadGRNAmount
225AAAA110001000Tuition Fee2511000
330BBBB10000Computer Fee251000
431CCC100001000Tuition Fee3010000
5Tuition Fee3110000
Sheet1
Cell Formulas
RangeFormula
H2=INDEX($C$2:$D$4,MATCH(G2,$A$2:$A$4,0),MATCH(F2,$C$1:$D$1,0))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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