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

Thanks

working on this formula =IF(D8="Tourist",IF(AND($D$10<=1000),1046,IF(AND($D$10>1000,$D$10<=1500),880,IF(AND($D$10>1500),1006,"Invalid"))))

1] Your above formula can't work, if D8 ="Private", of which the formula returned "FALSE"

2] If you want to use IF function, try :

=IF(D8="Tourist",($D$10<=1000)*1046+AND($D$10>1000,$D$10<=1500)*880+($D$10>1500)*1006,25)

or,

you can use vletm's Lookup formula as posted in Post #.2 which is a better proposal.


Regards
Bosco
 
Last edited:
Back
Top