• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Listing hours according to day of the week

deciog

Active Member
I need to list all hours according to selection expreriencia day of the week

Thank you very much in advance

Decio
 

Attachments

D18: =IF(COUNTIF(OFFSET(A:A,,MATCH($D$17,$B$2:$G$2,0)),$D$16) < ROWS($D$18:D18), "", INDEX($A:$A, SMALL( IF(OFFSET($A$2:$A$14,,MATCH($D$17,$B$2:$G$2,0)) =$D$16, ROW( OFFSET($A2:$A14,,MATCH($D$17,$B$2:$G$2,0)))), ROW(A1)))) Press Ctrl+Shift+Enter
Then copy down

If you want to understand how that works it is a modified version of: https://chandoo.org/wp/formula-forensics-003/
 
Hui, Many thanks for the error on Wednesday is the hurry

I put the formula and I painted the result shown red, I could not see where the error is, I ask you to check it, it's almost there

Decio
 

Attachments

Hui, everything in order

After some time I was able to make your formula give the result, check, thanks for the help given

=IF(COUNTIF(OFFSET($A$2:$A$14,,MATCH($D$17,$B$2:$G$2,0)),$D$16) < ROWS($D$18:D18), "", INDEX($A$2:$A$14, SMALL( IF(OFFSET($A$2:$A$14,,MATCH($D$17,$B$2:$G$2,0)) =$D$16, ROW( OFFSET($A$2:$A$14,,MATCH($D$17,$B$2:$G$2,0)))-1), ROW(A1))))

Decio
 
Back
Top