May 09 2024 03:24 PM
I have a sheet with a year of (365) dates in Row 1 starting in cell B1
Under that is a list types of incidents in column A
The requirement is to look through each day per incident type to find the Max number of incidents and the date of that 'peak'. I can find the maximum number in the row with a formula. But what do I need to add to give me the (Vector?) of the corresponding date that will be above in Row 1?
May 09 2024 03:57 PM
May 10 2024 11:25 AM
May 10 2024 01:15 PM - edited May 10 2024 01:15 PM
You should update. The latest version is 16.84 from April 2024.
https://learn.microsoft.com/en-us/officeupdates/update-history-office-for-mac
May 10 2024 02:18 PM
Thanks. Yes, I know, but I don’t think I can update any further on my 2013 MacBook Pro
May 10 2024 03:12 PM
May 10 2024 03:42 PM
I should be clear that Maximum must be replaced with the cell reference where you calculate the max.
May 12 2024 08:37 AM
Please could we take this one step further?
In the same sheet I also need to find the cell with first occurrence of an incident in the year (the row). Also, I need the the last occurrence of an incident in the same row.
Thanks
May 12 2024 09:27 AM
Solution
=TAKE(FILTER($B$1:$NC$1,B2:NC2<>""),,1)
=TAKE(FILTER($B$1:$NC$1,B2:NC2<>""),,-1)
=INDEX($B$1:$NC$1,AGGREGATE(15,6,COLUMN($B$1:$NC$1)/(B2:NC2<>""),1)-1)
=INDEX($B$1:$NC$1,AGGREGATE(14,6,COLUMN($B$1:$NC$1)/(B2:NC2<>""),1)-1)
May 12 2024 12:50 PM
May 12 2024 01:50 PM
May 23 2024 03:40 PM
@Detlef_Lewin Hi again. Sorry to trouble you with a banal question. This week I cannot see a way of starting a new post. Can you assist please?
I have another formula question
May 23 2024 03:46 PM
Hello, I have another question.
I have a simple spreadsheet with three columns
Date1 Date2 ChosenDate
The cell ChosenDate needs to show the earliest date of Date1 and Date2
I thought this would work =IF(Date1<Date2,Date1,IF(Date1=Date2,Date1,IF(AND(Date1="",Date2="","none"))))
But it doesn't work. Any clue?
May 24 2024 03:23 AM
May 12 2024 09:27 AM
Solution
=TAKE(FILTER($B$1:$NC$1,B2:NC2<>""),,1)
=TAKE(FILTER($B$1:$NC$1,B2:NC2<>""),,-1)
=INDEX($B$1:$NC$1,AGGREGATE(15,6,COLUMN($B$1:$NC$1)/(B2:NC2<>""),1)-1)
=INDEX($B$1:$NC$1,AGGREGATE(14,6,COLUMN($B$1:$NC$1)/(B2:NC2<>""),1)-1)