Work around for Excel's array formulae?

I have an Excel spreadsheet which I have built over many years to manage maintenance tasks of my boat. I would like to convert this to run on Numbers. Unfortunately I can't find a work-around for Excel's "Array Formulas".


The column headers of my spreadsheet contain maintenance tasks (plus data on how frequently by days or engine hours these jobs need to done). When I complete a maintenance task, I log the date and engine hours in a new row with an "x" to signify that the job is done. Excel then looks up the date/engine hours when each job was last done (ie the lowest "x") and then uses conditional formatting to highlight the column headers of which jobs are overdue. Is there a work around for this in Numbers?


I attach an image shot of my Excel spreadsheet which may help:

User uploaded file

MacBook Pro, Mac OS X (10.0.x), Thunderbolt

Posted on Apr 17, 2014 12:55 PM

Reply
6 replies

Apr 18, 2014 4:00 AM in response to Richatom

Hi Rich,


Some made-up dates.


User uploaded file


If you have multiple x's in a column, change all but the most recent to "Done" or something other than x This approach looks for the date in Column A that matches a single x in a task column.


This example works on years. I hope you change your oil and filter more often 😉.


One Header Row and four Footer Rows. Enter Years between services (D9) from the keyboard.


To find the date of the last service (the only x in Column D)


User uploaded file



D10 contains this formula:


=INDEX($A,MATCH("x",D,0))


You can Fill Right to other columns.


"Years since" (D11) contains this formula:


=YEAR(TODAY())-YEAR(D10)


"Alert" (D12) contains this formula:


=IF(D11>D9,"Hey, You!", "OK")


Conditional Formatting in D12 sets the text to red if it equals "Hey, You!"


It would be best to combine these steps into one complex formula. Numbers is slowed down with each Header or Footer in a Table.


Regards,

Ian.

Apr 18, 2014 5:53 AM in response to Richatom

I hope this post makes it. I have ride three times already.


If you do a LOOKUP for "x" in a column of x's, it will find the lowest one. As long as your columns of dates and hours are in ascending order, that should be all you need to get the most recent date and highest hours.


I do not know what you will do for the rotated text at the top of your table. Numbers does not have that feature. The usual workaround is 90 degree rotated text in text boxes placed over each cell. The cell can have a conditional format, such as one to turn it red, but the text in the text box cannot. It is not a great workaround.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Work around for Excel's array formulae?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.