List Vlookup assistance

Nova1979

Board Regular
Joined
Feb 4, 2020
Messages
110
Office Version
  1. 2010
Platform
  1. Windows
Morning all
I am using the following formula to look up a list

=Ifna(if(vlookup(k2,sheet1$a$1:$b$53,2,false)=“”,””,vlookup(k2,sheet1$a$1:$b$53,2,false)),”123456”)

This enables a dropdown list on another page to input a number reference other wise return 123456.
I am now hoping to get help to add to this with a conditional component.
In the list the above formula references I have OT2 which returns a value (lets say for this 123). Is there a way to return another value for OT2 (let’s say 456) for the reference of team leader in column E?
My problem is I need OT2 in the list as it relates to an overtime type but has one number to be listed for team leader and another number for trade.

Thanks for any help in advance
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Nova1979

Board Regular
Joined
Feb 4, 2020
Messages
110
Office Version
  1. 2010
Platform
  1. Windows
Something I failed to mention is the the Team Leader in column E is also a dropdown (not sure if this makes a difference)
 

Nova1979

Board Regular
Joined
Feb 4, 2020
Messages
110
Office Version
  1. 2010
Platform
  1. Windows
UPDATE:
I have basics sorted

=ifna(if(e2=“team leader”,vlookup(k2,table1,2,false),if(e2<>”team leader”,vlookup(k2,table2,2,false))),”123456”)

Now the problem I face is that some of the return cells in the tables a blank (this is required) however the belie returned based on the formula is 0. Is anyone able to help with this as I need it to return the blank cell

Thanks again in advance.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,385
Messages
5,853,510
Members
431,593
Latest member
AAAaahhh

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
Top