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

Very basic if formula query

SKG

New Member
Hi,

I have a column displaying Alexa rank of websites. In another column, I need to make following remarks based on Alexa rank.

If rank is below 20000, it should display value 2 as remark in next column
If rank is between 20000 & 40000, it should display value 1.5 as remark in next column
If rank is above 40000, it should display value 2 as remark in next column

I believe there is a pretty simple formula for this but since I am new to Excel, I was unable to figure it out inspite of trying several times.

It would be really helpful if any Excel expert out there tells me how to do this.

Thanks in advance.
 
Hi ,

I am summarising your conditions below ; please confirm that they are correct.

1. If the Alexa rank is below 20000 or above 40000 , then in the remark column put 2

2. Otherwise , put 1.5

Another way to summarise this would be :

1. If the Alexa rank is between 20000 and 40000 , then in the remark column put 1.5

2. Otherwise , put 2

The Excel formula would be as follows , assuming the data starts from row 2 , and the Alexa rank is in column R :

=IF(OR(R2 < 20000 , R2 > 40000) , 2 , 1.5

or

=IF(AND(R2 >= 20000 , R2 <= 40000) , 1.5 , 2)

Enter either of the above formulae in S2 , and copy down.

Narayan
 
If it difficult for you, use easy method.
Please find attached sheet.

You have to create a criteria range then apply VLOOKUP function.
 

Attachments

  • Simple IF.xlsx
    9.6 KB · Views: 2
Thanks a lot everyone. It solved my query. Thanks a lot once again for your timely help.
 
Back
Top