That is an impressive solution from Michael but, not knowing the layout of your spreadsheet, I
wonder why you cannot simply insert a new column adjacent to the cell in question so that each
formula can be in a separate cell.
Regards MalJaros
----- Original Message -----
From: "Michael D. Setzer II" <msetzerii@gmail.com>
To: "Brian Barker" <b.m.barker@btinternet.com>, users@global.libreoffice.org, "Carl Winerich"
<Look@iPadRing.net>
Sent: Sunday, 3 June, 2018 03:44:39
Subject: Re: [libreoffice-users] Two formulas in one cell?
=3DTEXT(A3+3,NNNNMMMM D, YYYY)60;TEXT(A4,#####)
A3 was1/15/18 in my case and A4 was 27 result in cell is:
Thursday, January 18, 201827
Would be nice if you could put actually wanting with examples.
You can get the formating you need using the text command, and you can
see the diffiernt format option using the cell format, and it shows examples of
the format code. Just picked a longer one for the date format. Then just a
regular number format used for the second.
On 2 Jun 2018 at 20:54, Carl Winerich wrote:
To:;Brian Barkerb.m.barker@btinternet.com,
users@global.libreoffice.org
From:60;Carl WinerichLook@iPadRing.net
Subject:;Re: [libreoffice-users] Two formulas in one cell?Date sent:60;Sat, 2 Jun 2018 20:54:49
-0400
Concatenate works...to a point.
Another problem is that first formula must provide a result formatted as
a date, let's say June 2.The second formula must provide a result as a
day-number-of-the-year (which I haven't figured out how to do yet).
Using concatenate the result is a 5 digit number returned for the first
formula even though the cell is formatted as a MMMM D.
How can these format requirements be maintained?
Thanks,
Carl
On 06/02/2018 06:10 PM, Brian Barker wrote:
At 17:20 02/06/2018 -0400, Dotty Carl Noname wrote:
In cell A2 the following formula is placed =F30-2 In the same cell
(A2) I want to place a second formula which is =A10+4 How can I add
this second formula into A2 and obtain the results of both formulas
in the same cell (A2) but each separated by several spaces so the
results are distinct? Thank you, Carl
The answer to this question is very similar to that for the almost
identical question that you asked (and had answered) last November 21st:
http://document-foundation-mail-archive.969070.n3.nabble.com/Formula-and-text-in-same-cell-td4227487.html
.
If a cell contains a formula, the result of that formula is what
appears in the cell, so having two formulae would be simply
contradicting yourself. As you already know, if you wanted F30-2 you
would not expect to use =F30 and then =-2 separately but instead
=F30-2. In the same way, you must construct a single formula that
creates the combination of values that you ask for. You can combine
results using the CONCATENATE() function or, more simply, the
operator.Try:</font>
=F30-260;A10+4
Incidentally, do please put your name in the real name field of your
mail messages: it's an elementary courtesy to those offering to help you.
I trust this helps.
Brian Barker
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.