[Solved] Finding the occurrence of multiple similar result

Discuss the spreadsheet application
Post Reply
mellie27
Posts: 2
Joined: Wed Apr 25, 2018 10:18 am

[Solved] Finding the occurrence of multiple similar result

Post by mellie27 »

Hi,

I've tried doing the following with Excel and it works but somehow over in OpenOffice I'm not able to generate the result. I need help.

I wish to auto tabulate Table 1 result to Table 2. In specific, I need to auto tabulate the corresponding Rest Days ("R") of each staff. To find the first R I have used the MATCH function. However I am unable to find the subsequent Rest Day(s). I wish to auto tabulate the figures highlighted in yellow.

i used index and small function in excel

{=iferror(INDEX(D3:AH3;SMALL(IF("R"=D4:AH4;COLUMN(D4:AH4)-COLUMN(D4)+1);2));"")}

but does not seem to be able to populate the result in OpenOffice

Thank you
Attachments
Question.ods
(12.64 KiB) Downloaded 73 times
Last edited by Hagar Delest on Thu Apr 26, 2018 11:23 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 3.1
User avatar
MrProgrammer
Moderator
Posts: 4908
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Finding the occurrence of multiple similar result

Post by MrProgrammer »

mellie27 wrote:I wish to auto tabulate Table 1 result to Table 2.
You want to filter the values from Table 1, using "R" was the selection criteria.
[Tutorial] Sorting and Filtering data with formulas

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
mellie27
Posts: 2
Joined: Wed Apr 25, 2018 10:18 am

Re: Finding the occurrence of multiple similar result

Post by mellie27 »

thanks. your tutorial helped!
OpenOffice 3.1
Post Reply