Jul 15 2021 09:36 AM - edited Jul 15 2021 09:44 AM
how do you write mutilple formulas for 1 cell. example (in one cell if the number is 5 then i want it to input in another cell the number 1 OR if the number in that same cell is 4 then i want it to input in another cell the number 2 and so on.
Jul 15 2021 10:13 PM
@Budwizer_10 A cell can only hold one formula, but it can have many different outcomes. On the other hand, multiple formulae can reference one particular cell.
If you could upload a schedule that gives a clear example of what you are dealing with, that would be helpful.
Jul 16 2021 01:31 AM
Spreadsheets provide a functional, rather than imperative, programming style. That means they are specifically designed to prevent a value/cell being changed as a result of executing one or more instructions held elsewhere.
Rather than looking at the value in a cell and thinking "What do I want to happen as a result of this?", focus on the other cells and ask "How do I determine the value of this cell"
Jul 16 2021 04:09 PM
Jul 16 2021 04:10 PM
Jul 16 2021 09:46 PM
@Budwizer_10 No problem. See attached workbook for a working example based on your description. But I suspect that your next question will be to include course rating, multiple players, stroke index, handicap and playing handicap.
In the attached file you'll find two solution. One with new Excel functions and one with an "old-style" approach.
Jul 17 2021 04:05 AM
I liked the 365 solution! Since you have the situation under control, I set out to play with Lambda functions. I think it may be a while before I really get settled into the new ways of working and read the formulas fluently; they still don't look like spreadsheets to me.
Jul 17 2021 07:41 AM
Jul 17 2021 07:43 AM
Jul 17 2021 08:35 AM
Jul 17 2021 08:37 AM
@Budwizer_10 Who's spreadsheet are you referring to? Easier if you upload your schedule so that either @PeterBartholomew1 or I can help you out.
Jul 17 2021 08:42 AM
Jul 17 2021 08:46 AM
Jul 17 2021 08:59 AM
Solution@Budwizer_10 OK, you went for a horizontal lookup table. Not sure if you can work with the newer functions so I added the "old-style" formulae, after changing the lookup table a bit. See attached.
Jul 19 2021 06:56 AM
Jul 17 2021 08:59 AM
Solution@Budwizer_10 OK, you went for a horizontal lookup table. Not sure if you can work with the newer functions so I added the "old-style" formulae, after changing the lookup table a bit. See attached.