+ Reply to Thread
Results 1 to 5 of 5

Searching a value (different tabs) using some conditionals

Hybrid View

  1. #1
    Registered User
    Join Date
    11-09-2021
    Location
    Brazil
    MS-Off Ver
    365
    Posts
    3

    Searching a value (different tabs) using some conditionals

    Hello fellas!

    I'm new in this forum, so please have some patience. I'll try to be short in the explanation.

    We've got a log sheet that we want to the user provide some informations and receives back a value (cost value and sell value) of the specific truck.

    In my short knowledge with excel, tryed to use some functions like IF and SUMIF, but, as you can imagine, that formula would be giant and confuse - in the end it didn't work.

    I'm attaching the archive and you can find some explanations to facilitate the understanding. Could someone give a help on this please?

    I know that maybe we'll have to change the database or something else, and we're open to suggestions obviously.

    Thanks a lot for the attention until know.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Searching a value (different tabs) using some conditionals

    Alterei o nome de duas abas e reduzi a fórmula, veja se está evoluindo no caminho correto. Não sei como vc quer calcular dentro da cidade.
    Alterei a validação p/ as cidades destino limitando e ordenando as cidades disponíveis dependendo do local de saída.
    Attached Files Attached Files
    Last edited by DJunqueira; 11-09-2021 at 09:19 PM.

  3. #3
    Registered User
    Join Date
    11-09-2021
    Location
    Brazil
    MS-Off Ver
    365
    Posts
    3

    Re: Searching a value (different tabs) using some conditionals

    A fórmula proposta funcionou parcialmente, reparei o seguinte:
    - quando a origem muda de SP, não busca os valores
    - quando selecionado o veículo TRUCK ou CARRETA, não busca os valores

    A validação de destino disponível com base na cidade de origem achei interessante.

    Vou pesquisar as fórmulas que utilizou para aprender e tentar sua sugestão por aqui em paralelo.

    Obrigado DJunqueira!

  4. #4
    Registered User
    Join Date
    11-09-2021
    Location
    Brazil
    MS-Off Ver
    365
    Posts
    3

    Re: Searching a value (different tabs) using some conditionals

    DJunqueira, um colega apresentou outra solução:

    "Os dados na aba listas têm de ser idênticos aos cabeçalhos nas abas de filiais e também aos títulos de abas.

    E a busca funciona com esta fórmula:

    =ÍNDICE(INDIRETO("'"&C7&"'!G7:Q38"); CORRESP(C8;INDIRETO("'"&C7&"'!B7:B38");0); CORRESP(D7; INDIRETO("'"&C7&"'!G4:P4");0)+SE( C10=C11;0;1))"

    A planilha em anexo com a solução que funcionou para sua análise.

    Obrigado novamente pela ajuda!
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Searching a value (different tabs) using some conditionals

    Quote Originally Posted by Siqs View Post
    DJunqueira, um colega apresentou outra solução:
    "Os dados na aba listas têm de ser idênticos aos cabeçalhos nas abas de filiais e também aos títulos de abas".
    E a busca funciona com esta fórmula:
    =ÍNDICE(INDIRETO("'"&C7&"'!G7:Q38"); CORRESP(C8;INDIRETO("'"&C7&"'!B7:B38");0); CORRESP(D7; INDIRETO("'"&C7&"'!G4:P4");0)+SE( C10=C11;0;1))"
    A planilha em anexo com a solução que funcionou para sua análise.
    Obrigado novamente pela ajuda!
    Suas abas não estão iguais a seleção.

    Eu não percebi q havia omitido o ";0" na fórmula abaixo, célula F2 aba LISTAS.

    Formula: copy to clipboard
    =PROCV('CALCULO GERAL'!$D$7;$D$3:$F$6;SE('CALCULO GERAL'!$C$10='CALCULO GERAL'!$C$11;2;3);0)


    Vc não implantou o filtro da validação na última planilha anexada.
    Attached Files Attached Files
    Last edited by DJunqueira; 11-10-2021 at 11:04 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 07-15-2020, 09:52 AM
  2. Searching tabs for results
    By racemx904 in forum Excel General
    Replies: 5
    Last Post: 08-16-2019, 08:09 PM
  3. Complex If Formula - Searching among various tabs of 2 excels
    By DimitrisPap in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2018, 07:01 AM
  4. Avarage of cells on multiple tabs but searching corresponding column
    By JanaVR in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2014, 02:06 PM
  5. Searching multiple tabs for value and putting them in a list
    By 0nyx1756 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-28-2011, 01:11 PM
  6. Searching/Jumping to Tabs/Sheets
    By nguyeda in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-01-2011, 03:39 PM
  7. searching of multiple tabs and list matches
    By manning in forum Excel General
    Replies: 3
    Last Post: 12-16-2009, 02:44 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1