Hi Guys,
I am working on a spreadsheet, and looking for some guidance on a calculating formula. I really don't know what to use, so advice would be appreciated
If we say for example it's a cafe, and food being served at certain times of the day, I want to know the 'best' and the 'worst' times for selling those items.
I've attached an example file of what the data I am looking for is - what I am struggling for is the data in Red, in the sheet.
Can anyone help?
Thanks!
N
[Solved] Formula for working out 'the best'
[Solved] Formula for working out 'the best'
- Attachments
-
- Example .ods
- (12.62 KiB) Downloaded 103 times
Last edited by MrProgrammer on Tue Mar 31, 2020 7:37 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved]
Reason: Tagged ✓ [Solved]
NeoOffice 2.2.3 with MacOS 10.4
Re: Formula for working out 'the best'
Your data layout is too complex.
Nevertheless,
K5: =INDEX($E$3:$I$3;1;MATCH(MAX($E5:$I5);$E5:$I5;0))
should get the best time. Replace MAX with MIN for the worst time.
It could be easier to maintain and you could get far more information from sales data if you would use a normalized table.
See viewtopic.php?t=101434
Nevertheless,
K5: =INDEX($E$3:$I$3;1;MATCH(MAX($E5:$I5);$E5:$I5;0))
should get the best time. Replace MAX with MIN for the worst time.
It could be easier to maintain and you could get far more information from sales data if you would use a normalized table.
See viewtopic.php?t=101434
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Formula for working out 'the best'
Hi,
This works perfectly for me, thanks!
This works perfectly for me, thanks!
NeoOffice 2.2.3 with MacOS 10.4