> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rdrive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Computation - Issue

> Computation - is a field module to assist you in designing your template with 'computed fields'. It can bring the ability to define fields on an object whose va

# What is Computation?

Computation - is a field module to assist you in designing your template with "computed fields". It can bring the ability to define fields on an object whose value is computed from the values of other fields.

Most of the formulas in Excel apply to Computation in RDrive.

E.g.: SUM, VLOOKUP, AVERAGE, LEN, IF, etc.

***

## How to set up the computation to an issue template?

First, you have to [edit](https://docs.rdrive.io/setup/company/categories/categories-issue-record-template/edit-an-issue-record-template) /[create fields](https://docs.rdrive.io/setup/company/categories/categories-issue-record-template/create-an-issue-record-template) and [assign field types](https://docs.rdrive.io/setup/company/categories/categories-template-setup-knowledge-base/what-can-field-properties-do) to design the template layout in the issue wizard.

*✨* [Edit an issue/record template](https://docs.rdrive.io/setup/company/categories/categories-issue-record-template/edit-an-issue-record-template)

*Tips: [If you want the Output field uneditable manually, you may set the field type as "Read Only".](https://docs.rdrive.io/setup/company/categories/categories-template-setup-knowledge-base/what-can-field-properties-do)*

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/5NDw9hLqpMm8dQkSEraW8Q60q3922-M8YQ.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=cbd062c118314ed1613500375d6bb3e2" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/5NDw9hLqpMm8dQkSEraW8Q60q3922-M8YQ.jpeg" />

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/n6Yvidn8fhO_CJyJKi-T8KohzeudjqZWrA.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=69c82952effc8e0bf8ea8ab9f69e7e4e" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/n6Yvidn8fhO_CJyJKi-T8KohzeudjqZWrA.jpeg" />

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/Uz7R87FxUXctvrpJnHGodunAlgDUYyS3-g.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=8c70adb5a0e48891562c91844d30a1e7" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/Uz7R87FxUXctvrpJnHGodunAlgDUYyS3-g.jpeg" />

Click the **Computation** option (or ⌘/Ctrl 6) in the more tools list to bring up the Computation dialogue.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/Vbgl218nM1A0eTEAd8Utq6dxFc0VzzV62A.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=14aee730a93b52ad6827185e7b250d2d" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/Vbgl218nM1A0eTEAd8Utq6dxFc0VzzV62A.jpeg" />

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/HYdF1cmw1W_EdqPqqiR7AGXZ9oH-28oSxA.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=c49d3cb91ffc5347eb6475ad3602f512" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/HYdF1cmw1W_EdqPqqiR7AGXZ9oH-28oSxA.jpeg" />

Click **EDIT** to open the spreadsheet.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/3h0hWaGLFEs8_3JAawyrPvrb1bfefDxOMg.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=2a053caefaca25700b16909393adada1" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/3h0hWaGLFEs8_3JAawyrPvrb1bfefDxOMg.jpeg" />

At the very beginning, the spreadsheet should be blank. Please click the **⋮** and Download the Excel file for edit.

*⚠️ Warning:* 

*Please do not attempt to create the spreadsheet from the web. Do it in the downloaded Excel and import it. The whole purpose of the spreadsheet is to check if the system supports the formulas you inputted.*

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/qkQlSvPkcpCR1mtwREAb0PDuJn5ScQmckw.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=34ba167954e3cb174abc72d5d82d1fca" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/qkQlSvPkcpCR1mtwREAb0PDuJn5ScQmckw.jpeg" />

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/xBpP1fMIx9QodFa2IG7lPejY2lIeZMHnBw.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=a5b4ed2e95da097f3b2632aaed15d626" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/xBpP1fMIx9QodFa2IG7lPejY2lIeZMHnBw.jpeg" />

## -

Open excel, design the input and output cell and enter the formula.

*Click [here ?](https://docs.google.com/spreadsheets/d/1TO1LBKvAHctbn0dvIizYnKNO_uNjlWmJ/edit?usp=sharing\&ouid=104843957967887312407\&rtpof=true\&sd=true) to download the excel for reference.*

***Spreadsheets Size Limit:** 100KB*

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/YFXRG99Xubg8xihFu5WCFyGsKeJxmDYQug.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=3f154143ab82eae71dfc4a9074a6f738" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/YFXRG99Xubg8xihFu5WCFyGsKeJxmDYQug.jpeg" />

Upload the excel file.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/ytqTOEjgkR8ZWc2xtQz6lcwfT6o2D0uimA.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=4527bc53c87a3ca25d6dc9f3d28bc34f" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/ytqTOEjgkR8ZWc2xtQz6lcwfT6o2D0uimA.jpeg" />

Excel uploaded. Have a look at the spreadsheet. If there have any not applicable functions, it will pop Error.

The spreadsheet will automatically save. Click ? to go back to the computation dialogue.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/v9tx3-irlQdPtXmx9ebzU3n0jePWlqQ_Kw.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=798429274d5f08eaa56c095914d17d0d" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/v9tx3-irlQdPtXmx9ebzU3n0jePWlqQ_Kw.jpeg" />

## Assign value

INPUT & OUTPUT

An input field can be any field type.\
An output field can be any field type except image, signature, team list, user list and dropdown list.

Click **SELECT** to select fields from the form to assign the spreadsheet cells for the input value.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/W5bxJzwJWhaacHzKplppu789k4fMfrs2gw.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=24497e623266dee6503eca5e10f61249" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/W5bxJzwJWhaacHzKplppu789k4fMfrs2gw.jpeg" />

Click on the field to choose, the selected field will highlight in blue.

Press the ✔️ on the bottom right to confirm;

or clicking outside of the dialogue to cancel.

<img src="https://mintcdn.com/rdrive/NmCVs01a8HNGcruc/images/kb/103000035013/1H63H8nevsXYnNhOSt49cnGmoDuqDx8JzQ.jpeg?fit=max&auto=format&n=NmCVs01a8HNGcruc&q=85&s=0d78240dc7a7f68d973ecbfb83b00fbb" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/1H63H8nevsXYnNhOSt49cnGmoDuqDx8JzQ.jpeg" />

Click to select the cell for mapping.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/SIwDxdJZlPUALA_Vahi_T2lKHr61ZF2PaA.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=846ef9352c033b0e075ea785d14d24d2" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/SIwDxdJZlPUALA_Vahi_T2lKHr61ZF2PaA.jpeg" />

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/ytcqRQRMWHInHMaUgtvTz9jPIQN17j_ZDw.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=aaff48cb7b8dd01933ba76dfaad1b71b" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/ytcqRQRMWHInHMaUgtvTz9jPIQN17j_ZDw.jpeg" />

May proceed as follows.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/U6ht__0-5L7KqGTtMmOi-fcI8wO2J4ZjhQ.gif?s=c4a393768266915b613aa64213ce5892" alt="Computation - Issue" width="870" height="970" data-path="images/kb/103000035013/U6ht__0-5L7KqGTtMmOi-fcI8wO2J4ZjhQ.gif" />

Done for **INPUT.**

Please repeat the above actions for the **OUTPUT** to assign value.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/KABMC0mKfhOuei3w7ZWMNDYIZSb_dR-_nA.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=5a99ccb97838122201a2bc9ed02eebb2" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/KABMC0mKfhOuei3w7ZWMNDYIZSb_dR-_nA.jpeg" />

**OK** to complete.

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/Ua48d5yHDsEeYukR862Tch1ErArZCuNM5g.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=7e025c078cde521b1acd41127cc28a8a" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/Ua48d5yHDsEeYukR862Tch1ErArZCuNM5g.jpeg" />

**SAVE.**

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/tPeW04Vkwe8ITHe7Bl0_4Kcf8I8RLP1YCQ.jpeg?fit=max&auto=format&n=sdA2WDD3FaUG1SbF&q=85&s=433e48c9f50e2c5211808374e0d65190" alt="Computation - Issue" width="1024" height="768" data-path="images/kb/103000035013/tPeW04Vkwe8ITHe7Bl0_4Kcf8I8RLP1YCQ.jpeg" />

# [⭐️ Remember to **PUBLISH** the template after changed!!](https://docs.rdrive.io/setup/company/categories/categories-issue-record-template/create-an-issue-record-template#h_5f03d6a78d)

Below is an example of the computed field behaviour for your information.

The value of the "**Due By**" date is updated by the selection of "**Priority**".

<img src="https://mintcdn.com/rdrive/sdA2WDD3FaUG1SbF/images/kb/103000035013/DV4sSfbsOP5Y0GGNbaRv5FalKc6UJs4rHQ.gif?s=73e8d172638626144d8a197532ec3c3c" alt="Computation - Issue" width="506" height="256" data-path="images/kb/103000035013/DV4sSfbsOP5Y0GGNbaRv5FalKc6UJs4rHQ.gif" />

## *? What if the priority day needs to be project specific?*

The spreadsheet is able to edit on the project level!!

[Click here to continue to see how.](https://docs.rdrive.io/setup/company/presets/preset-spreadsheet-add-and-merge-with-the-template-company-level)

***

If you are interested in how to setup up computation on the process template, click [here](https://docs.rdrive.io/setup/company/categories/categories-process-template/computation-how-to-set-up-in-a-form).
