If, Vlookup & And Join Together

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,102
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all...
how to use if, vlookup & and together like this :
=IF(VLOOKUP($AL$8;KKI!$A$2:$P$137;11;0)=U71;"V";"")

i want to adding AND function, e.g. in cell AF79 with criteria in cell "AF79>0"

how to add that function?
maybe modify : =IF(And(VLOOKUP($AL$8;KKI!$A$2:$P$137;11;0)=U71;"V";"";>0"

but not work for me...

would you help me?

susanto

thanks
 
Last edited:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
You need to separate the AND conditions you want to register as true when using AND, eg;

Code:
=IF([COLOR=#ff0000]AND[/COLOR](VLOOKUP($AL$8;KKI!$A$2:$P$137;11;0)=U71[COLOR=#ff0000];AF79>0[/COLOR]);"V";"")
 
Upvote 0
Then I'm not sure what the problem could be, but that is the correct syntax for using AND

How is it not working?
 
Upvote 0
Sorry - you've lost me, check listed?

Is that what the VLOOKUP is doing?

Can you post a sample of your data and the conditions that should result in the "V" please?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top