Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-2008, 11:02 AM
Pete
 
Posts: n/a
SUMPRODUCT

I use the following formula to calculate if any of the Cells in
J21:J28 include categories from the PlannedDowntime named range.

SUMPRODUCT(--(COUNTIF(PlannedDowntime,$J$21:$J$28)>0),--($A$21:$A$28))

Is there anyway I can do a search from within J21:J28 as above for
part of a string. I would like to look for the word "Trial" in J21:J28
but the Cell may contain "Trial Paper Break" or "Trial Dryer Jam"


Thanks

Peter
Reply With Quote
  #2 (permalink)  
Old 07-19-2008, 11:47 AM
Bob Phillips
 
Posts: n/a
Re: SUMPRODUCT

=SUMIF($J$21:$J$28,"Trial*",$A$21:$A$28)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Pete" <psowerby@murton-view.freeserve.co.uk> wrote in message
news:9d3e3cde-2717-47d3-b613-64934f3de9bc@a1g2000hsb.googlegroups.com...
>I use the following formula to calculate if any of the Cells in
> J21:J28 include categories from the PlannedDowntime named range.
>
> SUMPRODUCT(--(COUNTIF(PlannedDowntime,$J$21:$J$28)>0),--($A$21:$A$28))
>
> Is there anyway I can do a search from within J21:J28 as above for
> part of a string. I would like to look for the word "Trial" in J21:J28
> but the Cell may contain "Trial Paper Break" or "Trial Dryer Jam"
>
>
> Thanks
>
> Peter



Reply With Quote
  #3 (permalink)  
Old 07-19-2008, 12:31 PM
Pete
 
Posts: n/a
Re: SUMPRODUCT

On 19 Jul, 12:47, "Bob Phillips" <bob....@somewhere.com> wrote:
> =SUMIF($J$21:$J$28,"Trial*",$A$21:$A$28)
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
> "Pete" <psowe...@murton-view.freeserve.co.uk> wrote in message
>
> news:9d3e3cde-2717-47d3-b613-64934f3de9bc@a1g2000hsb.googlegroups.com...
>
>
>
> >I use the following formula to calculate if any of the Cells in
> > J21:J28 include categories from the PlannedDowntime named range.

>
> > SUMPRODUCT(--(COUNTIF(PlannedDowntime,$J$21:$J$28)>0),--($A$21:$A$28))

>
> > Is there anyway I can do a search from within J21:J28 as above for
> > part of a string. I would like to look for the word "Trial" in J21:J28
> > but the Cell may contain "Trial Paper Break" or "Trial Dryer Jam"

>
> > Thanks

>
> > Peter- Hide quoted text -

>
> - Show quoted text -


Bob,

Can this be part of the SUMPRODUCT Formula? as I need to look for
values contained within "PlannedDowntime" or anything containing
"Trial*"
Reply With Quote
  #4 (permalink)  
Old 07-19-2008, 01:37 PM
Bob Phillips
 
Posts: n/a
Re: SUMPRODUCT

=SUMPRODUCT(--((COUNTIF(PlannedDowntime,$J$21:$J$28)>0)+(ISNUMBE R(SEARCH("trial",$J$21:$J$28)))),--($A$21:$A$28))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Pete" <psowerby@murton-view.freeserve.co.uk> wrote in message
news:1179f1a9-7217-4848-8039-21a2f3f2b0ac@b1g2000hsg.googlegroups.com...
> On 19 Jul, 12:47, "Bob Phillips" <bob....@somewhere.com> wrote:
>> =SUMIF($J$21:$J$28,"Trial*",$A$21:$A$28)
>>
>> --
>> HTH
>>
>> Bob
>>
>> (there's no email, no snail mail, but somewhere should be gmail in my
>> addy)
>>
>> "Pete" <psowe...@murton-view.freeserve.co.uk> wrote in message
>>
>> news:9d3e3cde-2717-47d3-b613-64934f3de9bc@a1g2000hsb.googlegroups.com...
>>
>>
>>
>> >I use the following formula to calculate if any of the Cells in
>> > J21:J28 include categories from the PlannedDowntime named range.

>>
>> > SUMPRODUCT(--(COUNTIF(PlannedDowntime,$J$21:$J$28)>0),--($A$21:$A$28))

>>
>> > Is there anyway I can do a search from within J21:J28 as above for
>> > part of a string. I would like to look for the word "Trial" in J21:J28
>> > but the Cell may contain "Trial Paper Break" or "Trial Dryer Jam"

>>
>> > Thanks

>>
>> > Peter- Hide quoted text -

>>
>> - Show quoted text -

>
> Bob,
>
> Can this be part of the SUMPRODUCT Formula? as I need to look for
> values contained within "PlannedDowntime" or anything containing
> "Trial*"



Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT. The time now is 06:42 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109