ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional format; if statement (https://www.excelbanter.com/excel-worksheet-functions/198602-conditional-format%3B-if-statement.html)

SuperX

Conditional format; if statement
 
Is it possible to create a conditional formula that would return a
calculation in another cell?

For example; Cell B1 thru B6 calculate a total. (sum of the column ends up
in B7) I want to be able to incorporate a discount by typing the discount
percentage in cell A1 and have B7 reflect that discount. Is that possible?

Gord Dibben

Conditional format; if statement
 
=SUM(B1:B6)-(SUM(B1:B6)*A1) where A1 is the discount percentage.


Gord Dibben MS Excel MVP

On Tue, 12 Aug 2008 09:48:08 -0700, SuperX
wrote:

Is it possible to create a conditional formula that would return a
calculation in another cell?

For example; Cell B1 thru B6 calculate a total. (sum of the column ends up
in B7) I want to be able to incorporate a discount by typing the discount
percentage in cell A1 and have B7 reflect that discount. Is that possible?



T. Valko

Conditional format; if statement
 
Try this:

A1 = 10%

Enter this formula in B7:

=SUM(B1:B6)*(1-A1)

--
Biff
Microsoft Excel MVP


"SuperX" wrote in message
...
Is it possible to create a conditional formula that would return a
calculation in another cell?

For example; Cell B1 thru B6 calculate a total. (sum of the column ends up
in B7) I want to be able to incorporate a discount by typing the discount
percentage in cell A1 and have B7 reflect that discount. Is that
possible?




Gord Dibben

Conditional format; if statement
 
Short and sweet<g


Gord


On Tue, 12 Aug 2008 14:05:12 -0400, "T. Valko"
wrote:

Try this:

A1 = 10%

Enter this formula in B7:

=SUM(B1:B6)*(1-A1)




All times are GMT +1. The time now is 11:17 AM.

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