Forum Discussion
suthandira
May 17, 2019Copper Contributor
Fetch specific cell value which matches the RowName and ColumnName
Is it possible to create a "Excel formula" where it returns the value of the cell (or) row number and column number when it matches with the specific row name and column name. For example:I need ...
- May 17, 2019
suthandira , for such sample
it'll be
=GETPIVOTDATA("[Measures].[Sum of C]",$F$5,"[Table1].[A]","[Table1].[A].&[MRO2]","[Table1].[B]","[Table1].[B].&[AMS]")
The easiest way to generate the formula - type "=" in any empty cell and click on proper cell within your PivotTable. After that you may play with adjustments.
SergeiBaklan
May 17, 2019Diamond Contributor
suthandira , for such sample
it'll be
=GETPIVOTDATA("[Measures].[Sum of C]",$F$5,"[Table1].[A]","[Table1].[A].&[MRO2]","[Table1].[B]","[Table1].[B].&[AMS]")
The easiest way to generate the formula - type "=" in any empty cell and click on proper cell within your PivotTable. After that you may play with adjustments.
- suthandiraMay 17, 2019Copper ContributorThank you soo much it works for pivot table but how can we fetch value if the table is not a pivot table(Normal Table).Is it possible to get the value?
- SergeiBaklanMay 17, 2019Diamond Contributor
suthandira , yes, for the table2 like this
that is
=INDEX(Table2[#All], MATCH("MRO2",Table2[[#All],[Row Labels]],0), MATCH("AMS",Table2[#Headers],0))
- suthandiraMay 17, 2019Copper ContributorThank you soo much for helping me :)