Expand IntroductionIntroduction
Expand AdministrationAdministration
Expand User InterfaceUser Interface
Expand SolidWorks FundamentalsSolidWorks Fundamentals
Expand Moving from 2D to 3DMoving from 2D to 3D
Expand AssembliesAssemblies
Expand CircuitWorksCircuitWorks
Expand ConfigurationsConfigurations
Expand SolidWorks CostingSolidWorks Costing
Expand Design CheckerDesign Checker
Expand Design Studies in SolidWorksDesign Studies in SolidWorks
Collapse Detailing and DrawingsDetailing and Drawings
Detailing Overview
Setting Detailing Options
Model Items
Model Items PropertyManager
Expand eDrawings MarkupseDrawings Markups
Expand StyleStyle
Add or Update a Style
Expand AnnotationsAnnotations
Expand TablesTables
Collapse Bill of Materials (BOM)Bill of Materials (BOM)
Expand Bill of Materials OverviewBill of Materials Overview
Bill of Materials Templates
Bill of Materials PropertyManager
Collapse Table-based Bill of MaterialsTable-based Bill of Materials
Default BOMs
Bill of Materials Multiple Configurations
Bill of Materials Sort
Saving Sort Settings for BOMs
Bill of Materials Quantity
Component Options Dialog Box
Displaying Configuration-specific Quantities in BOMs
Changing the Configuration Quantities Displayed in a BOM
Equations in Tables and BOMs
Creating Bills of Materials from Parts or Assemblies
Working with Parts or Assembly BOMs
Detailed Weldment Cut Lists in BOMs
Bill of Materials Weldment Parts
Opening the Bill of Materials PropertyManager for Displayed BOMs
Restructuring BOMs
Moving BOMs
Dissolving a Subassembly or Weldment in BOMs
Displaying Detailed Cut Lists in BOMs
Expand Indented BOMsIndented BOMs
BOM Assembly Structure and Balloons
Removing BOM Item Numbers from a Row
Splitting BOMs
Merging BOMs
Exporting BOMs
Expand Excel-based Bill of MaterialsExcel-based Bill of Materials
Bill of Materials Column Properties
Expand Drafting StandardsDrafting Standards
Expand Print SettingsPrint Settings
Expand DrawingsDrawings
Expand DFMXpressDFMXpress
Expand DriveWorksXpressDriveWorksXpress
Expand FloXpressFloXpress
Expand Import and ExportImport and Export
Expand Model DisplayModel Display
Expand Mold DesignMold Design
Expand Motion StudiesMotion Studies
Expand Parts and FeaturesParts and Features
Expand RoutingRouting
Expand Sheet MetalSheet Metal
Expand SimulationSimulation
Expand SimulationXpressSimulationXpress
Expand SketchingSketching
Expand Sustainability ProductsSustainability Products
Expand SolidWorks UtilitiesSolidWorks Utilities
Expand TolerancingTolerancing
Expand TolAnalystTolAnalyst
Expand ToolboxToolbox
Expand WeldmentsWeldments
Expand Workgroup PDMWorkgroup PDM
Expand TroubleshootingTroubleshooting
Glossary
Hide Table of Contents

Equations in Tables and BOMs

You can specify calculations for equations using different methods:

  • Use text strings for built-in column headings in a BOM to specify mathematical expressions. Use single quotation marks in the equation display (for example, 'ITEM NO.' or 'ITEM NO.'*'QTY.').
    Built-in column headings for BOMs include Item No., Qty., and Part Number.
  • Use custom properties in equations. When you select a custom property, it appears in single backward quotation marks in the equation display (for example, `Price`).
  • Use the # symbol in front of a column heading item (for example, #'PART NUMBER'). This syntax ignores non-numeric text in the calculation. If you do not use this syntax and an item includes non-numeric characters, the value appears as 0.0.
  • Type regular text strings that do not represent column headings in double-quotes (for example, "$").
  • An IF function returns one value if a condition is true, and another value if the condition is false. Specify the IF function using semi-colons to delimit the outcomes for IF functions as follows:
    IF(test_condition; value_if_test_condition_true; value_if_test_condition_false)

    For example:

    Equation:

    IF('DESCRIPTION'<>""; 'DESCRIPTION'; "-")
    

    Result:

    DESCRIPTION value (if not empty) or "-".

    You can use conditional operators for the test condition in an IF function:

    Symbol Description Example
    = Equals 'Description' = "" (The description property is empty)
    > Is greater than 'Qty.' > 2
    < Is less than `Length` < 2
    <= Is less than or equal to  
    >= Is greater than or equal to  
    <> Is not equal to 'DESCRIPTION'<>"" (the description property is not empty)
  • Sum, Average, Count, Max, and Min operate on cell entries of the table. For example, Ave(A1,A5) displays the average of the entries of cells A1 and A5.
  • You can use the colon syntax along with cell numbers to indicate operations on rows or columns. For example, SUM(A1:A5) gives the sum of the values from cells A1 through A5.
  • You can use *, +, /, and -, for multiplication, addition, division, and subtraction, respectively.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Equations in Tables and BOMs
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS 2014 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.