Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

271
Visualizações
How can I return a minimum value in excel work sheet if the cells containing the values I am comparing , the values were created by a function

Am trying to return the minimum value of cells excluding zero but when ever I do it using this function, it returns a zero not the minimum Function:{=MIN(IF(DW2:EE2 = 0,"",DW2:EE2))}

The values in the cells are created by a function which is:

=IF(BJ2="",0,IF(BJ2="D1","1",IF(BJ2="D2","2",IF(BJ2="C3","3",IF(BJ2="C4","4",IF(BJ2="C5","5",IF(BJ2="C6","6",IF(BJ2="P7","7",IF(BJ2="P8","8",IF(BJ2>="F9","9"))))))))))

enter image description here

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

This answer is wrong, but it might give you an idea.

=IF(MIN(A1:A5)=0,SMALL(A1:A5,2),MIN(A1:A5))

This means the following (I'm always working from a list of values in the cells "A1" till "A5"):

  1. Verify the minimum of the list.
    2.1. If the minimum equals zero, then take the second smallest value.
    2.2. If the minimum does not equal zero, then take that minimum.

However, there is one problem with the implementation of that approach: I expected =Small(range,2) to give the second smallest number of a list, which it does, but it does not, let me show you:

Range : 0, 1, 2, 3, 4, 5 => Small(Range,2) = 1 => OK
Range : 0, 1, 2, 3, 4, 0 => Small(Range,2) = 0 => NOK

Apparently, Small(,2) just orders the range, and takes the second element, regardless of the fact that it might be equal to Small(,1).

Does anybody know a solution or workaround for this issue?

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda