is this possible?

new2vba

Board Regular
Joined
Aug 15, 2006
Messages
146
i have two columns:
=F2-B2
=E2-B2

i want another column that shows the values of both columns such as:

=F2-B2 (= "0")
=E2-B2 (= "1")

new column: "0 to 1"
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Upvote 0
why would excel do this?

why would excel decide to tack on 15 decimal places to some cell contents?
 
Upvote 0
Try

=TEXT(H2;"0,00") & " to " & TEXT(I2;"0,00")

The formatting works like Custom Number under the menu Format Cell.
 
Upvote 0
Try

=TEXT(H2;"0,00") & " to " & TEXT(I2;"0,00")

The formatting works like Custom Number under the menu Format Cell.
this says formula contains an error and highlights the "h2"
 
Upvote 0
this:
=TEXT(K2,"0,00") & " to " & TEXT(L2,"0,00")

is getting close but turns:

-1.00 0.00

into:

-001 to 000
 
Upvote 0
Change the semi-colon : to a comma ,.

Kjuel appears to be in Denmark where the ; seperator is used in formulas rather than a comma.

Also change the comma in "0,00" to a . , again an international settings issue.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,869
Members
449,054
Latest member
juliecooper255

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