If + Vlookup difficult search compare

Parvin_B

New Member
Joined
Oct 25, 2021
Messages
8
Office Version
  1. 365
Hi from A15 : A27 this is the list with drop downs and dropdown are Priority level , and i have priorities. In K5 . i want to get value from list if list from A15 : A27. If list have any At risk , in K5 it must show At risk dont need to check other cells , if list doesnt contain At risk it must check Delayed , if any cell has delayed it must show delayed , no need to check others, then it need to check On-Track , Yet to start . For Complete if all are complete it need to show complete . I wrote some code but it is not working =IF(VLOOKUP(J5,B15:B27,1,0)="At Risk","At-Risk", IF(VLOOKUP(J6,B15:B27,1,0)="Delayed","Delayed", IF(VLOOKUP(J7,B15:B27,1,0)="On-Track","On-Track","x "))) can anyone help me?

1635171632265.png
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
yes, note i edited my post - re all complete

@Fluff formula is the same as mine, although not showing the > 0 , which is a logical test , if the count is 1 or more , then in the IF , that will be seen as TRUE, and a 0 count will be seen as FALSE
so a bit quicker to write i guess, dont know if its less for excel to process and so more efficient
 
Upvote 0
yes, note i edited my post - re all complete

@Fluff formula is the same as mine, although not showing the > 0 , which is a logical test , if the count is 1 or more , then in the IF , that will be seen as TRUE, and a 0 count will be seen as FALSE
so a bit quicker to write i guess, dont know if its less for excel to process and so more efficient
i have 1 more question how can i do if list contain "complete" and "yet to start" it must show On-track? could you help thanks
 
Upvote 0
can you give the example of what you mean.
how can i do if list contain "complete" and "yet to start" it must show On-track?
not sure i understand this bit ?
 
Upvote 0
At what point in the formula should it check that?
 
Upvote 0
yes, note i edited my post - re all complete

@Fluff formula is the same as mine, although not showing the > 0 , which is a logical test , if the count is 1 or more , then in the IF , that will be seen as TRUE, and a 0 count will be seen as FALSE
so a bit quicker to write i guess, dont know if its less for excel to process and so more efficient
At what point in the formula should it check that?
i THINK I FOUND AND(COUNTIF('Detailed Project Plan_PS'!BD34:BD36,"Complete")>0,COUNTIF('Detailed Project Plan_PS'!BD34:BD36,"Yet to Start")>0),"On-Track"
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,852
Members
449,096
Latest member
Erald

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