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

Modify the code column equation

Hany ali

Active Member
Hello My Master,I Want Your Help To Modify the code column equation
Code:
=IFERROR(IF(AND($d2=Setting!$J$2:$J$16,Basic!V2=Setting!$F$2:$F$23),VLOOKUP(LEFT(Basic!U2,FIND(" ",Basic!U2&" ")-1),Setting!$B$2:$D$6,3,),VLOOKUP(LEFT(Basic!U2,FIND(" ",Basic!U2&" ")-1),Setting!$B$2:$C$6,2,)),"")

So, if the Tour name in column D was on the list in column J of Setting Sheet and Numbers in column v from Basic Sheet was on the list from F2:F23 of Setting Sheet .It must the Result To Be which in column D of Setting Sheet Thanks Alot

 

Attachments

  • Screenshot 2023-09-13 120006.png
    Screenshot 2023-09-13 120006.png
    32.4 KB · Views: 3
  • Total Excursion.xlsb
    33.2 KB · Views: 1
Try,

AC4 formula copied down:

=VLOOKUP(LEFT(Basic!U4,FIND(" ",Basic!U4&" ")-1),Setting!$B$2:$D$6,2+AND(ISNUMBER(MATCH(D4,Setting!$J$2:$J$16,0)),ISNUMBER(MATCH(Basic!V4,Setting!$F$2:$F$23,0))),)

1694599504826.png
 
Back
Top