Localizar numero entre duas colunas

dugsblack

New Member
Joined
Feb 26, 2019
Messages
2
Boa tarde!


Tenho uma planilha onde uma coluna A “Nota Fiscal” NF e na coluna B e C tem o Valor “MINIMO” e “MAXIMO” EX: NF A de 1 a 10, NF B de 11 a 20, NF C de 21 a 30… e tenho uma coluna com números aleatórios 7, 21, 34, 12, 46, 16, 24, 19.


tenho utilizado as formulas para identificar quais dos números da coluna G estão dentro das NF utilizando as formulas abaixo, porem se o numero não faz parte de nenhuma NF ele atrela a mais proxima, saberiam me ajudar para que não mostre nada quando não encontrar?


OBS: essa planilha pode ter mais de 10 mil linhas.

3488
https://forum.luz.vc/t/localizar-numero-entre-duas-colunas/3488
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Bem-vindo ao forum Mr Excel,

Fórmula em G2 copiada para baixo
=SE(CONT.SES(B$2:B$20000;"<="&F2;C$2:C$20000;">="&F2);ÍNDICE(A$2:A$20000;CORRESP(F2;B$2:B$20000));"")

Espero que ajude

M.
 
Upvote 0
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

Embora não proibamos o Cross-Posting neste site, pedimos que você mencione que está fazendo isso e forneça links em cada um dos tópicos que apontam para o outro segmento (consulte a regra 13 aqui junto com a explicação: Regras do Fórum).
Desta forma, outros membros podem ver o que já foi feito em relação a uma questão, e não perder tempo trabalhando em uma questão que já pode ser respondida.
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,216
Members
448,876
Latest member
Solitario

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top