How to create/use a spreadsheet in Google Drive with the current prices of your cryptocoins by suissa

View this thread on steempeak.com
· @suissa · (edited)
$3.86
How to create/use a spreadsheet in Google Drive with the current prices of your cryptocoins
Today I had to create a spreadsheet to manage my cryptocoins portfolio.

Later this month I will create a Dashboard Web to show this information more easily and beautifully, as well as providing various reports. But while it's not ready I've created a spreadsheet to advance the service and by doing so I've discovered a very useful Add-on for anyone who wants to manage their profits on top of those digital assets.

[![Final spreadsheet](https://i.imgur.com/v1JgeK0.png)](https://docs.google.com/spreadsheets/d/1s-WnUpyG2jv_rFXOslO7lcClkpa8x1QE26kkHJwa8j4/edit?usp=sharing)

<br>
<hr>

## Add-on - CRYPTOFINANCE

[This *add-on*](https://chrome.google.com/webstore/detail/cryptofinance/bhjnahcnhemcnnenhgbmmdapapblnlcn) is the simplest way to provide the current value of any cryptocoin on the market, only needing to use the function/formula:

```
=CRYPTOFINANCE("ADA/BTC")
```

<br>


## Function - TEXTJOIN

While I was creating the lines of each coin, I asked myself:


> Is there an automatic way to create the `"COIN/BTC"` String? I already have the symbol for each one in the first column.


![](https://i.imgur.com/SoWtBSo.png)

So I searched Google and found the following link:


- [https://support.google.com/docs/table/25273?visit_id=1-636544947571461454-1779998409&hl=en&rd=2](https://support.google.com/docs/table/25273?visit_id=1-636544947571461454-1779998409&hl=en&rd=2)

And I just searched for: `join`. Because I knew it should be something like that.

![](https://i.imgur.com/7sZA8hJ.png)

Then I just analyzed which function would be the best for my problem and chose [TEXTJOIN](https://support.google.com/docs/answer/7013992) because I do not need several values like JOIN that accepts an Array of values.

In this way I was able to create a function that searches the value of the currency that has its symbol in column A:

```

=CRYPTOFINANCE(TEXTJOIN("/", TRUE, A3, "BTC"))

```

<br>

For you to be able to reuse this same formula in the other rows of the worksheet just do the same action you would do in Excel, just click and hold in the lower right corner of the cell and drag stop down to the desired end line, because thus the value of `A3` will only change the line number and not the column.


![](https://i.imgur.com/5y8eraq.png)
![](https://i.imgur.com/308N24F.png)


> Now you can reuse it whenever you want!


<br>
<hr>

## Bonus

### Function - Current Value

In this function we need to fix which is the cell that has the Bitcoin Current Price, which is `H2`, so that we can multiply by the Amount result times the Current Price.

- Amount: B{3};
- Current Price: D{3};
- Bitcoin Current Price: H2;

To fix the Bitcoin Current Price cell we will use `$`, thus leaving: `$H$2`.

In this way we have fixed that it will always be the `H` column and always the `2` cell:


```

=(B3*D3)*$H$2

```


<br>


#### Tip - Format

Properly format your column if it is not as currency:

![](https://i.imgur.com/4EqdUKi.png)

<br>

### Function - Profit

Before showing this formula I will show how we can deduce it.

Imagine that the value bought was 200 and the current value is 220, or 10% of profit.



We take the difference between the initial value and the final value, note here that if the final value is greater than the initial value, then having profit, the result will be a negative value:

```

=(200-220) // = -20

```

<br>

With the difference we will know the proportion of this value to the initial value, making a simple division:


```

=(200-220)/200 // = -20 / 200 = -0.1

```

<br>

And since we know that Profit should be positive, we need to multiply by `-1`:


```

=(200-220)/200*-1 // = -20 / 200 = -0.1 * -1 = 0.1

```

<br>

I just did not add one more multiplication per 100, so we have the actual **percentage**, because we will format this column in a similar way to what we did with Current Value, so we created the following formula:


```

=(initial-final)/initial*-1

```

<br>

Changing our cells was like this:

```

=(C9-D9)/C9*-1

```

<br>

#### Tip - Format

![](https://i.imgur.com/KeewNn8.png)


<br>
<hr>

## Example - How to use?

You can use my [running example](https://docs.google.com/spreadsheets/d/1s-WnUpyG2jv_rFXOslO7lcClkpa8x1QE26kkHJwa8j4/edit?usp=sharing) creating a copy of it.


![creating a copy of Spreadsheet](https://i.imgur.com/N4keqWv.png)
![](https://i.imgur.com/ZRN3OBi.png)

<br>

![Spreadsheet copied](https://i.imgur.com/DXjnNNH.png)

<br>

Add the Add-on to your spreadsheet:

![Click in Get Add-on](https://i.imgur.com/iDXTiKW.png)

<br>

Search for the Add-on and add it:

![Search for cryptofinance](https://i.imgur.com/19oAruP.png)

<br>

Then just wait to load the data:

![Loading the data](https://i.imgur.com/XvGwz4Q.png)


**If your worksheet does not exit this load then you should do a REFRESH (Ctrl+R) on the page.**

<br>

> **For today it is this, I hope that my example serves for someone, as well as these explanations. :D**


<br>

![Bye Bye](https://vignette.wikia.nocookie.net/yandere-simulator-fanon/images/6/63/7e79d0db2452984041abc0a553cbc495_okay-i-see-bye-now-g-topsy-okay-bye-memes_800-444.jpeg/revision/latest/scale-to-width-down/640?cb=20170405092917)

*Image from: http://yandere-simulator-fanon.wikia.com/wiki*


*ps: all other images are my printscreen.*

You can see this post like a card in: https://channels.cc/c/d3a8ef98-3895-4372-9e23-f5ae70fabc5f
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id34,053,512
authorsuissa
permlinkhow-to-create-use-a-spreadsheet-in-google-drive-with-the-current-prices-of-your-cryptocoins
categorycryptocurrency
json_metadata"{"app": "steemit/0.1", "format": "markdown", "links": ["https://docs.google.com/spreadsheets/d/1s-WnUpyG2jv_rFXOslO7lcClkpa8x1QE26kkHJwa8j4/edit?usp=sharing", "https://chrome.google.com/webstore/detail/cryptofinance/bhjnahcnhemcnnenhgbmmdapapblnlcn", "https://support.google.com/docs/table/25273?visit_id=1-636544947571461454-1779998409&hl=en&rd=2", "https://support.google.com/docs/answer/7013992", "http://yandere-simulator-fanon.wikia.com/wiki", "https://channels.cc/c/d3a8ef98-3895-4372-9e23-f5ae70fabc5f"], "image": ["https://i.imgur.com/v1JgeK0.png"], "tags": ["cryptocurrency", "bitcoin", "altcoins", "howto", "spreadsheet"]}"
created2018-02-20 18:16:09
last_update2018-02-20 19:08:33
depth0
children2
net_rshares693,486,783,309
last_payout2018-02-27 18:16:09
cashout_time1969-12-31 23:59:59
total_payout_value3.454 SBD
curator_payout_value0.402 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length5,381
author_reputation25,183,211,396
root_title"How to create/use a spreadsheet in Google Drive with the current prices of your cryptocoins"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (46)
@steemitboard ·
Congratulations @suissa! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@suissa/birthday1.png</td><td>Happy Birthday! - You are on the Steem blockchain for 1 year!</td></tr></table>

<sub>_[Click here to view your Board](https://steemitboard.com/@suissa)_</sub>


> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
post_id69,842,559
authorsteemitboard
permlinksteemitboard-notify-suissa-20190207t110015000z
categorycryptocurrency
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2019-02-07 11:00:15
last_update2019-02-07 11:00:15
depth1
children0
net_rshares0
last_payout2019-02-14 11:00:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length531
author_reputation38,705,954,145,809
root_title"How to create/use a spreadsheet in Google Drive with the current prices of your cryptocoins"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemitboard ·
Congratulations @suissa! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@suissa/birthday2.png</td><td>Happy Birthday! - You are on the Steem blockchain for 2 years!</td></tr></table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@suissa) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=suissa)_</sub>


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemitboard/@steemitboard/steemitboard-ranking-update-a-better-rich-list-comparator"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmfRVpHQhLDhnjDtqck8GPv9NPvNKPfMsDaAFDE1D9Er2Z/header_ranking.png"></a></td><td><a href="https://steemit.com/steemitboard/@steemitboard/steemitboard-ranking-update-a-better-rich-list-comparator">SteemitBoard Ranking update - A better rich list comparator</a></td></tr></table>

###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
post_id84,160,865
authorsteemitboard
permlinksteemitboard-notify-suissa-20200207t114517000z
categorycryptocurrency
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2020-02-07 11:45:21
last_update2020-02-07 11:45:21
depth1
children0
net_rshares0
last_payout2020-02-14 11:45:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,144
author_reputation38,705,954,145,809
root_title"How to create/use a spreadsheet in Google Drive with the current prices of your cryptocoins"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000