Solved

Need help with an Excel forumal or vlookup

Posted on 2014-09-30
3
107 Views
Last Modified: 2014-09-30
I have an excel workbook that I need a formula for...

if column J ends with Delivery I would like K to equal Account
if column I includes any name in tab names column A then column K should equal account
else column K should equal Sales
0
Comment
Question by:Matt Pinkston
  • 2
3 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 40352841
Something like this, for K2?

=if(or(right(J2,8)="Delivery",isnumber(match(I2,'Names'!$A:$A,0))),"Account","Sales")
0
 

Author Comment

by:Matt Pinkston
ID: 40352884
Okay I made a mistake the field could end in Delivery or Delivery Manager
0
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 40352898
Try

=if(or(right(J2,8)="Delivery",right(J2,16)="Delivery Manager",isnumber(match(I2,'Names'!$A:$A,0))),"Account","Sales")
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now