Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default need HELP with simple excel formula!

I'm trying to come up with a basic formula today!

I want to find how to write a formula where I want to basically find out:
if A1 is 1, then multiply by cell B2 - otherwise (if not true), multiple by
cell B1)

Any help?
Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default need HELP with simple excel formula!

Try

=IF(A11,A1*B2,A1*B1)

Mike

"Danni2008" wrote:

I'm trying to come up with a basic formula today!

I want to find how to write a formula where I want to basically find out:
if A1 is 1, then multiply by cell B2 - otherwise (if not true), multiple by
cell B1)

Any help?
Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default need HELP with simple excel formula!

Basic formula with no error trapping..............

=IF(A11,A1*B2,A1*B1)


Gord Dibben MS Excel MVP

On Tue, 1 Jan 2008 11:46:00 -0800, Danni2008
wrote:

I'm trying to come up with a basic formula today!

I want to find how to write a formula where I want to basically find out:
if A1 is 1, then multiply by cell B2 - otherwise (if not true), multiple by
cell B1)

Any help?
Thanks in advance


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default need HELP with simple excel formula!

THANK YOU SO MUCH, IT WORKED!



"Mike H" wrote:

Try

=IF(A11,A1*B2,A1*B1)

Mike

"Danni2008" wrote:

I'm trying to come up with a basic formula today!

I want to find how to write a formula where I want to basically find out:
if A1 is 1, then multiply by cell B2 - otherwise (if not true), multiple by
cell B1)

Any help?
Thanks in advance

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default need HELP with simple excel formula!

THANKS, THAT WORKS!! D

"Gord Dibben" wrote:

Basic formula with no error trapping..............

=IF(A11,A1*B2,A1*B1)


Gord Dibben MS Excel MVP

On Tue, 1 Jan 2008 11:46:00 -0800, Danni2008
wrote:

I'm trying to come up with a basic formula today!

I want to find how to write a formula where I want to basically find out:
if A1 is 1, then multiply by cell B2 - otherwise (if not true), multiple by
cell B1)

Any help?
Thanks in advance





  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,202
Default need HELP with simple excel formula!

Interesting... both Mike and Gord opted to perform the multiplication inside
the true and false conditions of the IF function. Since the value being
multiplied is the same (A1), my preference would be to multiple it by the
result of the IF statement...

=A1*IF(A11,B2,B1)

Rick


"Danni2008" wrote in message
...
I'm trying to come up with a basic formula today!

I want to find how to write a formula where I want to basically find out:
if A1 is 1, then multiply by cell B2 - otherwise (if not true), multiple
by
cell B1)

Any help?
Thanks in advance


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
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
simple excel formula Paolo Orlando Excel Discussion (Misc queries) 1 April 5th 07 10:24 AM
Simple Excel Formula Help robert145 New Users to Excel 7 March 17th 06 04:32 PM
Help with what I believe is a simple excel formula!!!!!!! RobertM Excel Discussion (Misc queries) 4 March 11th 06 06:42 PM


All times are GMT +1. The time now is 09:53 PM.

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

About Us

"It's about Microsoft Excel"