• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need a formula

Uzzal

Member
I wish If I could get a formula as showed in the excel sheet
When O7 is = C11 the P7 cell will show result of R11
When O7 is = C12 the P7 cell will show result of R12
When O7 is = C13 the P7 cell will show result of R13 & follows
 

Attachments

Last edited:
I think this is best achieved with a lookup (XLOOKUP for up to date versions of Excel and INDEX/MATCH or VLOOKUP for legacy versions).
Code:
= XLOOKUP(O7,C11:C30,R11:R30)
or, better again, , using a Table
Code:
= XLOOKUP(
   reportDate,
   Table1[Date],
Table1[Day wise
Total Port &
shipping line
rent in BDT])
 
Back
Top