Cell formula

ds_robb

Board Regular
Joined
Aug 25, 2002
Messages
73
I am writing a pivot table trying to count the number of unique values in a range of cells, but noticed I got different numbers when I loaded the same data to PowerBI. I believe the issue is some of the numeric data in the cell range are being stored as text, so it's counting certain values twice (once as a numeric type, once as a text type). I've tried converting all the cells to Numeric by format cells but it still seems to keep the text type ones as text. Below you can see the numeric fields are aligned right and the text aligned left.

Is there a way to

a) either truly convert these fields to numeric, or
b) in the original data sheet there was a green warning triangle on the text cells, which if clicked gave you the option to fix. Can you do this enmass with hundreds of cell rather than looking at each one. I don't want to ignore the error, I want to resolve it.

Hope this makes sense.

8004263​
8004263
8001120​
8001120
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You could add a new column, =NUMBERVALUE(A2) (or whatever cell the numbers in), and leave it there or replace the original after converting it
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,822
Members
449,096
Latest member
Erald

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