Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

WebArticlesForumsFAQs
JavaScript
ASP
ASP.NET
WCF

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

Operating SysArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Lounge
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

  View Other C# .NET Posts   Ask New Question  Ask New Question With Power Editor

ISTEXT function question
todd adams posted at Saturday, November 07, 2009 12:51 AM

I want to write a formula that will give me a number value when any number of text sequences are discovered in another cell. The spreadsheet is for a football pool so I want it to calculate based on the team and value they risked. So, it should look like this;

C1- 16
C2 - Team in text
C3 - if team in text is any one of a list of winners then give value of C1

I hope I explained this well enough because I know nothing about formulas.

Thanks in advance
Reply    Reply Using Power Editor
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0
RE: ISTEXT function question
Jonathan VH provided a rated reply to todd adams on Saturday, November 07, 2009 6:58 AM

As you write "discovered in another cell," I infer that the "list of winners" is entered in one cell. With that cell  as A1, then try a formula like this in C3:

=IF(ISERR(SEARCH(C2,A1)),"",C1)

If the "list of winners" is actually in a range of cells, with each winning team name in its own cell (which is a more natural way to represent a list in Excel, then use a lookup function, e.g. if the list of winners is in the cells A1 through A10:

=IF(ISNA(MATCH(C2,A1:A10,0)),"",C1)

Reply    Reply Using Power Editor
  Rank Winnings Points
November 2 $211.00 519
October 2 $171.00 584