Problem with VALUE()

kingsushi001

New Member
Joined
Oct 24, 2017
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
Good Day

I have a data feed from a supplier which I imported into excel.
I want to take their prices from the "Price" column and use VALUE
on it because it seems to be a string.

Now, VALUE works fine on all values except when the value in "Price"
is higher than 999.99 So basically I get the correct values on 0.01-999.99.
As soon as it hits 1000.00, it craps out.

Can anyone please tell me why it's doing this?

Thank you in advance
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
It doesn't for me. Although there shouldn't be any need to use the VALUE function. You can just add 0 to the value.
=A1+0

Can you post some sample data for what is not working?
 
Last edited:
Upvote 0
https://drive.google.com/file/d/0B2C2ndpap_2OLXNWaldFSi1FeEE/view?usp=sharing

Here's a link to the files. I've tried everything suggested so far and everything I could find on google.
The problem is with the "Regular Price" column. It pulls the value from the "price" column which in turn
pulls it off a pivot table connected to the Esquire Feed workbook. The Esquire Feed workbook pulls it from the web.

Again, any help would be greatly appreciated.
 
Upvote 0
@kingsushi001, replace the formula in the "Regular Price" column with this one:

=VALUE(SUBSTITUTE(SUBSTITUTE([@price],"R ",""),CHAR(160),""))

Essentially, what I was thinking above was on point; but instead of the data having a hard-coded comma when numbers got into the thousands, the comma had been replaced with a non-printing character. So the formula here just deletes that non-printing character.
 
Last edited:
Upvote 0
Thank you so much. everything is working now. Had a slight problem, just had to replace the , with a ;.

Again, thank you very much
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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