Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Formula for several IFs in 1 single line/cell ..??

anybody knows how to do a formula in one single line (cell) for the
following? ..please????

I need to calculate tax percentage based on the following (all in one big
formula):

- if home has 1 bedroom = tax is 0.75%
- if home has 2 bedrooms = tax is 1%
- if home has 3 or more bedrooms AND home is less tan 10 years = tax is 1.25%
- if home has 3 or more bedrooms AND home is less tan 20 years BUT more
than 9 years = tax is 1.25%
- if home has 3 or more bedrooms AND home is more than 20 years = tax is
1.75%

anyhelp will be very very appreciate it !!

Cheers,
Mayte

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default Formula for several IFs in 1 single line/cell ..??

Suppose A1 is the number of bedrooms (I assume =1) and A2 is the age of the
home. Then the tax rate is:

if(A1=1, 0.75%, if(A1=2, 1%, if(A2<10, 1.25%, if(A2<20, 1.50%, 1.75%))))

Note, you wrote:
- if home has 3 or more bedrooms AND home is less tan 10 years = tax is
1.25%
- if home has 3 or more bedrooms AND home is less tan 20 years BUT more
than 9 years = tax is 1.25%


I assume you meant a different tax rate for the 9-to-20-year age. I used
1.50%.


----- original message -----

"Mayte" wrote in message
...
anybody knows how to do a formula in one single line (cell) for the
following? ..please????

I need to calculate tax percentage based on the following (all in one big
formula):

- if home has 1 bedroom = tax is 0.75%
- if home has 2 bedrooms = tax is 1%
- if home has 3 or more bedrooms AND home is less tan 10 years = tax is
1.25%
- if home has 3 or more bedrooms AND home is less tan 20 years BUT more
than 9 years = tax is 1.25%
- if home has 3 or more bedrooms AND home is more than 20 years = tax is
1.75%

anyhelp will be very very appreciate it !!

Cheers,
Mayte


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Formula for several IFs in 1 single line/cell ..??

thanks ..it works !!!!
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
average line needed from one single cell Norbert[_2_] Charts and Charting in Excel 3 November 20th 08 02:04 PM
How do I use a single cell value to chart a horizontal line in Exc Ira Charts and Charting in Excel 9 April 29th 07 12:32 AM
Concatenate: Multi-Line Cell with 2 single line cells BEEJAY Excel Worksheet Functions 0 February 15th 07 08:53 PM
More than one line in a single cell? u_gothope New Users to Excel 1 September 26th 06 06:47 PM
Is it possible to do it by a single-line formula(without using VBA)? hello_lpc Excel Discussion (Misc queries) 0 July 15th 06 12:57 PM


All times are GMT +1. The time now is 07:41 AM.

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"