Forum Discussion

Jorn_H's avatar
Jorn_H
Copper Contributor
Oct 04, 2019
Solved

Search formule, in table searching in 2 rows.

Hello everyone,

 

I want to make an automatic cell with a formule, surrounded cell with blue. I want it so it reads the cell in front, underlined blue in the table on the right, surrounded with red. the next problem is then its bases on the number in front of the comma, first column and behind the comma top row. Note this is only half of the total table! This is the biggest problem cause it is not a small table.

 

Hopefully someone can help me!

thanks in advance

  • Jorn_H 

    Maybe this is what you're after. Try this rather lengthy formula out and let me know if it gives you your desired results:

     

    In Cell G4:

    =INDEX($P$4:$Y$60,MATCH(IF(ABS(ROUND($F4-ROUNDDOWN($F4,),1))=1,ROUNDUP($F4,),ROUNDDOWN($F4,)),$O$4:$O$60,0),MATCH(IF(ABS(ROUND($F4-ROUNDDOWN($F4,),1))=1,0,ABS(ROUND($F4-ROUNDDOWN($F4,),1))),$P$3:$Y$3,0))

     

    P.S.

    SergeiBaklan 

    I would love some suggestions to help condense this formula.

20 Replies

  • PReagan's avatar
    PReagan
    Bronze Contributor

    Hello Jorn_H,

     

    It sounds like you could use the INDEX() and MATCH() functions. Read more here:

    https://support.office.com/en-us/article/index-function-a5dcf0dd-996d-40a4-a822-b56b061328bd

    https://support.office.com/en-us/article/match-function-e8dffd45-c762-47d6-bf89-533f4a37673a

    • Jorn_H's avatar
      Jorn_H
      Copper Contributor

      PReagan Thanks for replaying, I Dont know how those two formules would work on such a big scale so can you give more detail please?

      • PReagan's avatar
        PReagan
        Bronze Contributor

        Jorn_H 

        Would you mind sharing a sample file of your data so that I can explain the INDEX() and MATCH() functions in further detail?

Resources