PC Review


Reply
Thread Tools Rate Thread

I am looking for a phrase

 
 
Gideon
Guest
Posts: n/a
 
      8th Jun 2009
I am using a simple command countif and sumif but my criteria is differant
each time although I want to use that line to count or sum the awnser like
-100 PETRO S#BP SUNNYROCK 8790520001361546
-380.04 PETRO S*CARNIVAL CITY S/ST8790520001361546
-129.67 PETRO S*KRAFT RD BP 8790520001389844

I want to use the phrase perto "and not the whole line as they differ each
entry"to calculate the values in another cell

Please help I know there must be a special caracter to look only for the
phrase perto in a sentance.

Thanks

 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      8th Jun 2009
Try

=COUNTIF(A1:A100,"*PETRO*")

Mike

"Gideon" wrote:

> I am using a simple command countif and sumif but my criteria is differant
> each time although I want to use that line to count or sum the awnser like
> -100 PETRO S#BP SUNNYROCK 8790520001361546
> -380.04 PETRO S*CARNIVAL CITY S/ST8790520001361546
> -129.67 PETRO S*KRAFT RD BP 8790520001389844
>
> I want to use the phrase perto "and not the whole line as they differ each
> entry"to calculate the values in another cell
>
> Please help I know there must be a special caracter to look only for the
> phrase perto in a sentance.
>
> Thanks
>

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      8th Jun 2009
If you mean the sum of all entries which has got a PETRO. Assuming your data
in ColA and B try the below

=SUMIF(B1:B100,"*petro*",A1:A100)

If this post helps click Yes
---------------
Jacob Skaria


"Gideon" wrote:

> I am using a simple command countif and sumif but my criteria is differant
> each time although I want to use that line to count or sum the awnser like
> -100 PETRO S#BP SUNNYROCK 8790520001361546
> -380.04 PETRO S*CARNIVAL CITY S/ST8790520001361546
> -129.67 PETRO S*KRAFT RD BP 8790520001389844
>
> I want to use the phrase perto "and not the whole line as they differ each
> entry"to calculate the values in another cell
>
> Please help I know there must be a special caracter to look only for the
> phrase perto in a sentance.
>
> Thanks
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding all files with a text phrase AND hilighting the phrase fkissam Windows XP General 2 5th Dec 2003 08:28 AM
Finding all files with a text phrase AND hilighting the phrase fkissam Windows XP Help 2 5th Dec 2003 08:28 AM
Finding all files with a text phrase AND hilighting the phrase fkissam Windows XP Customization 2 5th Dec 2003 08:28 AM
Finding all files with a text phrase AND hilighting the phrase fkissam Windows XP Basics 2 5th Dec 2003 08:28 AM
Finding all files with a text phrase AND hilighting the phrase fkissam Windows XP New Users 2 5th Dec 2003 08:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:37 AM.