May 12 2023 05:53 AM
Transaction Data | |||||||||
Sheet Name | Txn Value | Rate | Rate Card Table | ||||||
1 | 15000 | ? | Scheme | Lower Vale | Upper Value | Rate | |||
2 | 13000 | ? | 1 | 0 | 12999 | 2 | |||
3 | 20000 | ? | 1 | 13000 | 19999 | 4 | |||
1 | 20000 | 5 | |||||||
2 | 0 | 6999 | 1 | ||||||
2 | 7000 | 11999 | 2 | ||||||
2 | 12000 | 3 | |||||||
3 | 0 | 14999 | 4 | ||||||
3 | 15000 | 24999 | 5 | ||||||
3 | 25000 | 6 |
given above is short data and actual data have huge no of line items require formula for sort this out
May 12 2023 06:01 AM
Solution=INDEX($I$4:$I$12,MATCH(1,($F$4:$F$12=A3)*($G$4:$G$12<=B3)*($H$4:$H$12>=B3),0))
Maybe with this formula. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.
May 15 2023 10:37 PM
It works. Thank you very much @Quadruple_Pawn