LuckyDPR
New Member
- Joined
- Aug 6, 2022
- Messages
- 12
- Office Version
- 2021
- Platform
- Windows
i am using this formula using lookup
=LOOKUP(2,1/(HHPPD[Code]=[@Code])/(HHPPD[SD]<=[@DOS])/(HHPPD[ED]>=[@DOS]),HHPPD[NP])
i want to use index match to rewrite the formula, i am trying following formula but it is resulting in #NA, whereas above mentioned formula is resulting in right value
=index(HHPPD[NP],Match(1,((HHPPD[Code]=[@Code])*(HHPPD[SD]<=[@DOS])*(HHPPD[ED]>=[@DOS])),0))
any help appreciated
=LOOKUP(2,1/(HHPPD[Code]=[@Code])/(HHPPD[SD]<=[@DOS])/(HHPPD[ED]>=[@DOS]),HHPPD[NP])
i want to use index match to rewrite the formula, i am trying following formula but it is resulting in #NA, whereas above mentioned formula is resulting in right value
=index(HHPPD[NP],Match(1,((HHPPD[Code]=[@Code])*(HHPPD[SD]<=[@DOS])*(HHPPD[ED]>=[@DOS])),0))
any help appreciated
Last edited by a moderator: