Formulas and Functions https://help.smartsheet.com/ en Automatically update the TODAY function in formulas https://help.smartsheet.com/articles/2482767-automatically-update-today-in-formulas <span class="field field--name-title field--type-string field--label-hidden">Automatically update the TODAY function in formulas</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>For the TODAY function to recognize what the current date is, the sheet must be updated and saved. If there is a chance that a sheet may not have enough daily activity for TODAY to update, there are few different workflows you can leverage to automatically update your sheet.</p> <h3>Option 1: Record a date in a helper column </h3> <p>First, add a Date type of column to your sheet and add yesterday's date (or any date in the past) into a cell. You can then hide this column. </p> <p>Next, create a <a href="/articles/2479241">time-based workflow</a> to add today's date into that new column using the <a href="/articles/2481986">Record a Date</a> action. </p> <p>To create this workflow:</p> <ol><li>Select <strong>Automation</strong> &gt; <strong>Create workflow from scratch</strong>.</li> <li>Title your workflow (for example, "Daily Update").</li> <li>Set the trigger to <strong>When a date is reached</strong>.</li> <li>Select <strong>Run Once</strong> and change this to <strong>Custom</strong> &gt; Repeat every <strong>Day</strong>.</li> <li>Select an early morning time for the trigger (e.g. 2:00AM).</li> <li>Configure a <a href="/articles/2479251">condition block</a> for where the new date column is in the past. </li> <li>Set the Action block to <strong>Record a date</strong> in that date column.</li> </ol><p><img alt="This image shows daily update workflow example." data-entity-type="file" data-entity-uuid="69f4ca75-fe1d-4eb1-95e0-da24a0e09486" height="460" src="/sites/default/files/inline-images/Daily%20Update%20Workflow.png" width="478" loading="lazy" /></p> <p><span class="note">Remember to add at least one past date into your new date column so that your workflow has a cell to update tomorrow. </span><br />  </p> <h3>Option 2: Record a date and use cell links to update multiple sheets</h3> <p>If you have multiple sheets to update, you can set up the date column and workflow described above in a separate reference sheet. Next, <a href="/articles/861579">use a cell link</a> to bring the date from this reference sheet into your current sheet that contains the TODAY function. </p> <p>The automation will add a new date to the reference sheet daily, which will in turn update your formula sheet via the cell-link data change.</p> <h3>Option 3: Use Bridge to schedule a daily sheet save</h3> <p>If you have access to Bridge, see the Bridge article explaining the <a href="/articles/2481992">Schedule Daily Sheet Save</a> template. </p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/120173" typeof="schema:Person" property="schema:name" datatype="">genevieve.penny</span></span> <span class="field field--name-created field--type-created field--label-hidden">Thu, 01/05/2023 - 06:36</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>Users that are the sheet Owner or have Admin sharing permissions can create and edit formulas on a sheet. Users with Editor sharing permissions can also create and edit formulas in <a href="https://help.smartsheet.com/articles/522077">unlocked cells</a> on a sheet.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>The <a href="/function/today">TODAY function</a> in Smartsheet returns the current date within formulas.</p> </div> Thu, 05 Jan 2023 14:36:38 +0000 genevieve.penny 2482767 at https://help.smartsheet.com Formula combinations for cross sheet references https://help.smartsheet.com/articles/2482647-cross-sheet-formula-combinations <span class="field field--name-title field--type-string field--label-hidden">Formula combinations for cross sheet references</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>There are countless ways to combine functions to analyze your data and make it more useful.</p> <ul><li aria-level="1">Review the comprehensive <a href="https://help.smartsheet.com/functions">Function List. </a></li> <li aria-level="1">Download the<a href="https://app.smartsheet.com/b/home?sc=mjjH3-k10qQ%2CmwFH3yU133o%2C1&amp;amp;_&amp;_ga=2.251852811.383571417.1652688514-235275073.1628496069"> Formula Template</a>.</li> <li aria-level="1">Ask about your specific use case in the <a href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart&amp;_ga=2.14324789.383571417.1652688514-235275073.1628496069">Smartsheet online Community.</a></li> </ul><h2>Cross-sheet formula solutions</h2> <p>The following formulas combine different functions and work well for cross sheet data gathering. Learn more about <a href="https://help.smartsheet.com/articles/2476606-formulas-reference-data-from-other-sheets">referencing data from other sheets</a>.</p> <p><span class="note">Any of the criteria referenced in quotes can be substituted with a direct cell reference, such as [Column Name]@row, where the value is located in a cell instead of typed into the formula. Learn how to c<a href="https://help.smartsheet.com/articles/2476816-create-cell-column-reference-formula">reate a cell or column reference in a formula</a>.</span></p> <h3>Lookup one cell using a matching value</h3> <p>Bring back a value from one column based on a matching value in a different column to identify the row. Use this instead of a VLOOKUP for better sheet performance, reducing cross-sheet cell references. </p> <p>Use INDEX and MATCH:</p> <p>=INDEX({Column to return}, MATCH("Matching Value", {Column with value to match}, 0))</p> <p><span class="note">The "Matching Value" will need to be unique across both sheets and stored in the same type of column. For example, if you put a filter on your sheet with that value then only one row should appear. If you have multiple rows with the "Matching Value", the formula will only return the first match it finds. See the two solutions below for possible alternatives in this scenario. </span></p> <h3>Lookup one cell using multiple criteria</h3> <p>Bring back a value from one column based on multiple matching values in other columns. </p> <p>Use INDEX and COLLECT:</p> <p>=INDEX(COLLECT({Column to return}, {Column 1 with value to match}, "Value 1", {Column 2 with value to match}, "Value 2"), 1)</p> <h3>Gather all matching content into one cell</h3> <p>Bring back all cells that match your criteria into one cell. This is similar to using INDEX but it allows you to view all possible matching values if you have more than one row in the source sheet with matching data. </p> <p>Use JOIN and COLLECT:</p> <p>=JOIN(COLLECT({Column with values to return}, {Criteria Column 1}, "Criteria 1", {Criteria Column 2}, "Criteria 2"), ", ")</p> <h3>Average with multiple conditions</h3> <p>Average one column based on multiple criteria in other columns; essentially a plural AVERAGEIF, allowing you to add multiple filter conditions to determine what rows to average. </p> <p>Use AVG and COLLECT:</p> <p>=AVG(COLLECT({Column to Avg}, {Criteria Column 1}, "Criteria 1", {Criteria Column 2}, "Criteria 2"))</p> <h3>Lookup latest date or highest number with conditions</h3> <p>Bring back the latest date or highest number from one column based on multiple criteria in other columns. </p> <p>Use MAX and COLLECT:</p> <p>=MAX(COLLECT({Column to find Max Date or Number}, {Criteria Column 1}, "Criteria 1", {Criteria Column 2}, "Criteria 2"))</p> <p><span class="tip">You can use MIN instead of MAX if you are looking for the earliest date or lowest number. </span></p> <h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/120248" typeof="schema:Person" property="schema:name" datatype="">Pam Mandel</span></span> <span class="field field--name-created field--type-created field--label-hidden">Tue, 05/24/2022 - 09:26</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>The Owner, Admins, and Editors can add or edit references. Viewer access or higher is required for the sheet being referenced.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>This article includes some frequently used functions and additional resources to help you make the most out of formulas. </p> </div> Tue, 24 May 2022 16:26:31 +0000 Pam Mandel 2482647 at https://help.smartsheet.com View, modify, or delete cross sheet references in formulas https://help.smartsheet.com/articles/2482646-view-modify-delete-cross-sheet-references-formulas <span class="field field--name-title field--type-string field--label-hidden">View, modify, or delete cross sheet references in formulas</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><h3>Edit the formula</h3> <p>You can edit a reference directly in your formula without opening the Sheet Reference Manager.</p> <ol><li>Select the cell that contains your formula. A summary of the formula appears in the cell.</li> <li>Click the name of the reference that you’d like to edit.</li> <li>You will see a link to<strong> Edit Reference.</strong> This will open the reference another sheet dialog where you can change the reference name or choose a new sheet or cell range.</li> </ol><p><span class="note">When you edit a reference, all its instances in the sheet will update in real-time. If want to keep the structure from a formula in your sheet but want to change the range, it’s better to delete the text from the current reference and create a new reference.</span></p> <h3>Edit in the reference manager</h3> <p>In the sheet reference manager, you can see and modify all cross sheet references and cell link references in your sheet. To open it, right-click any cell in your sheet and select <strong>Manage References</strong>.</p> <article class="align-left media media--type-brandfolder-all-media media--view-mode-full"><div class="field field--name-bf-image field--type-image field--label-visually_hidden"> <div class="field__label visually-hidden">Brandfolder Image</div> <div class="field__item"> <img loading="lazy" src="https://cdn.bfldr.com/NB5M6M91/at/vhxq3tbbnjkcvwwxnfn6w8/Sheet_Reference_Manager.jpg" width="1020" height="568" alt="sheet reference manager box" typeof="foaf:Image" /></div> </div> </article><p>The cross sheet references manager opens by default, but you can switch to the cell link references manager using the left panel. Learn more about <a href="https://help.smartsheet.com/articles/861579-cell-linking">cell links.</a></p> <p>Use the following table for details on each of the features in the cross sheet references manager:</p> <div> <table border="1" cellpadding="1" cellspacing="1" class="inline-width tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><thead><tr><th scope="col" role="columnheader" data-tablesaw-priority="persist">Feature<br />  </th> <th scope="col" role="columnheader">Action</th> <th scope="col" role="columnheader">Tips</th> </tr></thead><tbody><tr><td> <p>Search</p> </td> <td> <p>In the search list… box, type keywords to find references you need to use.</p> </td> <td> <p>Use a conventional naming structure for your references, such as sheet name_columns referenced.</p> </td> </tr><tr><td> <p>Filter</p> </td> <td> <p>Open the <strong>All References </strong>drop-down list to set the filter to Active, Processing, Broken, In Use, or Unused.</p> </td> <td> <p>Filters help you find, categorize, or review references.</p> <ul><li aria-level="1">Active: Up-to-date references</li> <li aria-level="1">Processing:  References loading updates from the source data</li> <li aria-level="1">Broken: Deleted source rows, columns, or cells</li> <li aria-level="1">In Use: References you’re using in cross-sheet formulas</li> <li aria-level="1">Unused: References that are not in any formulas in your sheet </li> </ul></td> </tr><tr><td> <p>Create</p> </td> <td> <p>To create a new reference, select <strong>+ Create</strong>.</p> </td> <td> <p>You can use this reference when you create new formulas.</p> </td> </tr><tr><td> <p>Edit Reference</p> </td> <td> <p>Steps in editing references:</p> <ol><li aria-level="1">To display the Menu icon <img alt="" src="https://lh3.googleusercontent.com/8C1b9lvioUFxd5iF1tazLsrxOO2cj4kpUQXWwHM5QZgixHBehQwxWPi5jAW3VUljVdyF9rKK6G5m2nyDNcu46yW9ItActMRUm1RLZQDEBzC-WRFQquhFJd-75ZOeSw8dvdZyI7zQ4RaQYK-pKQ" />, hover over any reference in the list. </li> <li aria-level="1">Then, select <strong>Edit</strong> Reference to change the name, referenced cell range, or source sheet. </li> </ol></td> <td> <p>If the reference you are editing is in use, all its instances in your formulas will be updated.</p> </td> </tr><tr><td> <p>Duplicate Reference</p> </td> <td> <p>To make a copy of a reference, select <strong>Menu</strong> <img alt="" src="https://lh5.googleusercontent.com/KXRGAWufHcnHNFR9rlvtNwBIhG72jObyIhBxBQHGrFROowSbTtVegk3yenwZIn--6WkyTNngk601e9S08AnoSeqpMbrLR_v51I53PNP-jMhHDtjPTwU3wTWEBul3nDKFfqRQD2N3jXa77o5MfQ" /> &gt; <strong>Duplicate Reference.</strong></p> </td> <td> <p>The name of the duplicate reference will be Copy of_original reference name.</p> </td> </tr><tr><td> <p>Delete Reference</p> </td> <td> <p>To delete a reference, select <strong>Menu</strong> <img alt="" src="https://lh4.googleusercontent.com/bqbQ3h4X1ZThFc6NN9VOtNiKuEHuhuXWvII56eCV4cyplOb3pF2bkeujH1KOjAA9FASwiyn8amRIdYA3H2eJYqk7J_10njuvhLNNADUZ8-_w9nDHutmj0omo_0O6jB3Cs_bDtLT_L7Y8jhhGXA" /> &gt; <strong>Delete Reference</strong>.</p> </td> <td> <p>If the deleted reference is in use, the formulas may return #INVALID REF errors.</p> </td> </tr></tbody></table></div> <h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/120248" typeof="schema:Person" property="schema:name" datatype="">Pam Mandel</span></span> <span class="field field--name-created field--type-created field--label-hidden">Tue, 05/24/2022 - 09:16</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>You must have Owner, Admin, or Editor with sharing permissions on a sheet to edit the reference. You must also have Viewer-level sharing permissions or greater on the sheet containing the data you want to reference.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>You can make changes to your reference directly in the formula, or, you can use the reference manager.</p> </div> Tue, 24 May 2022 16:16:27 +0000 Pam Mandel 2482646 at https://help.smartsheet.com Create cross sheet references to work with data in another sheet https://help.smartsheet.com/articles/2482644-create-cross-sheet-references <span class="field field--name-title field--type-string field--label-hidden">Create cross sheet references to work with data in another sheet </span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Each cross sheet reference links to a single sheet. You can create multiple references to pull data from multiple sheets. </p> <p><img alt="Forumla help card open over a cell with =COUNT( showing as an example." data-entity-type="file" data-entity-uuid="4ed6eb47-8631-4523-9511-98bbcce75a33" src="/sites/default/files/inline-images/countif.jpg" width="1117" height="508" loading="lazy" /></p> <h3>Create a cross sheet reference </h3> <ol><li aria-level="1">Build the formula in the cell where you want the data to appear.<br /> For example, type <strong>=COUNT(</strong><br /> The formula help card will appear above or below your cell. </li> <li aria-level="1">In the help card, click <strong>Reference Another Sheet</strong>.</li> <li aria-level="1">Search for the sheet where the data exists.</li> <li aria-level="1">In the search results, select the source sheet.</li> <li aria-level="1">Select the cell range containing the data you want to reference, and click <strong>Insert Reference</strong>.<br /><span class="tip">Select a column header to reference the whole column even if rows get added or deleted from the source. To reference multiple columns, hold the Shift key, then select the first and last column - you’ll get everything in between. You can only select contiguous columns. To select individual columns, create multiple references. </span></li> <li aria-level="1">Optional: In the Sheet reference name text box, type a name for your reference. If you don’t enter a name, the reference will have a default name based on the sheet name and the number of times that sheet is referenced. The name doesn’t impact the sheet; it’s so you can identify the reference in the formula. </li> </ol><p>That’s it! You should now see your reference added to your formula. Here’s an example of how your formula should appear:</p> <blockquote> <p>=COUNT({my_sheet1 Range1})</p> </blockquote> <h3>Tips for working with references</h3> <ul><li aria-level="1">Don’t include any data you don’t need to see in the destination sheet. All information in the reference range is available and may appear in the destination sheet. Try using an INDEX(MATCH formula instead of VLOOKUP, which might reference unnecessary data. </li> <li aria-level="1">Ensure new rows are in the reference range. Rows added below a referenced range won’t be included. To include all rows, select the columns as the reference.</li> <li aria-level="1">Re-use references: you don’t have to open the Reference Another Sheet dialog to use an existing reference. In the new formula, add braces { }, then type or paste the reference name in them. </li> <li aria-level="1">References are unique to the sheet where they were created. You have to make new references for each sheet.</li> <li aria-level="1">To prevent infinite approval loops, cells that contain cross-sheet formulas or cell links will not trigger automation that changes the sheet (e.g., Move row, Copy row, Lock row, etc.). To work around this, consider using time-based or recurring automated workflows.</li> </ul><h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/120248" typeof="schema:Person" property="schema:name" datatype="">Pam Mandel</span></span> <span class="field field--name-created field--type-created field--label-hidden">Tue, 05/24/2022 - 08:39</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>The Owner, Admins, and Editors can add or edit references. Viewer access or higher is required for the sheet being referenced.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> Tue, 24 May 2022 15:39:39 +0000 Pam Mandel 2482645 at https://help.smartsheet.com Create and edit formulas in Smartsheet https://help.smartsheet.com/articles/2476171-create-and-edit-formulas-in-smartsheet <span class="field field--name-title field--type-string field--label-hidden">Create and edit formulas in Smartsheet</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><h3><a id="create"></a>Create a formula</h3> <p>You can create a formula in the following field types:</p> <ul><li>Fields <strong>not</strong> being used for dependencies or resource management. Learn how to <a href="/articles/765727">enable dependencies and use predecessors</a>.</li> <li>Text/Number (as long as they're not being used in dependencies or resource management)</li> <li>Contact List fields (as long as they're not being used in resource management)</li> <li>Date (as long as they're not being used in dependencies or resource management)</li> <li>Dropdown List</li> <li>Checkbox</li> <li>Symbol</li> <li>% Allocation</li> </ul><p>To place a formula in a field:</p> <ol><li>Select the desired field.</li> <li>Type an equal sign in the field, and then type the calculation.<br /><img alt="This image shows =5+3 in a grid cell. " data-entity-type="file" data-entity-uuid="a1f198a2-53e5-4e61-8d45-caf97f80b033" src="/sites/default/files/inline-images/5_3-197434.PNG" width="179" height="64" loading="lazy" /></li> <li>After you’ve typed in your formula, press [Enter].<br /><img alt="This image shows 8 in a grid cell." data-entity-type="file" data-entity-uuid="da01d80c-9e5b-44bb-a1e6-d8e82164fd8f" src="/sites/default/files/inline-images/Press_Enter-197432.PNG" width="170" height="71" loading="lazy" /><br /> The result is displayed in the field containing the formula.</li> </ol><blockquote> <p>Formulas can be placed in Contact List fields. Automatically assign people to tasks with a VLOOKUP formula, for example. Note that formulas can’t be placed in Contact List fields being used for resource management.</p> </blockquote> <h4><a id="operators"></a>Functions</h4> <p>Formulas can include functions, such as SUM, AVG, or IF. Functions perform calculations with or manipulate data in sheets. For the complete list of functions available in Smartsheet, see the <a href="/functions">Smartsheet Functions List.</a></p> <h4>Formula operators</h4> <p>You can use the following operators in Smartsheet formulas.</p> <table border="1" cellpadding="1" cellspacing="1" class="inline-width tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><thead><tr><th scope="col" role="columnheader" data-tablesaw-priority="persist">Symbol<br />  </th> <th scope="col" role="columnheader">Description</th> </tr></thead><tbody><tr><td class="text-align-center">+</td> <td>Add</td> </tr><tr><td class="text-align-center">-</td> <td>Subtract</td> </tr><tr><td class="text-align-center">*</td> <td>Multiply</td> </tr><tr><td class="text-align-center">/</td> <td>Divide</td> </tr><tr><td class="text-align-center">^</td> <td>Exponent</td> </tr><tr><td class="text-align-center">&lt;</td> <td>Less than</td> </tr><tr><td class="text-align-center">&gt;</td> <td>Greater than</td> </tr><tr><td class="text-align-center">&gt;=</td> <td>Greater than or equal to</td> </tr><tr><td class="text-align-center">&lt;=</td> <td>Less than or equal to</td> </tr><tr><td class="text-align-center">=</td> <td>Equal to</td> </tr><tr><td class="text-align-center">&lt;&gt;</td> <td>Not equal to</td> </tr></tbody></table><hr /><h3><a name="edit" id="edit"></a>Edit an existing formula</h3> <p>To edit an existing formula:</p> <ol><li><strong>Double-click</strong> a field containing the formula to open it for editing.</li> <li>Make your desired formula changes, and then press Enter.<br /><br /> If you change your mind about editing the formula, press Esc to exit edit mode and revert to the pre-edited formula.</li> </ol><hr /><h3><a id="tips"></a>Tips for easier formula creation</h3> <h4>Use column formulas</h4> <p>When you need a formula applied consistently and uniformly to an entire column, column formulas are the perfect solution. Build your formula in a cell, and quickly convert it to apply to every cell in the column. Regardless of how new rows get inserted into the sheet, the column formula will automatically apply. Learn how to <a href="/articles/2481944">set formulas for all rows with column formulas</a>.</p> <h4>Use the sum tool</h4> <p>If you're not sure which function to use, you can click the down arrow on the right of the <strong>Sum</strong> button in the toolbar and select a function.<br /><br /> The <strong>Sum</strong> button will attempt to provide you with a formula based on the field you have selected in the sheet and any hierarchical relationships with the selected field. For example, selecting the field of a parent row, then clicking the <strong>Sum</strong> icon will produce a =SUM(CHILDREN()) formula in the field. </p> <p>After you create a formula, you can modify it at any time by double-clicking in the selected field or by pressing F2 (fn + F2 on a Mac).</p> <h4><a name="percent" id="percent"></a>Work with percentages</h4> <p>Smartsheet treats percentages as values between 0 and 1. When you create formulas in columns formatted for percent (using the <img alt="This image shows the percent icon found on the grid view. " data-entity-type="file" data-entity-uuid="b37d8850-a614-4833-9bd8-de1414f5f261" src="/sites/default/files/inline-images/percent.png" width="40" height="44" loading="lazy" /><strong> </strong><strong>Percentage Format</strong> button in the toolbar), use <strong>decimal values</strong>. For example...</p> <p>=0.5 + 0.4</p> <p>...will return <strong>90%</strong> in a column formatted for percentage...</p> <p>=5 + 4</p> <p>...will return <strong>900%</strong> in a column formatted for percentage.</p> <h4>Copy a formula with drag-fill or auto-fill </h4> <p>If you have a formula that you’d like to use in multiple fields without having to manually type the formula in each field, use the following methods to quickly copy the formula to other areas of your sheet:</p> <ul><li>Drag-fill—You can drag from the lower-right corner of a selected field to copy a formula across contiguous fields in the sheet. As you copy, the formula will automatically change its respective field references.</li> <li>Auto-fill—You can have Smartsheet automatically copy a formula to new, vertically adjacent fields that enter the sheet. When auto-filled, the new formula will automatically change its respective field references.</li> </ul><p>Learn how to <a href="/articles/2477471">drag-fill</a> and <a href="/articles/1641473">auto-filling formulas and formatting</a>.<br />  </p> <hr /><h3><a id="noformula"></a>Areas where formula use is restricted</h3> <p>These fields can't contain formulas:</p> <ul><li>Contact list fields that are being used in resource management</li> <li>System fields (for example, Modified By)</li> <li>Default columns (attachments, comments, row action indicator)</li> <li>The following fields being used for <strong>dependencies</strong> and <strong>resource management</strong>: <ul><li>Start Date</li> <li>End Date</li> <li>Duration</li> <li>Predecessors</li> <li>% Complete</li> </ul></li> </ul><p>You can't create formulas in these features:</p> <ul><li>Forms</li> <li>Update requests (Formula results can still be viewed in update requests, but they can't contain standalone formulas.)</li> <li>Reports (Formula results can still be viewed in reports, but they can't contain standalone formulas.)</li> <li>Dashboards (Formula results can be viewed in dashboards, but dashboards can't contain standalone formulas.)<a id="noedit"></a></li> </ul><p>Formulas can't be edited from the following features in Smartsheet:</p> <ul><li>Forms</li> <li>Update requests (Formula results can still be viewed in update requests, but the formulas can't be edited.)</li> <li>Reports (Formula results can still be viewed in reports, but the formulas can't be edited.)</li> <li>Dashboards (Formula results can be viewed in dashboards, but the formulas can't be edited.)</li> </ul><h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/226" typeof="schema:Person" property="schema:name" datatype="">Shaine Greenwood</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 01/23/2017 - 13:12</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>The sheet Owner and Admins can create and edit formulas in locked and unlocked fields. The Owner, Admins, and Editors can create and edit formulas in unlocked fields.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Smartsheet</li> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>Use formulas to calculate numeric values or automate aspects of your sheet. You can create formulas, for example, to sum a range of expenses, or to check a box when a specific value is entered in a field.</p> </div> Mon, 23 Jan 2017 21:12:10 +0000 Shaine Greenwood 2476171 at https://help.smartsheet.com Create a cell or column reference in a formula https://help.smartsheet.com/articles/2476816-create-cell-column-reference-formula <span class="field field--name-title field--type-string field--label-hidden">Create a cell or column reference in a formula</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>You can create a reference to an individual cell, a range of cells, or an entire column.</p> <p>It's also possible to reference data from other sheets. Learn more about <a href="/articles/2476606">referencing data from other sheets</a>.</p> <h3>Summary of formula reference types</h3> <p>Here’s a cheat sheet you can use as you build formulas of your own.</p> <table border="1" cellpadding="1" cellspacing="1" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><thead><tr><th scope="col" role="columnheader" data-tablesaw-priority="persist"><strong>To reference this</strong></th> <th scope="col" role="columnheader"><strong>Format it this way</strong></th> <th scope="col" role="columnheader"><strong>Example</strong></th> </tr></thead><tbody><tr><td>Individual cell</td> <td>Column name, row number</td> <td>=Budget1</td> </tr><tr><td>Column name contains a space or ends in a number</td> <td>Enclose the column name in brackets.</td> <td>=[Column A]1<br /> =DAY([Q1]1)</td> </tr><tr><td>Absolute reference (always refers to that specific cell, row, or column)</td> <td>Type a $ symbol in front of the column name, row number or both.</td> <td>=$[Column A]$1<br /> =[Column B]$1<br /> =$[Column C]1</td> </tr><tr><td>Multiple, discontinuous cells</td> <td>Use a comma between cell references.</td> <td>=SUM(Budget1, Expenses4, [Projected Earnings]20)</td> </tr><tr><td>A range of cells in the same column</td> <td>Reference the first cell in the range, then the last cell, separated by a :(colon).</td> <td>=SUM(Budget1:Budget12)</td> </tr><tr><td>An entire column (including any newly added cells)</td> <td>The column name separated by a : (colon).</td> <td>=SUM(Budget:Budget)</td> </tr><tr><td>A range of cells across multiple columns</td> <td>Reference the upper-rightmost cell, then the lower-leftmost cell, separated by a : (colon).</td> <td>=SUM(January1:March5)</td> </tr><tr><td>An individual cell, range of cells, or complete columns from another sheet</td> <td>Type the name of a previously created reference to another sheet, wrapped in curly braces.</td> <td>=COUNT({my_sheet1 Range1})</td> </tr></tbody></table><h3>More detailed description of reference types</h3> <h4>Reference individual cells</h4> <p>While building your formula, you can <strong>select a cell</strong> to reference it and work with that cell’s data in your formula. (You can also manually type the column name and row number to reference the cell.)</p> <p>For example, the formula in the Inventory Value column of the following inventory management sheet will multiply the value from row 1 of the Price column to the value in row 1 of the Stock column:</p> <p><img alt="This image shows a formula for multiplying two cells together" data-entity-type="file" data-entity-uuid="8b93aae0-47e5-4e3e-a8f6-e7a23301dcdc" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%209.42.34%20AM.png" width="1164" height="258" loading="lazy" /></p> <p>The formula returns $2,994.00, the total worth of that item:</p> <p><img alt="This image shows the answer to the formula" data-entity-type="file" data-entity-uuid="50377934-9569-4af0-a40b-839ca0e57d7f" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%209.43.52%20AM.png" width="1178" height="266" loading="lazy" /></p> <h4>Reference column names that have spaces or end in numbers</h4> <p>If a column name contains spaces or contains any special characters or numbers, you <em>must</em> enclose it in brackets to avoid ambiguity:</p> <p>=[Annual Budget]1 + [Annual Budget]2</p> <p>=[Q1]1 + [Q2]1</p> <p>=[Risk/Issue]5 + [Contingency/Mitigation]5</p> <h4>Create an absolute reference</h4> <p>You may have situations, such as when referencing a table with the VLOOKUP function, where you need to prevent Smartsheet from automatically updating cell references when a formula is moved or copied. To do this, create an absolute cell reference. Learn more about <a href="/function/vlookup">function reference</a>.</p> <p>To create an absolute reference, type <strong>$</strong> (a dollar sign) in front of the column name or row number in the cell reference of your formula. For example, if you move or copy the following formula, the column names and row numbers will <em>not</em> change for the cell references:</p> <p>=$[Column A]$1 * $[Column B]$1</p> <p>The following formula has absolute references to only the row numbers. If you move or copy the formula, the column references will change respectively based on the formula’s new location:</p> <p>=[Column A]$1 * [Column B]$1</p> <p>The following formula will maintain absolute references to the columns. If you move or copy the formula, the row numbers will change respectively based on the formula’s new location:</p> <p>=$[Column A]1 * $[Column B]1</p> <h4>Reference a range of cells in the same column</h4> <p>To reference a range of cells, type a <strong>:</strong> (colon) between the two cell references.</p> <p>For example, the formula at the bottom of the Inventory Value column of the following inventory management sheet will sum the values from row 1 to row 6 in the same column:</p> <p><img alt="This image shows a formula referring to an entire column" data-entity-type="file" data-entity-uuid="b2f85b28-7a39-40e1-9a1a-2249f5f840fb" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%209.45.41%20AM.png" width="1812" height="468" loading="lazy" /></p> <p>The formula returns $40,763.75, the total of all inventory values:</p> <p><img alt="This image shows the formula answer." data-entity-type="file" data-entity-uuid="fb9347f7-c7a8-4bff-b03e-b316e2b84c77" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%209.46.01%20AM.png" width="1844" height="466" loading="lazy" /></p> <h4>Reference a whole column</h4> <p>You can reference an entire column in a formula, including all populated cells in the column. For example, the following formula sums <em>all</em> values in the Annual Budget column and will remain updated as new rows are added to or removed from the column:</p> <p>=SUM([Annual Budget]:[Annual Budget])</p> <p><span class="note">If a formula is placed in the column it's referencing, it won't reference the cell that the formula is in. For example, if you were to place the example formula above in a column named Annual Budget, the SUM formula would sum all cells except for the cell containing the formula. </span></p> <h4>Reference a range across multiple columns</h4> <p>To reference a range of values in a row across multiple columns, reference the first and last column in the row.</p> <p>For example, the formula in the Total Stock column of the following inventory management sheet will sum the values from the Stock A, Stock B, and Stock C columns on row 1:</p> <p><img alt="This image shows a formula referencing a row. " data-entity-type="file" data-entity-uuid="9adbf4e8-d15a-49c7-8f38-1c2d6efd15ea" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%209.51.21%20AM.png" width="1464" height="204" loading="lazy" /></p> <p> </p> <p>The formula returns 998, the total stock from the three locations:</p> <p><img alt="This image shows the total stock answer. " data-entity-type="file" data-entity-uuid="6df4fe0b-4f9d-4e08-a350-d111a5a4efe1" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%209.52.06%20AM.png" width="1242" height="210" loading="lazy" /></p> <p> </p> <h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/426" typeof="schema:Person" property="schema:name" datatype="" content="gwyneth.casazza@smartsheet.com">gwyneth.casazz…</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 07/23/2018 - 13:14</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>Users that are the sheet Owner or have Admin sharing permissions can create and edit formulas on a sheet. Users with Editor sharing permissions can also create and edit formulas in <a href="https://help.smartsheet.com/articles/522077">unlocked cells</a> on a sheet.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Smartsheet</li> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>When you create formulas, it's possible to include values from other cells or columns on the sheet.</p> </div> Mon, 23 Jul 2018 20:14:47 +0000 gwyneth.casazza@smartsheet.com 2476816 at https://help.smartsheet.com FAQs: Using formulas https://help.smartsheet.com/articles/2476091-frequently-asked-questions-about-using-formulas <span class="field field--name-title field--type-string field--label-hidden">FAQs: Using formulas</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><h3>Still need help?</h3> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/426" typeof="schema:Person" property="schema:name" datatype="" content="gwyneth.casazza@smartsheet.com">gwyneth.casazz…</span></span> <span class="field field--name-created field--type-created field--label-hidden">Thu, 07/07/2016 - 15:03</span> <div class="field field--name-faq field--type-entity-reference-revisions field--label-hidden field__item"> <div id="p-id-6739" class="faq"> <div class="container"> <div class="questions"> <div class="field field--name-field-faq-item field--type-entity-reference-revisions field--label-hidden field__items"> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="canaformulareference">Can a formula reference a cell in a different sheet?</h4> </div> <div class="answer js-closed"> <p>Yes. A formula can reference a single cell, range of cells, or full columns in another sheet with <a href="https://help.smartsheet.com/articles/2476606">cross-sheet formulas</a>. </p> <p> </p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="doesSmartsheetsupporta">Does Smartsheet support a VLOOKUP function?</h4> </div> <div class="answer js-closed"> <p>We do! However Smartsheet has an <a href="https://help.smartsheet.com/function/index">INDEX</a> and <a href="https://help.smartsheet.com/function/match">MATCH</a> combination that is more versatile. This combination reduces cross-sheet cell references by looking at columns individually instead of using one large range.</p> <p>Take a look at our article on <a href="https://help.smartsheet.com/articles/2482647">formula combinations for cross sheet references</a> for an example.</p> <p>You can still learn about Smartsheet's VLOOKUP function in this <a href="https://help.smartsheet.com/function/vlookup">VLOOKUP</a> article as well, or find examples of how other Smartsheet customers gather data using formulas in the <a href="https://community.smartsheet.com/categories/formulas-and-functions">Smartsheet online Community.</a></p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="howcanIget">How can I get a formula to include rows that are newly added?</h4> </div> <div class="answer js-closed"> <p>If a new row is inserted above, below, or between two rows that include the same formula, <a href="https://help.smartsheet.com/articles/1641473">the new row will inherit that formula automatically</a>.</p> <p>If you're creating a formula to use all values within a column, exclude the row references and only use the column name in the included range (e.g. =SUM([Total Hours]:[Total Hours]). This ensures that any added rows will be automatically included in the calculation.</p> <p>If you've <a href="https://help.smartsheet.com/articles/2481944">set up a column formula</a>, the formula will automatically apply to every new row that gets added to the column.</p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="cancolumnswitha">Can columns with a symbol column type be controlled by formulas?</h4> </div> <div class="answer js-closed"> <p>Yes. The character added in the formula depends on the <a href="https://help.smartsheet.com/articles/2480316-available-symbols-in-symbols-column">symbols</a> you use. Refer to this list for what to add in the formula:</p> <ul><li aria-level="1"><strong>Star, flag, and checkbox symbols: </strong>For these symbols, use <em>1</em> for on or <em>0</em> for off <ul><li aria-level="2">Example: = IF([Status]@row = "Complete",1,0)</li> </ul></li> <li aria-level="1"><strong>Red, yellow, and green light symbols:</strong> Use the literal values <em>Red</em>, <em>Yellow</em>, or <em>Green</em> <ul><li aria-level="2">Example: =IF([Status]@row = "At Risk", “Red”, "Green")</li> </ul></li> <li aria-level="1"><strong>Priority symbols: </strong>Use <em>High</em> or <em>Low</em> <ul><li aria-level="2">Example: =IF([Status]@row = "Overdue", "High", "Low")</li> </ul></li> <li aria-level="1"><strong>Harvey Balls:</strong> Use <em>Quarter</em>, <em>Half</em>, <em>Three</em> <em>Quarter</em>, <em>Full</em>, or <em>Empty</em> <ul><li aria-level="2">Example: =IF([% Complete]@row = 1, "Full", "Empty")</li> </ul></li> </ul> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="itypedmyformula">I typed my formula correctly, but it&#039;s displaying as text in the cell. What went wrong?</h4> </div> <div class="answer js-closed"> <p>These are three likely reasons why it’s appearing as text in a cell:</p> <ul><li><strong>It’s missing the equal sign (=):</strong> Formulas must always start with = </li> <li><strong>Dependencies are enabled in the sheet:</strong> When dependencies are enabled on a sheet, formulas aren't allowed in these dependency-enabled columns <ul><li>Start </li> <li>Duration </li> <li>Finish </li> <li>Predecessors </li> <li>% Complete or % Allocation: These columns automatically generate values based on the dependency settings and overwrite formulas. If you type a formula in one of these columns, it’ll be displayed as plain text rather than performing a calculation.</li> </ul></li> <li><strong>You created the formula from a report or a mobile device:</strong> We don't currently support creating formulas from reports or from the Android and iOS apps. Any formula you enter from reports or from a mobile app will display as plain text rather than calculate or find values.</li> </ul> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="whyisn’tmyformula">Why isn’t my formula referencing % Complete working?</h4> </div> <div class="answer js-closed"> <p>Cells in sheets or reports use the decimal value, not the percentage format. This is true even for columns using percent-formatted values. </p> <p>To compare percent values or reference percent columns, refer to the table below.</p> <table border="1" cellpadding="1" cellspacing="1" style="width: 100%;" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><thead><tr><th scope="col" style="width: 192px;" role="columnheader" data-tablesaw-priority="persist">Instead of this</th> <th scope="col" style="width: 188px;" role="columnheader">Do this</th> </tr></thead><tbody><tr><td style="width: 192px;">=IF([% Complete]@row &lt; 25%, "At Risk", " ")</td> <td style="width: 188px;">=IF([% Complete]@row &lt; .25, "At Risk", " ")</td> </tr></tbody></table><p> </p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="canIcreateformulas">Can I create formulas in project sheet columns?</h4> </div> <div class="answer js-closed"> <p>When dependencies are enabled, columns such as Start Date, End Date, Duration, and % Complete have inherent formulas to provide project functionality. Formulas aren't allowed in these columns, as they may be overwritten. </p> <p>To work around this behavior, you can either disable dependencies on the sheet or create new columns to perform the desired calculations.</p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="myformulareferencingthe">My formula referencing the Start/End Date column isn&#039;t working. How can I fix it?</h4> </div> <div class="answer js-closed"> <p>When dependencies are enabled on a sheet, the Start Date and End Date columns have an implicit time component. The time isn't displayed in the column, but it can affect results of formulas. </p> <p>For example, you have a formula that subtracts TODAY() from the start date—which is today. You would generally expect a result of 0. What you'd actually get is a decimal value, as Smartsheet tries to perform the subtraction based on the implicit time stamp. To work around this issue, use the DATEONLY function. </p> <p>To go along with the example, the formula =[Start Date]2 - TODAY() would be revised to =DATEONLY([Start Date]2) - TODAY().</p> <p>In this case, Smartsheet only looks at the date, not the time when performing the calculation.<br />  </p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="i’mseeinginaccurateresults">I’m seeing inaccurate results when I compute the difference between the Created Date and Modified Date columns. How can I fix it?</h4> </div> <div class="answer js-closed"> <p>Use the DATEONLY function. Dates in System columns are a display value and not the actual value. System columns record UTC dates, but they display your local date/time based on the UTC date. You may see results you don’t expect if you don’t use DATEONLY function. </p> <p>When you use DATEONLY, it extracts the date from the System column. Here’s a sample formula: =NETWORKDAYS(DATEONLY(Created@row), TODAY()).<br />  </p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="whyisn&#039;tmyformula">Why isn&#039;t my formula with TODAY() updating to today&#039;s date? </h4> </div> <div class="answer js-closed"> <p>Opening reports and dashboards that reference a sheet with a formula using the TODAY function will not update the TODAY function to the current date. There must be an update to the underlying sheet itself.</p> <p> <br /> You can see a list of actions that will update the formula in the <a href="/function/today">TODAY Function article</a>.</p> <p>To automatically update your underlying sheet without opening it, take a look at the <a href="/articles/2482767">Automatically update the TODAY function in formulas</a> article or use Bridge to <a href="/articles/2481992">Schedule Daily Sheet Save</a>.<br />  </p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="whathappenstomy">What happens to my formulas if I use the &quot;Move to Another Sheet&quot; or &quot;Copy to Another Sheet&quot; commands to move or copy a row containing a formula to another sheet?</h4> </div> <div class="answer js-closed"> <p>Formulas won't be preserved when you use these commands to move or copy rows. You can, however, use keyboard shortcuts to <a href="https://help.smartsheet.com/articles/518318-tips-for-using-copy-and-paste#copy">copy and paste formulas</a>.</p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="whyaremynumeric">Why are my numeric values not calculating correctly? For example, when adding 1 + 12 it’s producing the result 112, instead of 13.</h4> </div> <div class="answer js-closed"> <p>Often, this calculation error occurs because one of the referenced values is being considered as a text value. </p> <p>To correct this error, check that neither of the values being referenced has a character that would turn the numeric value into a text value. For example, if the value 12 had an (‘) apostrophe before it, this undesired result occurs.</p> <p>A trick to catch this is to check the numeric values formatting alignment. Often, values being considered as a text value appear left aligned in the cell, instead of the normal right alignment for numeric values.</p> <p>Numeric values appear left aligned when they’re: </p> <ul><li>Produced by formulas, and  </li> <li>In the Primary column. </li> </ul><p>However, these values will still be recognized as numeric values. Unless something in the formula or cell dictates otherwise. </p> <p>Another option to correct this error is to use the VALUE() function. The VALUE() function converts text strings containing numeric values to numbers.</p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="i’musingaSUMIFS">I’m using a SUMIFS formula that should be returning a value, but it is returning a 0.</h4> </div> <div class="answer js-closed"> <p>If you’re evaluating the same range of data for multiple criteria, use the <a href="https://help.smartsheet.com/function/or">OR Function</a> and <a href="https://help.smartsheet.com/articles/2476491#cell">@cell parameter</a> to have the correct value returned.</p> <div> <table border="1" cellpadding="1" cellspacing="1" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><colgroup><col /><col /><col /><col /></colgroup><thead><tr><th scope="row" role="columnheader" data-tablesaw-priority="persist"> <p>Item</p> </th> <th scope="col" role="columnheader"> <p>Quantity</p> </th> <th scope="col" role="columnheader"> <p>Cost</p> </th> <th scope="col" role="columnheader"> <p>Warehouse</p> </th> </tr></thead><tbody><tr><th scope="row" role="columnheader"> <p>Shirt</p> </th> <td> <p>26</p> </td> <td> <p>20.00</p> </td> <td> <p>A</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Pants</p> </th> <td> <p>24</p> </td> <td> <p>50.00</p> </td> <td> <p>A</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Socks</p> </th> <td> <p>10</p> </td> <td> <p>10.00</p> </td> <td> <p>A</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Shirt</p> </th> <td> <p>18</p> </td> <td> <p>25.00</p> </td> <td> <p>B</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Pants</p> </th> <td> <p>16</p> </td> <td> <p>75.00</p> </td> <td> <p>B</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Socks</p> </th> <td> <p>46</p> </td> <td> <p>15.00</p> </td> <td> <p>B</p> </td> </tr></tbody></table></div> <div> <p> </p> <table border="1" cellpadding="1" cellspacing="1" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><colgroup><col /><col /><col /></colgroup><thead><tr><th scope="col" role="columnheader" data-tablesaw-priority="persist">Formula</th> <th scope="col" role="columnheader">Description</th> <th scope="col" role="columnheader">Result</th> </tr></thead><tbody><tr><td> <p>=SUMIFS(Cost:Cost, Quantity:Quantity, &gt;15, Warehouse:Warehouse, "A", Item:Item, OR(@cell = "Shirt", @cell = "Socks"))</p> </td> <td> <p>Sums the Cost of anything with a Quantity over 15 from <em>Warehouse A</em> where the item is either <em>Shirt</em> or <em>Socks</em></p> </td> <td>  <p>20.00</p> </td> </tr></tbody></table></div> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="i’musingaCOUNTIFS">I’m using a COUNTIFS formula that should be returning a value, but it is returning a 0.</h4> </div> <div class="answer js-closed"> <p>If you are evaluating the same range of data for multiple criteria, use the <a href="/function/or">OR Function</a> and <a href="/articles/2476491#cell">@cell parameter</a> to have the correct value returned.</p> <div> <table border="1" cellpadding="1" cellspacing="1" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><colgroup><col /><col /><col /><col /></colgroup><thead><tr><th scope="row" role="columnheader" data-tablesaw-priority="persist"> <p>Item</p> </th> <th scope="col" role="columnheader"> <p>Quantity</p> </th> <th scope="col" role="columnheader"> <p>Cost</p> </th> <th scope="col" role="columnheader"> <p>Warehouse</p> </th> </tr></thead><tbody><tr><th scope="row" role="columnheader"> <p>Shirt</p> </th> <td> <p>26</p> </td> <td> <p>20.00</p> </td> <td> <p>A</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Pants</p> </th> <td> <p>24</p> </td> <td> <p>50.00</p> </td> <td> <p>A</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Socks</p> </th> <td> <p>10</p> </td> <td> <p>10.00</p> </td> <td> <p>A</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Shirt</p> </th> <td> <p>18</p> </td> <td> <p>25.00</p> </td> <td> <p>B</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Pants</p> </th> <td> <p>16</p> </td> <td> <p>75.00</p> </td> <td> <p>B</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Socks</p> </th> <td> <p>46</p> </td> <td> <p>15.00</p> </td> <td> <p>B</p> </td> </tr></tbody></table></div> <div> <p> </p> <table border="1" cellpadding="1" cellspacing="1" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><colgroup><col /><col /><col /></colgroup><thead><tr><th scope="col" role="columnheader" data-tablesaw-priority="persist">Formula</th> <th scope="col" role="columnheader">Description</th> <th scope="col" role="columnheader">Result</th> </tr></thead><tbody><tr><td> <p>=COUNTIFS(Quantity:Quantity, &gt;15, Warehouse:Warehouse, "A", Item:Item, OR(@cell = "Shirt", @cell = "Socks"))</p> </td> <td> <p>Counts anything with a quantity over 15 from <em>Warehouse A</em> where the item is either <em>Shirt</em> or <em>Socks</em></p> </td> <td>  <p>1</p> </td> </tr></tbody></table></div> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="willformulasthatproduce">Will formulas that produce a text value return the value as a text value in a contact cell?</h4> </div> <div class="answer js-closed"> <p>Yes. If the cells being referenced by the formula are text values and don’t create an email address, they’ll return as only a text value. </p> <p> </p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="whatfunctionsworkin">What functions work in a contact column?</h4> </div> <div class="answer js-closed"> <p>Functions that can return a contact value work in contact columns. Here are some sample functions you can use:</p> <ul><li aria-level="1" style="list-style-type:disc"><strong>Equals Contact cell:</strong> =[Assigned To]1</li> <li aria-level="1"><strong>VLOOKUP:</strong> =VLOOKUP([Assigned To]1,{Departments},2,false)</li> <li aria-level="1"><strong>PARENT:</strong> =PARENT()</li> <li aria-level="1"><strong>INDEX(MATCH()):</strong> =INDEX({Departments},MATCH([Assigned To]1,{Names},0))</li> <li aria-level="1"><strong>IF:</strong> =IF(Urgency1="High",[Urgent on call]1,[Assigned To]1)</li> </ul><p style="line-height:1.38">Below are some specific examples of these formulas in action.</p> <p style="line-height:1.38">Sample sheet information:</p> <table border="1" cellpadding="1" cellspacing="1" style="width: 100%;" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><thead><tr><th scope="row" role="columnheader" data-tablesaw-priority="persist">Row </th> <th scope="col" role="columnheader">Project name</th> <th scope="col" role="columnheader">Assigned to</th> <th scope="col" role="columnheader">Date</th> <th scope="col" role="columnheader">% Complete</th> <th scope="col" role="columnheader">Status</th> </tr></thead><tbody><tr><th scope="row" role="columnheader">1</th> <td>Project - E</td> <td>S Brown</td> <td>03/25/20</td> <td>30%</td> <td>Red</td> </tr><tr><th scope="row" role="columnheader">2</th> <td>Outreach</td> <td>don.t@domain.com</td> <td>10/18/20</td> <td>60%</td> <td>Yellow</td> </tr><tr><th scope="row" role="columnheader">3</th> <td>Smartsheet - PM</td> <td>Andy Davis</td> <td>01/06/20</td> <td>100%</td> <td>Green</td> </tr><tr><th scope="row" role="columnheader">4</th> <td>Collection - INT</td> <td>Johnny Apple, S Brown</td> <td>02/12/20</td> <td>20%</td> <td>Red</td> </tr></tbody></table><p><span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 11pt; white-space: pre-wrap;">Given the table above, here are some examples of using Contact Formulas in a sheet:</span></p> <div> <table border="1" cellpadding="1" cellspacing="1" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><colgroup><col /><col /><col /></colgroup><thead><tr><th scope="row" role="columnheader" data-tablesaw-priority="persist"> <p>Formula</p> </th> <th scope="col" role="columnheader"> <p>Description</p> </th> <th scope="col" role="columnheader"> <p>Result</p> </th> </tr></thead><tbody><tr><th scope="row" role="columnheader"> <p>=INDEX([Project Name]:[Project Name], MATCH("Andy Davis", [Assigned To]:[Assigned To]))</p> </th> <td> <p>Returns the value in the <strong>Project Name</strong> column for the row that contains the value <em>Andy Davis</em> in the <strong>Assigned to</strong> column</p> </td> <td> <p>Smartsheet - PM</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>=COUNTIF([Assigned To]:[Assigned To], HAS(@cell, "S Brown"))</p> </th> <td> <p>Counts the number of rows where the value in the <strong>Assigned to</strong> column has the value <em>S Brown</em></p> </td> <td> <p>2</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>=VLOOKUP("don.t@domain.com", [Assigned To]:[Date], 2, false)</p> </th> <td> <p>Returns the date. If the <strong>Assigned to</strong> column has the email <em>don.t@domain.com</em> look up and produce the value at the same row in the <strong>Date</strong> column</p> </td> <td> <p>10/18/20</p> </td> </tr></tbody></table></div> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="howdoIcreate">How do I create a new contact using a formula? </h4> </div> <div class="answer js-closed"> <p>Currently, we don’t have a direct method to create new contacts with formulas. You can create  new contacts using multiple columns if the email addresses of the org follow a particular pattern. For example, first.last@domain.com.</p> <p><br /> To do this, you can have a column for <em>first.last</em> and another for <em>@domain.com</em>. Using the JOIN function can bring these two fields together into the same contact cell, and create the desired contact.</p> </div> </div> <div class="field__item"> <div class="question"> <h4 class="accordion-toggle js-accordion-toggle" id="canIuseformulas">Can I use formulas that output data other than contacts or text values in a contact column?</h4> </div> <div class="answer js-closed"> <p>Formulas that output data types other than contacts or text (e.g. dates, numbers, booleans, etc.) aren’t supported and will return an error code: #CONTACT EXPECTED. This is similar to how DATE columns work today. Formulas calculate to #DATE EXPECTED, if they output anything other than dates or text. Checkbox columns have a similar error: #BOOLEAN EXPECTED.</p> <p> </p> </div> </div> </div> </div> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Smartsheet</li> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>Formulas in Smartsheet save time by calculating data automatically, combining cell contents in a sheet, and helping you keep track of dates, among other things. </p> </div> Thu, 07 Jul 2016 22:03:06 +0000 gwyneth.casazza@smartsheet.com 2476091 at https://help.smartsheet.com Create efficient formulas with @cell and @row https://help.smartsheet.com/articles/2476491-create-efficient-formulas-with-at-cell <span class="field field--name-title field--type-string field--label-hidden">Create efficient formulas with @cell and @row</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>As your sheets get larger, having efficiently created formulas becomes more helpful to their performance. Here’s a look at two functions that will help make your formulas more efficient, @cell and @row.</p> <h3><a id="cell"></a>Use @cell to perform smarter cell calculations</h3> <p>When you want to perform calculations in formulas that look at ranges of cells, for example: SUMIF, SUMIFS, COUNTIF, and COUNTIFS, you can use the @cell argument in the criteria of the function. The @cell argument performs a calculation on each row at the same time that the primary function (SUMIF for example) is evaluating the criteria in the range, making your formula more efficient.</p> <p>For example, using the sample data in the image below, if you wanted to sum the cost of all tasks whose due date occurred in 2023, you would create the following formula:</p> <p>=SUMIF([Due Date]1:[Due Date]5, YEAR(@cell) = 2023, Cost1:Cost5)</p> <p><img alt="This image shows an a sumif formula." data-entity-type="file" data-entity-uuid="1766ef0f-3093-4ca5-9eb1-71e0f204245e" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%2010.17.52%20AM.png" width="1340" height="518" loading="lazy" /></p> <p><span class="tip">Add the IFERROR function to your formula to ensure that you don't get an error if @cell encounters a blank cell in the formula. For example: =COUNTIF(Date:Date, IFERROR(YEAR(@cell), 0) = 2016)</span></p> <h3><a id="row"></a>Use @row to improve formula performance</h3> <p>With @row, you can improve performance with the automatic changing of cell references in a column (for example, the status of your tasks) for a large number of rows. <br /> Let’s say we want to use a formula to change symbols in the status column of this grid automatically:</p> <p><img alt="This image shows a formula used to automatically change status balls. " data-entity-type="file" data-entity-uuid="8564dfd5-3cc4-406c-bad5-beb1e63d12d0" src="/sites/default/files/inline-images/Screenshot%202023-07-25%20at%2010.39.00%20AM.png" width="1412" height="566" loading="lazy" /></p> <p> </p> <p>Here’s an example of a formula you might build to automate the RYG ball color change in your Status column:</p> <p>=IF(Complete3 &lt;&gt; 1, IF(TODAY() - [Due Date]3 &gt; 0, "Red", IF(TODAY() - [Due Date]3 &gt; -3, "Yellow", "Green")))</p> <p>The above formula contains multiple references to cells on row 3. Adding a row above row 3, results in Smartsheet automatically updating all of the cell references in the formula to row 4. Smartsheet would also modify formulas in every row below in the same fashion. The more formulas that need to be modified, the more your performance in Smartsheet becomes impacted.</p> <p>To possibly improve performance in your sheets, substitute the row numbers with @row in your cell references. This is how the formula would look using @row:</p> <p>=IF(Complete@row &lt;&gt; 1, IF(TODAY() - [Due Date]@row &gt; 0, "Red", IF(TODAY() - [Due Date]@row &gt; -3, "Yellow", "Green")))</p> <p>Smartsheet won’t need to modify the cell references if the row is moved—resulting in quicker sheet load and save times. You can also copy and paste this formula without having to manually change the row numbers on cell references, saving you time when you need to copy your formulas. </p> <h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/226" typeof="schema:Person" property="schema:name" datatype="">Shaine Greenwood</span></span> <span class="field field--name-created field--type-created field--label-hidden">Fri, 04/07/2017 - 10:34</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>Users that are the sheet Owner or have Admin sharing permissions can create and edit formulas on a sheet. Users with Editor sharing permissions can also create and edit formulas in <a href="https://help.smartsheet.com/articles/522077">unlocked cells</a> on a sheet.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Smartsheet</li> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>Optimize your formulas to improve the overall performance of your sheet and prevent having to manually reference cells in formulas.</p> </div> Fri, 07 Apr 2017 17:34:14 +0000 Shaine Greenwood 2476491 at https://help.smartsheet.com Combine (concatenate) text or values from two or more cells with a simple formula https://help.smartsheet.com/articles/2476826-combine-text-two-or-more-cells-simple-formula <span class="field field--name-title field--type-string field--label-hidden">Combine (concatenate) text or values from two or more cells with a simple formula</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><h3>Create a simple formula to concatenate text</h3> <p>If you want to combine text from two or more cells into a different cell (concatenate the values), you can do this with a simple formula.</p> <ol><li>Click in the cell in which you want the result.</li> <li>Press = (the equal sign).</li> <li>Click the first cell that you want to refer to in the join and then press + (the plus sign).</li> <li>Click the second cell that you want to refer to (to join the values together) and press Enter.</li> </ol><p>To get a sense of the possible ways you can combine cell data, see the examples below.</p> <p><span class="tip">As an alternative, you can use the JOIN function to combine cell values into a text string. Learn more about the <a href="https://help.smartsheet.com/function/join">JOIN Function</a>.</span></p> <h3>Concatenation formula examples </h3> <p>In the following examples, assume that [Task Name]1 contains the text "First Task" and [Task Name]2 contains "Second Task."</p> <blockquote> <p>= [Task Name]1 + " " + [Task Name]2</p> <p>Result: First Task Second Task</p> </blockquote> <p>When you join cell values, you can use delimiters to separate the values in the range:</p> <blockquote> <p>= [Task Name]1 + "-" + [Task Name]2</p> <p>Result: First Task-Second Task</p> </blockquote> <blockquote> <p>= [Task Name]1 + "," + [Task Name]2</p> <p>Result: First Task,Second Task</p> </blockquote> <p>If no delimiter value is included, the values from the range will be joined without spaces:</p> <blockquote> <p>= [Task Name]1 + [Task Name]2</p> <p>Result: First TaskSecond Task</p> </blockquote> <h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/426" typeof="schema:Person" property="schema:name" datatype="" content="gwyneth.casazza@smartsheet.com">gwyneth.casazz…</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 07/23/2018 - 13:44</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>The Owner, Admins, and Editors can modify a sheet.</p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Smartsheet</li> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>You can combine multiple cells to join values together in a text chain or series.</p> </div> Mon, 23 Jul 2018 20:44:43 +0000 gwyneth.casazza@smartsheet.com 2476826 at https://help.smartsheet.com Formulas: reference data from other sheets https://help.smartsheet.com/articles/2476606-formulas-reference-data-from-other-sheets <span class="field field--name-title field--type-string field--label-hidden">Formulas: reference data from other sheets</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>For example, you might use cross sheet references to </p> <ul><li aria-level="1">Create a <a href="/articles/2479976-calculate-key-project-metrics-with-sheet-summary-formulas">metric sheet</a> for use in chart widgets.</li> <li aria-level="1"> Pull data from one sheet to another without replicating the entire sheet.</li> <li aria-level="1"> Display data without sharing the underlying sheet. </li> </ul><p><span class="tip">Do you want to work with data in a single sheet? You might want to use <a href="/articles/2476786-define-your-work-with-sheet-summary">sheet summary fields</a> instead. </span></p> <h3>Before you create cross sheet references</h3> <p>Ready to work with cross-sheet formulas? Keep these things in mind:</p> <ul><li aria-level="1">You must have the required permissions. See the chart below. </li> <li aria-level="1">A sheet can include no more than 100 distinct cross-sheet references. </li> <li aria-level="1">A reference range can include a maximum of 100,000 inbound cells.</li> <li aria-level="1">The following functions don’t support references from another sheet: CHILDREN, PARENT, ANCESTORS. Using a reference from another sheet with these functions will result in an #UNSUPPORTED CROSS-SHEET FORMULA error in the cell containing the formula.</li> </ul><h3>Required permissions</h3> <p>This chart shows what each user can do with cross sheet formulas in source and destination sheets:</p> <div> <table border="1" cellpadding="1" cellspacing="1" class="tablesaw tablesaw-stack" data-tablesaw-mode="stack" data-tablesaw-minimap=""><colgroup><col /><col /><col /><col /><col /></colgroup><thead><tr><th scope="row" role="columnheader" data-tablesaw-priority="persist"> <p> Capability</p> </th> <th scope="col" role="columnheader"> <p>Owner</p> </th> <th scope="col" role="columnheader"> <p>Admin</p> </th> <th scope="col" role="columnheader"> <p>Editor</p> </th> <th scope="col" role="columnheader"> <p>Viewer</p> </th> </tr></thead><tbody><tr><th scope="row" role="columnheader"> <p>View and reference data in the source sheet</p> </th> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Insert a formula in the destination sheet</p> </th> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>No</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Edit a reference in the formula</p> </th> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>No</p> </td> </tr><tr><th scope="row" role="columnheader"> <p>Delete sheet references used in cross-sheet formulas</p> </th> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>Yes</p> </td> <td> <p>No</p> </td> </tr></tbody></table></div> <p>If you have a permission to edit a sheet, be careful in deleting sheet references. Any sheet reference you delete will also be removed from users who have access to the file you changed. When this happens, the data in cells with cross-sheet formulas will be affected.</p> <h3>Before you reference data </h3> <p>Ready to work with cross-sheet formulas? Keep these things in mind:</p> <ul><li aria-level="1">A sheet can include no more than 100 distinct cross-sheet references. </li> <li aria-level="1">A reference range can include a maximum of 100,000 inbound cells.</li> <li aria-level="1">The following functions don’t support references from another sheet: CHILDREN, PARENT, ANCESTORS. Using a reference from another sheet with these functions will result in an #UNSUPPORTED CROSS-SHEET FORMULA error in the cell containing the formula. </li> </ul><p><span class="note">If you have permission to edit a sheet, be careful in deleting sheet references. Any sheet reference you delete will also be removed from users who have access to the file you changed. The data in cells with cross-sheet formulas will be affected.</span></p> <h4>Still need help?</h4> <p>Use the <a href="https://app.smartsheet.com/b/publish?EQBCT=32f8257f5d1948bfa948da170231a0c5">Formula Handbook template</a> to find more support resources, and view 100+ formulas, including a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.<br /><br /> Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.</p> <p style="text-align: center;"><a class="green button" href="https://community.smartsheet.com/categories/formulas-and-functions?source=functionart" target="_blank">Ask the Community</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/226" typeof="schema:Person" property="schema:name" datatype="">Shaine Greenwood</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 09/25/2017 - 15:01</span> <div class="micro-embedded capabilities-embedded"> <h2>Permissions</h2> <div class="help-card-body"> <div class="micro-content"><p>You must be a licensed sheet <strong>Owner</strong>, <strong>Admin</strong> or <strong>Editor </strong>to add or edit references.</p> <p><strong>Viewer</strong> access or higher is required for the sheet being referenced.</p> <p> </p> </div> <div class="micro-footer"> <p>Find out if this capability is included in <a href="/regions-capability-differences">Smartsheet Regions</a> or <a href="/articles/2480681">Smartsheet Gov</a>.</p> </div> </div> </div> <div class="micro-embedded applies-to-embedded"> <h2>PLANS</h2> <div class="help-card-body"> <div class="applies-to-products"> <ul> <li class="micro-content">Smartsheet</li> <li class="micro-content">Pro</li> <li class="micro-content">Business</li> <li class="micro-content">Enterprise</li> </ul> </div> <div class="micro-footer"> <p>For more information about plan types and included capabilities, see the <a href="https://www.smartsheet.com/pricing">Smartsheet Plans</a> page.</p> </div> </div> </div> <div class="clearfix text-formatted field field--name-article-subhead field--type-text-long field--label-hidden field__item"><p>You can perform formula calculations across sheets, using those results to give you a higher level picture of what’s happening with your information. </p> </div> Mon, 25 Sep 2017 22:01:38 +0000 Shaine Greenwood 2476606 at https://help.smartsheet.com