Conditional Statement

DavidDF

New Member
Joined
Oct 25, 2002
Messages
3
I am trying to do a calculation based on the content of cells with the text "DC". Here is an example: if a10 = "DC", a15 = TAX RATE X b15 (5.75 * $100.00). Any help will be appreciated.

David
This message was edited by DavidDF on 2002-10-26 15:06
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-10-26 15:04, DavidDF wrote:
I am trying to do a calculation based on the contents of cells with the text "DC". Here is an example: if a10 = "DC", a15 = TAX RATE X b15 (5.75 * 100.00). ANy help will be appreciated.

David

What is TAX RATE? And, What happens if A10 is not "DC"?
 

DavidDF

New Member
Joined
Oct 25, 2002
Messages
3
Tax Rate is a named cell that contains the current "DC" tax rate.IF content of cell is not DC (e.g. "MD" or "VA") the tax = 0.

Actually there is one more component. IF tax exempt status cell = T (true) tax = 0 even if state = "DC"

David
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-10-26 15:32, DavidDF wrote:
Tax Rate is a named cell that contains the current "DC" tax rate.IF content of cell is not DC (e.g. "MD" or "VA") the tax = 0.

Actually there is one more component. IF tax exempt status cell = T (true) tax = 0 even if state = "DC"

David,

I'll assume in what follows that the "TAX RATE X b15 (5.75 * 100.00)" bit is correct in essence...

In C15 enter:

=IF(StatusCell="T",0,IF(A10="DC",TAX_RATE*B15 (5.75*100.00),0))
 

DavidDF

New Member
Joined
Oct 25, 2002
Messages
3
Thanks for the reply. I will try this out this evening and post a small sample of how this conditional statement is actually used.

David
This message was edited by daviddf on 2002-10-26 16:01
 

Forum statistics

Threads
1,143,641
Messages
5,719,988
Members
422,257
Latest member
Calion

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
Top