Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default cell subtraction problem

I want to subtract a percent sum from a cell but must have three choices.
Example if cell is under 25 then subtract 8 percent if over 25 then subtract
9 percent if over 70 then subtract 10 percent. Can anyone tell me a formula
for this or if it is even possible?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,393
Default cell subtraction problem

Assuming the cell is A1
=iF(A1<25,a1*92%,if(A1<=70,A1*91%,A1*90%))

btw: this is not a programming question (programming is VBA)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"prefector" wrote in message
...
I want to subtract a percent sum from a cell but must have three choices.
Example if cell is under 25 then subtract 8 percent if over 25 then
subtract
9 percent if over 70 then subtract 10 percent. Can anyone tell me a
formula
for this or if it is even possible?



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
Simple Adding/Subtraction and format of cell. - HELP!!! James8309 Excel Worksheet Functions 2 June 17th 08 03:09 PM
easy (?) subtraction problem Tim Marsh Excel Programming 7 July 7th 06 07:25 PM
How to make a null cell as 0 (Zero) so that the subtraction works Kekin Kakka Excel Worksheet Functions 6 May 9th 06 08:24 PM
Cell subtraction gudway New Users to Excel 3 May 4th 06 01:31 PM
time subtraction problem Excel Worksheet Functions 6 July 15th 05 06:57 PM


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