using the if statement

Silver

New Member
Joined
Mar 14, 2002
Messages
5
I need help when trying to figure out the the percentage for a certain cell. I need a formula that looks at a certain cell and if the number within that cell is more than 100 a discount is then given and the results displayed in a different cell can anyone help me.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Is the discount the same no matter what the number (as long as it's over 100)? or is it on a scale (like 100-110 gets one discount, 111-120 another, etc)?
 
Upvote 0
On 2002-03-15 05:36, Silver wrote:
I need help when trying to figure out the the percentage for a certain cell. I need a formula that looks at a certain cell and if the number within that cell is more than 100 a discount is then given and the results displayed in a different cell can anyone help me.


=IF(A1>100),B1-(B1*2%),B1)

entered in C1, looks at A1, at B1 where the price is by either computing a discount wrt the price or taking it as is.

Aladin
 
Upvote 0
That's better, Aladin, except that it won't show you what the original amount is, then the discount (if applicable), then the discounted amount. It might be important to know the original price and the discount in separate columns (but then again, maybe not). It's definitely more elegant than my solution (see other post).
Cool!
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,210
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top