#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 349
Default if function

Hi doing my cert 2 and i am stuck on 1 formula
i need to work out the total cost of something where the first 1000 are
$0.50 and anything over 1000 is $0.40 using if function.
It all seemed so straught forward till i got to this.
Thanx in advance

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default if function

Try this:

=IF(COUNT(A1),MIN(A1,1000)*0.5+MAX(A1-1000,0)*0.4,0)

--
Biff
Microsoft Excel MVP


"peter" wrote in message
...
Hi doing my cert 2 and i am stuck on 1 formula
i need to work out the total cost of something where the first 1000 are
$0.50 and anything over 1000 is $0.40 using if function.
It all seemed so straught forward till i got to this.
Thanx in advance



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 349
Default if function

Thank you very much that did the trick...and thanx to everyone that
helped...a speedy response. :)

"T. Valko" wrote:

Try this:

=IF(COUNT(A1),MIN(A1,1000)*0.5+MAX(A1-1000,0)*0.4,0)

--
Biff
Microsoft Excel MVP


"peter" wrote in message
...
Hi doing my cert 2 and i am stuck on 1 formula
i need to work out the total cost of something where the first 1000 are
$0.50 and anything over 1000 is $0.40 using if function.
It all seemed so straught forward till i got to this.
Thanx in advance




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default if function

You're welcome!

--
Biff
Microsoft Excel MVP


"peter" wrote in message
...
Thank you very much that did the trick...and thanx to everyone that
helped...a speedy response. :)

"T. Valko" wrote:

Try this:

=IF(COUNT(A1),MIN(A1,1000)*0.5+MAX(A1-1000,0)*0.4,0)

--
Biff
Microsoft Excel MVP


"peter" wrote in message
...
Hi doing my cert 2 and i am stuck on 1 formula
i need to work out the total cost of something where the first 1000 are
$0.50 and anything over 1000 is $0.40 using if function.
It all seemed so straught forward till i got to this.
Thanx in advance






  #5   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default if function

One way ..
Assuming quantities in A1 down
Place in B1:
=IF(A1="","",IF(A1<=1000,A1*0.5,(A1-1000)*0.4+500))
Copy B1 down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"peter" wrote:
Hi doing my cert 2 and i am stuck on 1 formula
i need to work out the total cost of something where the first 1000 are
$0.50 and anything over 1000 is $0.40 using if function.
It all seemed so straight forward till i got to this.
Thanx in advance



  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,480
Default if function

Hi Peter

No need to use IF's
Try
=A1*0.5-MAX(0,A1-1000)*0.1

--
Regards
Roger Govier

"peter" wrote in message
...
Hi doing my cert 2 and i am stuck on 1 formula
i need to work out the total cost of something where the first 1000 are
$0.50 and anything over 1000 is $0.40 using if function.
It all seemed so straught forward till i got to this.
Thanx 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
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


All times are GMT +1. The time now is 07:00 AM.

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"