Remove Zero Value from Cell

mbrown279

New Member
Joined
Sep 16, 2018
Messages
10
Hi All,

I am using an Index/Match to look up value from another table, and using that data to pivot out average scores. However it is placing zeros in the filed that have no data, which is causing Excel to count that cell.

What would I need to do so that a zero value is not returned and counted by Excel when pivoting out the data get the average score. I hope I have explained this properly.

Code:
=IF(ISNA(INDEX(Updated[NPS],MATCH([Conversation ID],Updated[Conversation ID],0))),"",INDEX(Updated[NPS],MATCH([Conversation ID],Updated[Conversation ID],0)))

I set up the pivot table to show count so I could see the difference between the current score and update score. The updated score is the one using the formula. It should be the same number.

[TABLE="width: 156"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Current Score [/TD]
[TD]Updated[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]152[/TD]
[/TR]
[TR]
[TD]947[/TD]
[TD]1933[/TD]
[/TR]
[TR]
[TD]693[/TD]
[TD]1193[/TD]
[/TR]
[TR]
[TD]545[/TD]
[TD]1079[/TD]
[/TR]
[TR]
[TD]624[/TD]
[TD]1045[/TD]
[/TR]
[TR]
[TD]542[/TD]
[TD]1021[/TD]
[/TR]
[TR]
[TD]230[/TD]
[TD]446[/TD]
[/TR]
[TR]
[TD]763[/TD]
[TD]1472[/TD]
[/TR]
[TR]
[TD]45[/TD]
[TD]862[/TD]
[/TR]
[TR]
[TD]444[/TD]
[TD]746[/TD]
[/TR]
[TR]
[TD]1015[/TD]
[TD]1936[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
You can always set the if statement to return a null string.

=IF(MyIF=0,"",MyIF) 'where MyIF is your IF statement.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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