IF/Then

billtester

New Member
Joined
May 14, 2007
Messages
44
Good afternoon.

I am trying to get a return value in a cell based on a range of cells. The formula I tried was:

=IF(E19=E1:E10,F1:F11) but it returned an error.

E19 contains a drop down of salesman initials. I want F19 to populate with the corresponding salesman names and G19 to populate with the email address.

I have the Initials in a range from E1:E10
The Salesmans Names are in F1:F10
The email addresses are in G1:G10

Thank you in advance for your help!!!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Try

=IF(ISNA(VLOOKUP(E19,E1:G10,2,FALSE)),"",VLOOKUP(E19,E1:G10,2,FALSE))
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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