Solved

Excel Formula Question

Posted on 2014-11-15
4
141 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
  • 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

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

Suggested Solutions

Title # Comments Views Activity
Problem to With line 4 43
Delete texts with font color 16 30
macro for closing opened workbook 6 21
How do i remove text in between commas in Excel? 14 18
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

895 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

14 Experts available now in Live!

Get 1:1 Help Now