Forum Discussion
Clive_Rabson
May 09, 2024Brass Contributor
Formula help please
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 ...
- May 12, 2024
=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)
Clive_Rabson
May 12, 2024Brass Contributor
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
Detlef_Lewin
May 12, 2024Silver Contributor
=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)- Detlef_LewinMay 24, 2024Silver Contributor
- Clive_RabsonMay 23, 2024Brass Contributor
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?
- Clive_RabsonMay 23, 2024Brass Contributor
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
- Detlef_LewinMay 12, 2024Silver Contributor
- Clive_RabsonMay 12, 2024Brass ContributorDetlef, thank you.
Are those four formulae alternatives?
If so what are they dependent on?