Solved

Excel Formula Question

Posted on 2014-11-15
4
148 Views
Last Modified: 2014-11-16
For the attached spreadsheet, I am trying to generate the word "Call" in the last column, but only for customers that only visited "One-time" and their last visit was more than 30 days ago, and that the area code of their phone number is (239). I can figure it all out, except for how to include the area code criteria.

No arrays, please.

Thanks!
0
Comment
Question by:Cactus1994
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:Cactus1994
ID: 40444611
0
 
LVL 18

Accepted Solution

by:
krishnakrkc earned 500 total points
ID: 40444624
=IF(AND(H3="One-time",G3>30,LEFT(B3,5)="(239)"),"Call","")

Kris
0
 
LVL 81

Expert Comment

by:byundt
ID: 40444867
Rather than create a special formula to determine who to call, why not use an AutoFilter on three columns:
Column B -- use a "begins with" text filter and specify (239) in the resulting dialog
Column G -- use a "greater than" filter and specify 30 in the resulting dialog
Column H -- uncheck the box for "Select all" then check the box for "One-time"

To create an AutoFilter:
1. Select your data
2. On the Data menu, click the Filter icon

To clear the AutoFilter (and thereby display all your data):
1. On the Data menu, click the Filter icon

In the attached workbook, I put the following formula in cell G3 and copied it down:
=IF(D3="","",TODAY()-D3)


Brad
FIND-Q28562822.xlsx
0
 

Author Closing Comment

by:Cactus1994
ID: 40445912
Thank you, Kris.

And thank you, too, Bundt for the suggestion, which I may use in the future. In this instance, however, I just needed a formula.

Have a great rest of the weekend to you both!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

707 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