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.

Current Score Updated
2152
9471933
6931193
5451079
6241045
5421021
230446
7631472
45862
444746
10151936

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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,215,884
Messages
6,127,563
Members
449,385
Latest member
KMGLarson

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