PC Review


Reply
Thread Tools Rate Thread

countif or please advice

 
 
Jeffrey
Guest
Posts: n/a
 
      18th Aug 2008
good day,

I have two sentence which may appear in the same cell, see below: and
I would like to reflect respective dollar value for these
statements. If the sentence has "supply & fit"
then it will reflect a supply and fit price in cell A1 for example. of
if
the sentece has "supply only" then it will reflect the supply only
price. Noticed that ***** varies (it could be low, medium,
low and medium, high, very high).


Sentence 1
We have pleasure in submitting our quotation for a Supply & Fit in a
***** Wind Zone as per NZS 3604 as below:


Sentence 2
We have pleasure in submitting our quotation for a Supply Only in a
***** Wind Zone as per NZS 3604 as below:


thanks in advance.


Jeff


 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      19th Aug 2008
This may be of no help at all, but...

Say A1 contains the supply & fit price
and
A2 contains the supply only price

Say B1 contains the sentence. The in C1 enter:

=IF(LEN(SUBSTITUTE(B1,"supply only",""))=LEN(B1),A1,A2)

this says that if the phrase "supply only" is somewhere in cell B1, the
value in A2 is picked, otherwise the value in A1.
--
Gary''s Student - gsnu2007k


"Jeffrey" wrote:

> good day,
>
> I have two sentence which may appear in the same cell, see below: and
> I would like to reflect respective dollar value for these
> statements. If the sentence has "supply & fit"
> then it will reflect a supply and fit price in cell A1 for example. of
> if
> the sentece has "supply only" then it will reflect the supply only
> price. Noticed that ***** varies (it could be low, medium,
> low and medium, high, very high).
>
>
> Sentence 1
> We have pleasure in submitting our quotation for a Supply & Fit in a
> ***** Wind Zone as per NZS 3604 as below:
>
>
> Sentence 2
> We have pleasure in submitting our quotation for a Supply Only in a
> ***** Wind Zone as per NZS 3604 as below:
>
>
> thanks in advance.
>
>
> Jeff
>
>
>

 
Reply With Quote
 
Jeffrey
Guest
Posts: n/a
 
      19th Aug 2008
On Aug 19, 11:01*am, Gary''s Student
<GarysStud...@discussions.microsoft.com> wrote:
> This may be of no help at all, but...
>
> Say A1 contains the supply & fit price
> and
> A2 contains the supply only price
>
> Say B1 contains the sentence. *The in C1 enter:
>
> =IF(LEN(SUBSTITUTE(B1,"supply only",""))=LEN(B1),A1,A2)
>
> this says that if the phrase "supply only" is somewhere in cell B1, the
> value in A2 is picked, otherwise the value in A1.
> --
> Gary''s Student - gsnu2007k
>
>
>
> "Jeffrey" wrote:
> > good day,

>
> > I have two sentence which may appear in the same cell, see below: and
> > I would like to reflect respective *dollar value for these
> > statements. *If the sentence has "supply & fit"
> > then it will reflect a supply and fit price in cell A1 for example. of
> > if
> > the sentece has "supply only" then it will reflect the supply only
> > price. *Noticed that ***** varies (it could be low, medium,
> > low and medium, high, very high).

>
> > Sentence 1
> > We have pleasure in submitting our quotation for a Supply & Fit in a
> > ***** Wind Zone as per NZS 3604 as below:

>
> > Sentence 2
> > We have pleasure in submitting our quotation for a Supply Only in a
> > ***** Wind Zone as per NZS 3604 as below:

>
> > thanks in advance.

>
> > Jeff- Hide quoted text -

>
> - Show quoted text -



Hi Gary,

This is brilliant. I will keep this trick in my heart.

cheers.

jeff
 
Reply With Quote
 
Jeffrey
Guest
Posts: n/a
 
      19th Aug 2008
On Aug 19, 1:02*pm, Jeffrey <jeffre...@dimond.co.nz> wrote:
> On Aug 19, 11:01*am, Gary''s Student
>
>
>
>
>
> <GarysStud...@discussions.microsoft.com> wrote:
> > This may be of no help at all, but...

>
> > Say A1 contains the supply & fit price
> > and
> > A2 contains the supply only price

>
> > Say B1 contains the sentence. *The in C1 enter:

>
> > =IF(LEN(SUBSTITUTE(B1,"supply only",""))=LEN(B1),A1,A2)

>
> > this says that if the phrase "supply only" is somewhere in cell B1, the
> > value in A2 is picked, otherwise the value in A1.
> > --
> > Gary''s Student - gsnu2007k

