Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Einwomyn
 
Posts: n/a
Default create a function for Discount if qty > 50 then take 5% off total

I need to create a if function: if qty 50 then take 5% off of price.
  #2   Report Post  
SierraRose
 
Posts: n/a
Default

Use the If function that as three parts, test condition, what to do if
condition is true, and what to do if conditions is false. If Qty is in cell
A1 and Price is in B1 the formula would look like =IF(A150,5%*B1,0).

The test condition is if A1 is greater than 50. Be careful. This will not
include 50. If you want to include the value 50 change it to = (greater
than or egual to); the do if true multiplies PRICE in B1 by 5%; and the do if
false part returns the value of zero.

"Einwomyn" wrote:

I need to create a if function: if qty 50 then take 5% off of price.

  #3   Report Post  
paul
 
Posts: n/a
Default

if(A150,B1-(B1*.05),B1)*A1
--
paul
remove nospam for email addy!



"SierraRose" wrote:

Use the If function that as three parts, test condition, what to do if
condition is true, and what to do if conditions is false. If Qty is in cell
A1 and Price is in B1 the formula would look like =IF(A150,5%*B1,0).

The test condition is if A1 is greater than 50. Be careful. This will not
include 50. If you want to include the value 50 change it to = (greater
than or egual to); the do if true multiplies PRICE in B1 by 5%; and the do if
false part returns the value of zero.

"Einwomyn" wrote:

I need to create a if function: if qty 50 then take 5% off of price.

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
Using Match function with duplicate values in an array Richard Excel Worksheet Functions 3 April 22nd 23 07:45 PM
Create a function wher last digit is always set mcd_fan Excel Worksheet Functions 4 July 9th 05 04:07 AM
Need a ISWorkday Function -- Any Ideas Mark Excel Worksheet Functions 5 March 29th 05 01:58 AM
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM
Using CONCATENATE function to create email addresses from a list Almamba Excel Worksheet Functions 2 January 23rd 05 09:10 PM


All times are GMT +1. The time now is 09:52 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"