Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

current status

Posted on 2006-06-28
3
Medium Priority
?
272 Views
Last Modified: 2010-04-27
i have one field contains cat and dog.

i want to have a status how many dog and cat contains in the field.

do you know how to make it?
0
Comment
Question by:Hiroyuki Tamura
[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
3 Comments
 
LVL 19

Accepted Solution

by:
billmercer earned 500 total points
ID: 17006325
You can use the PatternCount() function to count how many times a certain value appears in a text string.

 PatternCount("dog cat bear dog cow cat horse cat " ; "cat" )
will return 3, because the letters cat appear three times in this string.

To count both cat and dog,  simply count each separately and add them together.

If you want to count how many times a word appears in a set of multiple records, create a calculated field to count the words in one record, then use the sum() function to add them up.

If you just want to know how many records have this value in them, just use count() instead of sum().

0
 

Author Comment

by:Hiroyuki Tamura
ID: 17010452
thank you, billmercer!

could you show me a example?

here is a file;

http://www.angelakello.com/hiro/test.fp7
0
 

Author Comment

by:Hiroyuki Tamura
ID: 17235880
thank you, billmercer!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

604 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