Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default I need to Write a Formula

I am trying to write a formula to say: (assume D7 is the number 68)
If D7 is =10 put a 10, if not put the number value
my next formula asks:
If D7 minus 10 is = 40, put a 40, if not put the value
I am trying to get pricing which is written
1-10= $0
11-50=$30
51-100=$25
100+=$20
The number 68 would have a 10 @ $0
40@$30 and 18@ $25


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default I need to Write a Formula

First formula either =IF(D7=10,10,D7) or =MIN(D7,10)
Similarly with 40
--
David Biddulph

"Mert6" wrote in message
...
I am trying to write a formula to say: (assume D7 is the number 68)
If D7 is =10 put a 10, if not put the number value
my next formula asks:
If D7 minus 10 is = 40, put a 40, if not put the value
I am trying to get pricing which is written
1-10= $0
11-50=$30
51-100=$25
100+=$20
The number 68 would have a 10 @ $0
40@$30 and 18@ $25




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
Need to know how to write a formula TN Judge New Users to Excel 5 August 18th 07 02:22 PM
Write formula to look for 'like' value Suzanne Excel Discussion (Misc queries) 2 May 21st 07 03:38 PM
how to write a formula wolfmasterr New Users to Excel 3 May 22nd 05 06:44 PM
write a formula Tracy B Excel Worksheet Functions 6 March 18th 05 08:39 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM


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