Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
al al is offline
external usenet poster
 
Posts: 363
Default I'am not sure if this is a (=if) problem

I want to multiply the value in A1 by the $ amount in A3 if the value in A1
is one (1)or less.
If the value in A1 is greater than one (1), then I want to subtract one from
the value in A1 and then multiply the new value in A1 with the amount in A4
and add to this the amount in A3.
A3 A4
$10.00 $15.00
A1 A6
1 Equals- $10.00 (1 * $10.00= $10.00)
A1 A6
2 Equals- $25.00 (1 * $15.00 + $10.00= $25.00)
A1 A6
3 Equals- $40.00 ( 2 * $15.00 + $10.00= $40.00)
Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default I'am not sure if this is a (=if) problem

in A6:
=IF(A11,(A1-1)*A4+A3,A1*A3)
Note that the value in A1 will not change, but that the formula subtracts 1
from the number in A1 to perform the calculation.

"AL" wrote:

I want to multiply the value in A1 by the $ amount in A3 if the value in A1
is one (1)or less.
If the value in A1 is greater than one (1), then I want to subtract one from
the value in A1 and then multiply the new value in A1 with the amount in A4
and add to this the amount in A3.
A3 A4
$10.00 $15.00
A1 A6
1 Equals- $10.00 (1 * $10.00= $10.00)
A1 A6
2 Equals- $25.00 (1 * $15.00 + $10.00= $25.00)
A1 A6
3 Equals- $40.00 ( 2 * $15.00 + $10.00= $40.00)
Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default I'am not sure if this is a (=if) problem

Try this in A6:

=IF(A1="","",IF(A1<=1,A3*A1,A4*(A1-1)+A3))

Gives a blank if A1 is blank. Format cell as currency.

Hope this helps.

Pete

On Mar 12, 1:46*pm, AL wrote:
I want to multiply the value in A1 by the $ amount in A3 if the value in A1
is one (1)or less.
If the value in A1 is greater than one (1), then I want to subtract one from
the value in A1 and then multiply the new value in A1 with the amount in A4
and add to this the amount in A3.
* *A3 * * * * * *A4 * * * * *
$10.00 * * *$15.00
* *A1 * * * * * * * * * * * * * * A6
* * 1 * * * * * * *Equals- *$10.00 * * *(1 * $10..00= $10.00)
* *A1 * * * * * * * * * * * * * * A6
* * 2 * * * * * * *Equals- *$25.00 * * *(1 * $15..00 + $10.00= $25.00)
* *A1 * * * * * * * * * * * * * * A6
* * 3 * * * * * * *Equals- * $40.00 * * ( 2 * $15.00 + $10.00= $40.00)
Thanks for any help.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default I'am not sure if this is a (=if) problem

if(a1<=1,a1*a3,(a1-1)*a4+a3)

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



"AL" escreveu:

I want to multiply the value in A1 by the $ amount in A3 if the value in A1
is one (1)or less.
If the value in A1 is greater than one (1), then I want to subtract one from
the value in A1 and then multiply the new value in A1 with the amount in A4
and add to this the amount in A3.
A3 A4
$10.00 $15.00
A1 A6
1 Equals- $10.00 (1 * $10.00= $10.00)
A1 A6
2 Equals- $25.00 (1 * $15.00 + $10.00= $25.00)
A1 A6
3 Equals- $40.00 ( 2 * $15.00 + $10.00= $40.00)
Thanks for any help.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default I'am not sure if this is a (=if) problem

=IF(A1<=1,A1*A3,(A1-1)*A4+A3)
--
David Biddulph

"AL" wrote in message
...
I want to multiply the value in A1 by the $ amount in A3 if the value in A1
is one (1)or less.
If the value in A1 is greater than one (1), then I want to subtract one
from
the value in A1 and then multiply the new value in A1 with the amount in
A4
and add to this the amount in A3.
A3 A4
$10.00 $15.00
A1 A6
1 Equals- $10.00 (1 * $10.00= $10.00)
A1 A6
2 Equals- $25.00 (1 * $15.00 + $10.00= $25.00)
A1 A6
3 Equals- $40.00 ( 2 * $15.00 + $10.00= $40.00)
Thanks for any help.



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
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


All times are GMT +1. The time now is 06:28 AM.

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"