On Wed, 23 Sep 2020 at 03:04, mamba_lev <email@example.com> wrote:
I'm putting together an annual rent report for the shared house i live in,
due to varying room sizes there are two rent brackets (60/week for small
rooms, 70/week for large) we also have one resident paying a third amount as
part of an arrangement we have where he is doing some work for us.
what i would like to be able to do is represent each rent bracket with a
letter (eg "A" for small rooms, "B" for large and "S" for special
arangments) and by inputting that letter in to a cell i would like another
cell to be populated with the total amount they owe in rent per year (or to
be left blank in the case of the special arrangement)
would this be possible and if so, how would i go about it?
If Column 'C' is to have the 'A' or 'B' or 'S' and starting row 5
(randomly picked, figuring there will labels above and to the left).
If C5 is waiting for the letter entry and the formula to appear in
cell D5 the most basic formula would be
This will result in a blank unless C5 has an 'A' or 'B'.
You can expand a bit to
This will result in a FALSE if C5 has anything other than 'A' or 'B'
or 'S', including a blank cell (good for catching errors).
If you only want a FALSE to appear when something other than 'A' or
'B' or 'S' is entered, not including a blank cell:
Once you have the formula you want, it can be copied to other cells.
T. R. Valentine
A rich heart may be under a poor coat.
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Impressum (Legal Info)
: 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