>
> > "Jeffrey" wrote:
> > > good day,

>
> > > I have two sentence which may appear in the same cell, see below: and
> > > I would like to reflect respective *dollar value for these
> > > statements. *If the sentence has "supply & fit"
> > > then it will reflect a supply and fit price in cell A1 for example. of
> > > if
> > > the sentece has "supply only" then it will reflect the supply only
> > > price. *Noticed that ***** varies (it could be low, medium,
> > > low and medium, high, very high).

>
> > > Sentence 1
> > > We have pleasure in submitting our quotation for a Supply & Fit in a
> > > ***** Wind Zone as per NZS 3604 as below:

>
> > > Sentence 2
> > > We have pleasure in submitting our quotation for a Supply Only in a
> > > ***** Wind Zone as per NZS 3604 as below:

>
> > > thanks in advance.

>
> > > Jeff- Hide quoted text -

>
> > - Show quoted text -

>
> Hi Gary,
>
> This is brilliant. *I will keep this trick in my heart.
>
> cheers.
>
> jeff- Hide quoted text -
>
> - Show quoted text -


Hi Gary,

This works when i tried it when using sentence without concantenation.
But my sentence are made up of about 4 contantenations. Please
advice.

thanks.

Jeff
 
Reply With Quote
 
Jeffrey
Guest
Posts: n/a
 
      19th Aug 2008
On Aug 19, 1:23*pm, Jeffrey <jeffre...@dimond.co.nz> wrote:
> On Aug 19, 1:02*pm, Jeffrey <jeffre...@dimond.co.nz> wrote:
>
>
>
>
>
> > On Aug 19, 11:01*am, Gary''s Student

>
> > <GarysStud...@discussions.microsoft.com> wrote:
> > > This may be of no help at all, but...

>
> > > Say A1 contains the supply & fit price
> > > and
> > > A2 contains the supply only price

>
> > > Say B1 contains the sentence. *The in C1 enter:

>
> > > =IF(LEN(SUBSTITUTE(B1,"supply only",""))=LEN(B1),A1,A2)

>
> > > this says that if the phrase "supply only" is somewhere in cell B1, the
> > > value in A2 is picked, otherwise the value in A1.
> > > --
> > > Gary''s Student - gsnu2007k

>
> > > "Jeffrey" wrote:
> > > > good day,

>
> > > > I have two sentence which may appear in the same cell, see below: and
> > > > I would like to reflect respective *dollar value for these
> > > > statements. *If the sentence has "supply & fit"
> > > > then it will reflect a supply and fit price in cell A1 for example.of
> > > > if
> > > > the sentece has "supply only" then it will reflect the supply only
> > > > price. *Noticed that ***** varies (it could be low, medium,
> > > > low and medium, high, very high).

>
> > > > Sentence 1
> > > > We have pleasure in submitting our quotation for a Supply & Fit in a
> > > > ***** Wind Zone as per NZS 3604 as below:

>
> > > > Sentence 2
> > > > We have pleasure in submitting our quotation for a Supply Only in a
> > > > ***** Wind Zone as per NZS 3604 as below:

>
> > > > thanks in advance.

>
> > > > Jeff- Hide quoted text -

>
> > > - Show quoted text -

>
> > Hi Gary,

>
> > This is brilliant. *I will keep this trick in my heart.

>
> > cheers.

>
> > jeff- Hide quoted text -

>
> > - Show quoted text -

>
> Hi Gary,
>
> This works when i tried it when using sentence without concantenation.
> But my sentence are made up of about 4 contantenations. *Please
> advice.
>
> thanks.
>
> Jeff- Hide quoted text -
>
> - Show quoted text -


Hi Gary,

Hey just want to let you know that this formula works even in
concantenated sentence. THANKS MUCH.

JEFF
 
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
Countif or please advice Jeffrey Microsoft Excel Programming 1 19th Aug 2008 05:41 AM
COUNTIF or not to COUNTIF on a range in another sheet =?Utf-8?B?RWxsaWU=?= Microsoft Excel Worksheet Functions 4 15th Sep 2005 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? =?Utf-8?B?Sm9ubmllUA==?= Microsoft Excel Worksheet Functions 3 22nd Feb 2005 02:55 PM
Advice sought on spam/virus's please! I have no knowledge on this subject and need advice please. CryOnwards Anti-Virus 2 15th Apr 2004 11:59 PM
Advice on advice given in the other Outlook thread (to: K-MyL) Trace Jackson Microsoft Outlook 8 2nd Nov 2003 04:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:02 PM.