Convert URL Text in Cells to Links in LibreOffice

I haven’t needed to convert cell text into links until now and I may not need it again anytime soon, but I thought I’d make a note of it here and you might be able to use it as well.

LibreOffice Calc is the tool I employ most often for my spreadsheet needs, though I sometimes have to turn to Gnumeric or Excel. I started trying out Apple’s Numbers spreadsheet program, but it will take some doing to figure out how to use it and I’m not sure it handles certain features of Excel spreadsheets all that well based on my initial tests. And no, Google Docs won’t do for complex and large spreadsheets like this.

I was doing some analysis on a product list for a particular vendor and I wanted the link text to be an actual clickable link so I wouldn’t have to be copying and pasting to see the web page of the link. I found the answer here:

https://ask.libreoffice.org/en/question/6692/calc-convert-text-to-link/

Essentially, you’ll want to use the Find & Replace function to wrap the text in the cell in the HYPERLINK function. You’ll probably want to convert the whole column, except for the first row if it’s a heading, so select it first.

In the Edit > Find & Replace dialog, fill out and select options as follows:

Search For:

(.*)

Replace with:

=HYPERLINK("&")

Note: If this doesn’t work after a copy-and-paste then type it in manually.

Check option: “Regular expressions”

Search in: Formulas

Click on Replace or Replace All per your needs.
Note that I had a specific column selected and a check box was in “Current selection only” which was just what I wanted.

Bingo! I now have clickable links and can do faster product research.

Watching Facebook Stock (for Grins and Giggles)

I haven’t been following the markets much lately but I’m trying to get back in sync with them by putting in some screen time after work. A neighbor of mine has a small portfolio and is holding Facebook so I started looking at it and his other holdings. I created the marked up screen shot you see below. It’s a 1-year daily chart, and I drew a trend line along the 3 most prominent lows. Two points make a line, and three points make a trend line. I duplicated the line and it fits nicely among many of the highs, making a channel. It tested the lower trend line today but buyers came in and brought it back up to close above the trend line. It will be interesting to see what it does in the next couple of days in this post-election time. Let’s see if it holds above the lower trend line and heads toward the upper one. I owned some of it late last year and made a nice profit on it but I usually trade on shorter time frames. Too bad because it would have obviously been a good longer-term investment this year. Wouldn’t you like to have sold it near the high before the sell-off — before the last earnings report?

FB from the close of 11/10/2016:

screen-shot-2016-11-10-at-11-00-57-pm

November 11, 2016: I drew in a new trend line at a support and resistance level. It closed below that level and below the lower vertical channel line. It had opened just under those trend lines, tested them (rose above), sold off, and then closed just a bit higher than the daily low. Let’s see what happens in the next few days. Will it continue to drop or push up above the trend lines again in the next few weeks? The volume was about 1.5 times normal at a glance.

And by the way, a mentor of mine said you should always draw your trend lines and pattern lines on a line chart (versus the candles shown here) for more accuracy. The points on a line chart will be the closing prices: an upper trend line will be across positive closes, and the bottom trend line will be across negative closes. I changed my chart to line mode and the lines could then be moved ever so slightly in this case. They say close only counts in horseshoes and hand grenades, but I think we could add stock charting to that list, too.

FB after the market close on November 11, 2016:

screen-shot-2016-11-13-at-6-59-42-pm

Disclaimer: Don’t make any trades based on anything you see here. I’m just “thinking aloud” and I’m not a financial advisor or certified anything. But with that said, don’t ever trade with your rent money or any other money that you can’t afford to lose. You can always learn with virtual or paper trading. Just be sure to act (as much as you can) like it’s real money on the line so it will feel real and you’ll behave the same way.