• 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.

if criteria( need help)

r_2

Member
Hi,

Unable to get the desired result.
Requirement: in column D, source is column C
if c5 >200 , D5=7
c6 <=200 , D6=5
c7 <=200, d7= 5
 

Attachments

  • if criteria sample.xlsx
    10.7 KB · Views: 4
Hi @r_2

Two more alternative using lookup functions:

1. in C5 =INDEX($D$2:$D$3,MATCH($C5,$C$2:$C$3,0)) copy down
OR
2. In C5 =VLOOKUP(C5,$C$2:$D$3,2,0) copy down.

Regards,
 
Back
Top