ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I need to Write a Formula (https://www.excelbanter.com/excel-worksheet-functions/174322-i-need-write-formula.html)

Mert6

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



David Biddulph[_2_]

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






All times are GMT +1. The time now is 05:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com