#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default if then formulas

I'm trying to write a formala that does this:

If A="US", then B*(1+C), If A = "India", then B*(1+D)

Any suggestions would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default if then formulas

=IF(A1="US",B1*(1+C1),IF(A1="India",B1*(1+D1),"wha tever you want as the
answer if A1 is neither US nor India"))
--
David Biddulph

"Karyn" wrote in message
...
I'm trying to write a formala that does this:

If A="US", then B*(1+C), If A = "India", then B*(1+D)

Any suggestions would be greatly appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default if then formulas

Your almost there...

assuming data is in row 1 then, the formula can then be copied down the
table...

=IF(A1="US",B1*(1+C1),B1*(1+D1))

This is fine if the data in column a is only ever US or India, however to be
more discrete it may be necessary to use

=IF(A1="US",B1*(1+C1),IF(A1="India",B1*(1+D1),""))

Hope this helps...

--
Kind regards

Rik


"Karyn" wrote:

I'm trying to write a formala that does this:

If A="US", then B*(1+C), If A = "India", then B*(1+D)

Any suggestions would be greatly appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default if then formulas

Karyn,

I can't follow this logic very well so here's a guess

=IF(A1="US",B1*(1+C1),IF(A1="India",B1*(1+D1),""))

Mike



"Karyn" wrote:

I'm trying to write a formala that does this:

If A="US", then B*(1+C), If A = "India", then B*(1+D)

Any suggestions would be greatly appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default if then formulas

Hi,
=if(A1="US",B1*(1+C1),if(A1="India",B1*(1+D1))

"Karyn" wrote:

I'm trying to write a formala that does this:

If A="US", then B*(1+C), If A = "India", then B*(1+D)

Any suggestions would be greatly appreciated.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting # of Formulas in a column with formulas and entered data Brand Excel Worksheet Functions 1 October 10th 09 01:01 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 07:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"