PC Review


Reply
Thread Tools Rate Thread

how do i use if function to different texts

 
 
=?Utf-8?B?QW1hbmRh?=
Guest
Posts: n/a
 
      25th Sep 2006

I want to say IF A1 = "International" then multiply A2 by 16% and if A1 =
"European" then multiply A2 by 20% and if A1 = National then multiply A2 by
10% etc etc etc
Please can anybody help?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFyY2Vsbw==?=
Guest
Posts: n/a
 
      25th Sep 2006
hi Amanda,

try

=IF(A1="international",A2*16%,IF(A1="european",A2*20%,0))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Amanda" escreveu:

>
> I want to say IF A1 = "International" then multiply A2 by 16% and if A1 =
> "European" then multiply A2 by 20% and if A1 = National then multiply A2 by
> 10% etc etc etc
> Please can anybody help?

 
Reply With Quote
 
=?Utf-8?B?bGVu?=
Guest
Posts: n/a
 
      26th Sep 2006
ans=
=IF(A1="international",(A2*0.16),IF(A1="European",(A2*0.2),(A2*0.1)))

"Amanda" wrote:

>
> I want to say IF A1 = "International" then multiply A2 by 16% and if A1 =
> "European" then multiply A2 by 20% and if A1 = National then multiply A2 by
> 10% etc etc etc
> Please can anybody help?

 
Reply With Quote
 
=?Utf-8?B?QW1hbmRh?=
Guest
Posts: n/a
 
      26th Sep 2006

Hi Marcelo

Thanks very much, Please can you explain the reason for having 2 closing
brackets at the end? Is this for the number of arguments?

Also what I now need to do is to include another formula:

IF A1="INTERNATIONAL" I need to firstly deduct 0.50 from A2, then multiply
this amount by 40% then add 0.30

Please can you help me again?

Thanks again and regards from Mallorca
Amanda


"Marcelo" wrote:

> hi Amanda,
>
> try
>
> =IF(A1="international",A2*16%,IF(A1="european",A2*20%,0))
>
> hth
> --
> regards from Brazil
> Thanks in advance for your feedback.
> Marcelo
>
>
>
> "Amanda" escreveu:
>
> >
> > I want to say IF A1 = "International" then multiply A2 by 16% and if A1 =
> > "European" then multiply A2 by 20% and if A1 = National then multiply A2 by
> > 10% etc etc etc
> > Please can anybody help?

 
Reply With Quote
 
=?Utf-8?B?QW1hbmRh?=
Guest
Posts: n/a
 
      26th Sep 2006

Hi Len

Thanks for your help!

Also what I now need to do is to include another formula:

IF A1="INTERNATIONAL" I need to firstly deduct 0.50 from A2, then multiply
this amount by 40% then add 0.30

Please can you help me again?

Thanks again and regards from Mallorca
Amanda




"len" wrote:

> ans=
> =IF(A1="international",(A2*0.16),IF(A1="European",(A2*0.2),(A2*0.1)))
>
> "Amanda" wrote:
>
> >
> > I want to say IF A1 = "International" then multiply A2 by 16% and if A1 =
> > "European" then multiply A2 by 20% and if A1 = National then multiply A2 by
> > 10% etc etc etc
> > Please can anybody help?

 
Reply With Quote
 
=?Utf-8?B?TWFyY2Vsbw==?=
Guest
Posts: n/a
 
      26th Sep 2006
ok

first the 2 brackets at the end are to close all the formula the first one
close the second if and the last one close the first if.

an if formula works at if(conditional,actions if the condion is true, action
if the conditional is false)

=IF(A1="international",(((A2-0,50)*,4)+,30)*16%,IF(A1="european",A2*20%,0))

HTH
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Amanda" escreveu:

>
> Hi Marcelo
>
> Thanks very much, Please can you explain the reason for having 2 closing
> brackets at the end? Is this for the number of arguments?
>
> Also what I now need to do is to include another formula:
>
> IF A1="INTERNATIONAL" I need to firstly deduct 0.50 from A2, then multiply
> this amount by 40% then add 0.30
>
> Please can you help me again?
>
> Thanks again and regards from Mallorca
> Amanda
>
>
> "Marcelo" wrote:
>
> > hi Amanda,
> >
> > try
> >
> > =IF(A1="international",A2*16%,IF(A1="european",A2*20%,0))
> >
> > hth
> > --
> > regards from Brazil
> > Thanks in advance for your feedback.
> > Marcelo
> >
> >
> >
> > "Amanda" escreveu:
> >
> > >
> > > I want to say IF A1 = "International" then multiply A2 by 16% and if A1 =
> > > "European" then multiply A2 by 20% and if A1 = National then multiply A2 by
> > > 10% etc etc etc
> > > Please can anybody help?

 
Reply With Quote
 
=?Utf-8?B?bGVu?=
Guest
Posts: n/a
 
      27th Sep 2006

>
> Also what I now need to do is to include another formula:
>
> IF A1="INTERNATIONAL" I need to firstly deduct 0.50 from A2, then multiply
> this amount by 40% then add 0.30
>
> Please can you help me again?
>
> Thanks again and regards from Mallorca
> Amanda
>
> "len wrote: from Adelaide Australia
>
> > ans (1)=
> > =IF(A1="international",(A2*0.16),IF(A1="European",(A2*0.2),(A2*0.1)))


The next step is to replace the (a2*0.16) bracket with...

(a2-0.5) - keep each formula in its own bracket pair. then add
((a2-0.5)*.4) - Excel will calculate the inner bracket 1st then add the last
part
finally the formula looks like this...(((A2-0.5)*.4)+0.3) with 3
calculations in one.
have fun..
Len
 
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
The Resend function changes mail format to plain texts kikilein Microsoft Outlook Discussion 4 26th Jul 2008 08:51 PM
sumif function when left 4 texts are matching =?Utf-8?B?VmlrcmFtIERoZW1hcmU=?= Microsoft Excel Misc 1 25th Apr 2006 08:27 AM
Using Texts in Cells =?Utf-8?B?RHVuY2Fu?= Microsoft Excel Misc 4 14th Oct 2005 11:26 AM
HOW DO YOU CONVERT HTML TEXTS INTO WORD DOCUMENT TEXTS? =?Utf-8?B?am9lIGFrdWRl?= Microsoft Word Document Management 1 16th Dec 2004 04:11 AM
FBA: See only progress bar without texts Günter Wirth Windows XP Embedded 3 3rd Dec 2003 03:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 PM.