Skip to main content
1-Visitor
August 30, 2018
Question

Mathcad - Text in table cells

  • August 30, 2018
  • 1 reply
  • 5036 views

I wanted to create a table with text and numbers and then be able to sum the numbers.  Such as:

    Item          Wt

   Motor       100

   Bearing      20

   Mount       220

 

TotalWeight:= Sum Wt

 

But it is complaining that "Motor" etc. are undefined variables.

I could created just a single column table to hold the weights and then align it against a series of text boxes but that does not feel right.

 

Thanks for your help,

   Robin

 

 

1 reply

1-Visitor
August 30, 2018

It's best if you attach your file and/or include a snapshot.

You likely just need to put Motor, Bearing, & Mount in quotes:

    Item          Wt

   "Motor"       100

   "Bearing"      20

   "Mount"       220

Robin561-VisitorAuthor
1-Visitor
August 30, 2018

Thanks, That works for me.

 

Robin