cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign units to output of an excel component in MathCAD?

SOLVED
Highlighted
Newbie

How to assign units to output of an excel component in MathCAD?

Just started MathCAD prime 2.0. Big change from MathCAD 15. Majority is unpleasant change. Anyways my questions below.

I have inserted a excel component in my MathCAD sheet.

1. The input into the excel component has units 'mm'. The value is 45 mm (Bolt dia). In the excel sheet it comes out as 0.045 automatically. Why is that so?

2. In the excel component there is a table and it does a VLOOKUP search in excel for the input given and returns the desired value. This value I have selected as a output of my excel component. The thing is that the output does not have any unit. But I want units of mm^2 (Bolt area) assigned to it. But for the life of me I am not able to do it. Each time I try to insert manually, MathCAD automatically makes it unitless by giving mm^2/m^2 result. Any help regarding this?

Thanking you all in advance.

Regards,

Debayan

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to assign units to output of an excel component in MathCAD?

Hi,

I'm running Prime 2 & it seems to half-work...

Capture.PNG

the input strips the mm units out nicely, but although the scaling is working, the units seem to disappear???

Changing the A.si output to mm^2 gives:

Capture.PNG

Note: sometimes it flags the mm as a unit & most times not!

More proof that P2 is(was) a work in progress.

Looks like the output from the XL sheet has to be a number & add the scaling afterwards.

Capture.PNG

Regards

Andy

7 REPLIES 7

Re: How to assign units to output of an excel component in MathCAD?

Please bear with Prime - it will come good in the end.

  1. Mathcad has converted the variable to the base SI unit , metres. You can divide the variable by mm and it will display correctly in the Excel component.
  2. You can muliply the right hand side of the output expression within the Excel component by the desired units.

Clipboard01.jpg

Re: How to assign units to output of an excel component in MathCAD?

Mike.

Thanks for your reply. But unfortunately your solution doesn't work in my MathCAD sheet (suprisingly!). I am attaching my MathCAD sheet below. Please take a look.

Re: How to assign units to output of an excel component in MathCAD?

I have Mathcad Prime 3.0 you see.

Seems to work for me.

Re: How to assign units to output of an excel component in MathCAD?

Hi,

I'm running Prime 2 & it seems to half-work...

Capture.PNG

the input strips the mm units out nicely, but although the scaling is working, the units seem to disappear???

Changing the A.si output to mm^2 gives:

Capture.PNG

Note: sometimes it flags the mm as a unit & most times not!

More proof that P2 is(was) a work in progress.

Looks like the output from the XL sheet has to be a number & add the scaling afterwards.

Capture.PNG

Regards

Andy

Re: How to assign units to output of an excel component in MathCAD?

So it looks like they have corrected this in Prime 3.0

Cheers for checking Andy

Re: How to assign units to output of an excel component in MathCAD?

I think this warrants a free upgrade to Prime 3 to who ever has paid for Prime 2 . Too bad my project sheets have to be in Prime 2 though

Re: How to assign units to output of an excel component in MathCAD?

I doubt you will get that, but worth asking

I would wait for Prime 4.0 if you are looking at upgrading.