List Vlookup assistance

Nova1979

Board Regular
Joined
Feb 4, 2020
Messages
111
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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Something I failed to mention is the the Team Leader in column E is also a dropdown (not sure if this makes a difference)
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,424
Messages
6,119,400
Members
448,893
Latest member
AtariBaby

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