• 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 formula to lookup or sum based on criteria

Syedali

Active Member
Hi frds,

Any ideas kindly help on this.

Please find attached document, i have explained.
 

Attachments

  • Date wise.xlsx
    16.9 KB · Views: 17
Try,

In E8, copied down :

=INDEX($G$3:$K$5,MATCH(C8,$F$3:$F$5,0),MATCH(SMALL($G$2:$K$2,COUNTIF($G$2:$K$2,"<="&B8)),$G$2:$K$2,0))

Regards
Bosco
 
The main difference is that I have placed the formula within a table
= INDEX( rate, MATCH([@Destination],destination,0), MATCH([@Date],date) )

It looks a bit long-winded but I never use references that depend upon location within the sheet, i.e. no direct cell references.
 

Attachments

  • Date wise (PB).xlsx
    13 KB · Views: 10
Back
Top