Binary problems

ZacCerrato

Board Regular
Joined
Jun 2, 2010
Messages
76
I understand that Excel uses binary math for most mathematical computations...however, this is creating serious problems for me.

In the spreadsheet I use, I introduce an initial number by referencing from an array of "prices". Once referenced, this number is multiplied by a single digit number (0-9, typically "1"). These values look fine within excel, but when I merge from these fields into a word document I get what is obviously the result of binary computations. E.g. I get "198.13999999999999" for what should be "198.14" or "455.93000000000001" for what should be "455.93".

Does anyone know of a way to keep these from happening when Word pulls numerical information from an Excel cell?

I though about doing a Vlookup and having another cell that pulled in whole number values rather than decimals? Is there another way to automatically round up or down to the hundreth place "0.00"?

Thanks in advance!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
When you do the computations in Excel, just wrap the formula in the ROUND() function to prevent this from happening:

=ROUND(A1*B1,2)

to round to 2 decimal places.
 
Upvote 0
You could try formatting the mail merge fields in Word using switches.
 
Upvote 0
I'm still having problems. I'm wondering if this is because I have one cell which pulls numerical values using =Vlookup(**,**,**,**) which gets thrown into the equation?

Even the cells for which I entered (e.g.) =ROUND(AL548+AM548, 2), these still pull up in word as the result of binary equations. :(

How would I use switches?
 
Upvote 0

Forum statistics

Threads
1,224,558
Messages
6,179,512
Members
452,921
Latest member
BBQKING

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