Hi,
I am working with a pivot table and attempting to extract the highest value (count) found and returning a user name based on that. I am getting the dreaded N/A as a result of my formula. I am running Excel 2010. Here is the test case I have.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Sam[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
in a cell elsewhere on the sheet I have the following formula: =VLOOKUP(MAX(B2:B5),A2:B5,1,0). I get N/A. Any idea how to solve this problem? I would expect Sam as the value.
I am working with a pivot table and attempting to extract the highest value (count) found and returning a user name based on that. I am getting the dreaded N/A as a result of my formula. I am running Excel 2010. Here is the test case I have.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Sam[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
in a cell elsewhere on the sheet I have the following formula: =VLOOKUP(MAX(B2:B5),A2:B5,1,0). I get N/A. Any idea how to solve this problem? I would expect Sam as the value.
Last edited: