Forum Discussion
Mutiple formulas in 1 cell
- Jul 17, 2021
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.
This table is for a golf game and basically on hole 1 if par is a 4 and Greg scores a 6 he should get 0 points, if he scores a 5 he should get 1 point and he scores a 4 then 2 points and if he scores a 3 then gets 3 points. I am trying to input the mutiple what if formula into where the Points total (1) is and retreive the data from where Greg inputs his score (5)
Hole 1 Hole 2 Hole 3 .........etc
Par 4 5 3
Greg 5 4 4
Points 1
Not sure if this is possible but any further help would be very much appreciated.
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.
- Budwizer_10Jul 17, 2021Copper ContributorRiny/van/Eekelen, thank you so much this is what i was looking for and it now makes sense, what you are saying. Excel is unable to create a mutiple formula in one cell so you have to create a data table to draw from for all the what ifs. Again thank you so much. Greg
- Budwizer_10Jul 17, 2021Copper ContributorOne last question, Your spreadsheet works perfect but when I try to copy paste the scores and points values for all of 1 player to create another player the formulas do not work any longer. Am i missing something in the copying and pasting?
- Riny_van_EekelenJul 17, 2021Platinum Contributor
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.
- PeterBartholomew1Jul 17, 2021Silver Contributor
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.
- Budwizer_10Jul 17, 2021Copper ContributorPeter, I want to thank you also this gives me a better understanding of what i was looking for and it now makes sense, what you are saying. Excel is unable to create a mutiple formula in one cell so you have to create a data table to draw from for all the what ifs. Again thank you so much. Greg