#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Units like MathCAD

Is it possible to write an equation like =10_lb X 20_ft and get a result
200_lb.ft in excel. ( MathCAD unit conversion capability)?

Thanks in advance


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default Units like MathCAD

="10:lb X 20_ft ="&10*20



"2007-User" skrev:

Is it possible to write an equation like =10_lb X 20_ft and get a result
200_lb.ft in excel. ( MathCAD unit conversion capability)?

Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,231
Default Units like MathCAD

"2007-User" wrote...
Is it possible to write an equation like =10_lb X 20_ft and get
a result 200_lb.ft in excel. ( MathCAD unit conversion capability)?


Possible, yes. Only snag: you'd have to write the user-defined
function yourself. If you mean possible using only built-in Excel
functions with no VBA programming, then no, it's not possible.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Units like MathCAD

Thanks Harlan,

Have you seen any add-on utility that can add such capability to excel? it
would be so nice.
In MathCAD you can change the units like "lb" to "kg" and the result will
change automatically ...



"Harlan Grove" wrote in message
oups.com...
"2007-User" wrote...
Is it possible to write an equation like =10_lb X 20_ft and get
a result 200_lb.ft in excel. ( MathCAD unit conversion capability)?


Possible, yes. Only snag: you'd have to write the user-defined
function yourself. If you mean possible using only built-in Excel
functions with no VBA programming, then no, it's not possible.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,231
Default Units like MathCAD

"2007-User" wrote...
Have you seen any add-on utility that can add such capability to
excel? it would be so nice. In MathCAD you can change the units
like "lb" to "kg" and the result will change automatically...

....

AFAIK there are no such add-ins, and if there were they'd either only
work as functions operating on specially formatted strings, e.g.,

=UNITMULT("5.3_g","12_m") - "63.6_g.m" [momentum]

similar to how Excel's ATP IM* functions operate on complex numbers,
or using Calculate event handlers to alter number formats, e.g.,

A1 containing 5.3 formatted as "0.0\_\g" and B1 containing 12
formatted as "0\_\m", with C1 containing =A1*B1, so evaluating to 63.6
and with the Calculate event handler finding the number formats of A1
and B1 and changing C1's number format to "0.0\_\g\.\m".

While I can appreciate why you might want this, Excel is a GENERAL
tool for relatively SIMPLE calculations. IOW, it's a BUSINESS
calculation tool. Some people may try to misuse it as mathematical
software (like MathCAD, MatLAB, etc.), but Excel simply lacks much of
the functionality of mathematical software. It may be possible to add
functionality to Excel, but the result won't be any cleaner than the
ATP's IM* functions (and for arbitrary units, it'd be MUCH dirtier),
and it'd noticeably affect Excel's recalc speed.

Still, there's always Google search. Google shows only 22 hits when
searching for +Excel +"MKS units" +"add-in", and most of them are for
the same add-in, ChangeUnits.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Units like MathCAD

Thanks for your complete answer.


"Harlan Grove" wrote in message
ups.com...
"2007-User" wrote...
Have you seen any add-on utility that can add such capability to
excel? it would be so nice. In MathCAD you can change the units
like "lb" to "kg" and the result will change automatically...

...

AFAIK there are no such add-ins, and if there were they'd either only
work as functions operating on specially formatted strings, e.g.,

=UNITMULT("5.3_g","12_m") - "63.6_g.m" [momentum]

similar to how Excel's ATP IM* functions operate on complex numbers,
or using Calculate event handlers to alter number formats, e.g.,

A1 containing 5.3 formatted as "0.0\_\g" and B1 containing 12
formatted as "0\_\m", with C1 containing =A1*B1, so evaluating to 63.6
and with the Calculate event handler finding the number formats of A1
and B1 and changing C1's number format to "0.0\_\g\.\m".

While I can appreciate why you might want this, Excel is a GENERAL
tool for relatively SIMPLE calculations. IOW, it's a BUSINESS
calculation tool. Some people may try to misuse it as mathematical
software (like MathCAD, MatLAB, etc.), but Excel simply lacks much of
the functionality of mathematical software. It may be possible to add
functionality to Excel, but the result won't be any cleaner than the
ATP's IM* functions (and for arbitrary units, it'd be MUCH dirtier),
and it'd noticeably affect Excel's recalc speed.

Still, there's always Google search. Google shows only 22 hits when
searching for +Excel +"MKS units" +"add-in", and most of them are for
the same add-in, ChangeUnits.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rounding Up or down to 1/2 Units Mal Excel Worksheet Functions 7 February 8th 06 08:23 PM
Formula to add up units Steved Excel Worksheet Functions 3 August 3rd 05 09:21 AM
units Mindy Excel Discussion (Misc queries) 3 April 20th 05 05:13 PM
changing units Mindy Excel Discussion (Misc queries) 2 April 20th 05 04:55 PM
Measurement Units Don Bowyer Setting up and Configuration of Excel 2 April 11th 05 08:40 PM


All times are GMT +1. The time now is 03:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"