IF(AND(OR Statement with Vlookup included

wells146

New Member
Joined
Sep 5, 2008
Messages
30
Hi Mr Excel User community!
Need a little help her with an IF statement with Vlookup Looking for the result in column C. Logic blow the table

Thanks!
ABC
1EmployeeProductResult
2BlankSoftwareNo Name Software
3BlankServicesNo Name Services
4Joe SmithServicesJoe Smith
If Employee name has no value (i.e. Blank) and Product
equals Software, then code as "No name Software"
and if Emplyee name has no value and product equals Services
then code as No Name Services Otherwise Vlookup employee name
and code the result from the vlookup table

<COLGROUP><COL style="WIDTH: 21pt; mso-width-source: userset; mso-width-alt: 1024" width=28><COL style="WIDTH: 80pt; mso-width-source: userset; mso-width-alt: 3913" width=107><COL style="WIDTH: 66pt; mso-width-source: userset; mso-width-alt: 3218" width=88><COL style="WIDTH: 99pt; mso-width-source: userset; mso-width-alt: 4827" width=132><COL style="WIDTH: 76pt; mso-width-source: userset; mso-width-alt: 3693" width=101><TBODY>
</TBODY>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
something like this?

=if(A2="","No Name " & B2,vlookup(a2,the rest of your lookup formula
 
Upvote 0
Try this;

=IF(A4="","No Name "& B4,VLOOKUP(A4,Names!A2:A3,1))

where 'Joe Smith' resides in a sheet called Names.
 
Upvote 0

Forum statistics

Threads
1,213,506
Messages
6,114,027
Members
448,543
Latest member
MartinLarkin

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