#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If/Then Formulas

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default If/Then Formulas

How about without an if formula

=CHOOSE(F7,E7*1,E7*1,E7*2)

Mike

"Bk Goto" wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 209
Default If/Then Formulas

=IF(OR(F7=1,F7=2),E7*1,E7*2)
--
Hope this helps.
Thanks in advance for your feedback.
Gary Brown


"Bk Goto" wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If/Then Formulas

You are the best!! I knew XL could do it, but I am self taught, and never
had the need for such a formula.

THANK YOU THANK YOU THANK YOU!!!!
--
Bkg.


"Gary Brown" wrote:

=IF(OR(F7=1,F7=2),E7*1,E7*2)
--
Hope this helps.
Thanks in advance for your feedback.
Gary Brown


"Bk Goto" wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default If/Then Formulas

Bk Goto wrote:
Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.



=IF(OR(F7=1,F7=2),E7,IF(F7=3,E7*2,"F7 is not 1, 2 or 3"))


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default If/Then Formulas

Hi

=IF(F7=1,E7*1,IF(F7=2,E7*1,IF(F7=3,E7*2,"")))

Regards,
Per

"Bk Goto" skrev i meddelelsen
...
Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue
as
to how ;-)

Thanx ~ Bkg.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default If/Then Formulas

Yet another method...

=E7*LOOKUP(F7,{1,2,3},{1,1,2})

Rick


"Bk Goto" wrote in message
...
Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue
as
to how ;-)

Thanx ~ Bkg.


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default If/Then Formulas

On Tue, 12 Aug 2008 12:56:28 -0700, Bk Goto
wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.



Just to add another formula to the collection you have already got:

=E7*(4-3*F7+F7*F7)/2

Shortest so far I guess, but also the least recommended to use because
it is difficult to see through and hard to update when the
requirements change.

Lars-Åke
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default If/Then Formulas

On Tue, 12 Aug 2008 20:45:35 GMT, Lars-Åke Aspelin
wrote:

On Tue, 12 Aug 2008 12:56:28 -0700, Bk Goto
wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.



Just to add another formula to the collection you have already got:

=E7*(4-3*F7+F7*F7)/2

Shortest so far I guess, but also the least recommended to use because
it is difficult to see through and hard to update when the
requirements change.

Lars-Åke


Even shorter :-)

=E7*(4-3*F7+F7^2)/2

Lars-Åke
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default If/Then Formulas

And even shorter yet<g...

=E7*(1+INT(F7/3))

Rick


"Lars-Åke Aspelin" wrote in message
...
On Tue, 12 Aug 2008 20:45:35 GMT, Lars-Åke Aspelin
wrote:

On Tue, 12 Aug 2008 12:56:28 -0700, Bk Goto
wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue
as
to how ;-)

Thanx ~ Bkg.



Just to add another formula to the collection you have already got:

=E7*(4-3*F7+F7*F7)/2

Shortest so far I guess, but also the least recommended to use because
it is difficult to see through and hard to update when the
requirements change.

Lars-Åke


Even shorter :-)

=E7*(4-3*F7+F7^2)/2

Lars-Åke




  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default If/Then Formulas

And even shorter than that...

=E7*INT(1+F7/3)

Rick


"Rick Rothstein (MVP - VB)" wrote in
message ...
And even shorter yet<g...

=E7*(1+INT(F7/3))

Rick


"Lars-Åke Aspelin" wrote in message
...
On Tue, 12 Aug 2008 20:45:35 GMT, Lars-Åke Aspelin
wrote:

On Tue, 12 Aug 2008 12:56:28 -0700, Bk Goto
wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue
as
to how ;-)

Thanx ~ Bkg.


Just to add another formula to the collection you have already got:

=E7*(4-3*F7+F7*F7)/2

Shortest so far I guess, but also the least recommended to use because
it is difficult to see through and hard to update when the
requirements change.

Lars-Åke


Even shorter :-)

=E7*(4-3*F7+F7^2)/2

Lars-Åke



  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default If/Then Formulas

I think we have a winner

"Rick Rothstein (MVP - VB)" wrote:

And even shorter yet<g...

=E7*(1+INT(F7/3))

Rick


"Lars-Ã…ke Aspelin" wrote in message
...
On Tue, 12 Aug 2008 20:45:35 GMT, Lars-Ã…ke Aspelin
wrote:

On Tue, 12 Aug 2008 12:56:28 -0700, Bk Goto
wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue
as
to how ;-)

Thanx ~ Bkg.


Just to add another formula to the collection you have already got:

=E7*(4-3*F7+F7*F7)/2

Shortest so far I guess, but also the least recommended to use because
it is difficult to see through and hard to update when the
requirements change.

Lars-Ã…ke


Even shorter :-)

=E7*(4-3*F7+F7^2)/2

Lars-Ã…ke



  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default If/Then Formulas

Think again...This one even shorter than Rick.R

=((F7=3)+1)*E7


"Mike H" wrote:

I think we have a winner

"Rick Rothstein (MVP - VB)" wrote:

And even shorter yet<g...

=E7*(1+INT(F7/3))

Rick


"Lars-Ã…ke Aspelin" wrote in message
...
On Tue, 12 Aug 2008 20:45:35 GMT, Lars-Ã…ke Aspelin
wrote:

On Tue, 12 Aug 2008 12:56:28 -0700, Bk Goto
wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue
as
to how ;-)

Thanx ~ Bkg.


Just to add another formula to the collection you have already got:

=E7*(4-3*F7+F7*F7)/2

Shortest so far I guess, but also the least recommended to use because
it is difficult to see through and hard to update when the
requirements change.

Lars-Ã…ke

Even shorter :-)

=E7*(4-3*F7+F7^2)/2

Lars-Ã…ke



  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default If/Then Formulas

I suspect the OP didn't want to broaden his/her horizons beyond IF

=E7*(4-3*F7+F7^2)/2


Nice ;)

Mike

"Lars-Ã…ke Aspelin" wrote:

On Tue, 12 Aug 2008 20:45:35 GMT, Lars-Ã…ke Aspelin
wrote:

On Tue, 12 Aug 2008 12:56:28 -0700, Bk Goto
wrote:

Hello and Good Day =)

I am in need of some help...

I would like to create a formula where
IF cell F7 =1 then E7*1, IF F7=2 then E7*1, IF F7=3, then E7*2

Any help would be appreciated, I know it can be done, but haven't a clue as
to how ;-)

Thanx ~ Bkg.



Just to add another formula to the collection you have already got:

=E7*(4-3*F7+F7*F7)/2

Shortest so far I guess, but also the least recommended to use because
it is difficult to see through and hard to update when the
requirements change.

Lars-Ã…ke


Even shorter :-)

=E7*(4-3*F7+F7^2)/2

Lars-Ã…ke

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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 02:20 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 10:23 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"