#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default Lookups and ifs!

Hi I have the following workbook:

Sheet 1 contains Tax Rates

A1 B1 C1
20% 40% 60%

Sheet 1 further down the sheet contains the following ranges:

A10 B10 C10 D10
<10000 10000 - 20000 20001 - 30000 30001 - 40000

In another sheet I have a salary cell which I type a figure into. What I
want to do is have Excel look at this value and then whichever range in row
10 it appears, Excel can then determine which tax rate to mulitply it by in
row 1
Hope that is clear.....
Many thanks


--
Kind regards

Ann Shaw
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Lookups and ifs!

Hi,
I assume you enter the amount in cell A1
not sure about the ranges if <10000 is 20% then up to 20000 40% and more
than 30000 60% if yes use

=+A1*SUMPRODUCT(--(A1{0;10000;20000;30000}),{0.2;0.2;0.2;0})


"Annie" wrote:

Hi I have the following workbook:

Sheet 1 contains Tax Rates

A1 B1 C1
20% 40% 60%

Sheet 1 further down the sheet contains the following ranges:

A10 B10 C10 D10
<10000 10000 - 20000 20001 - 30000 30001 - 40000

In another sheet I have a salary cell which I type a figure into. What I
want to do is have Excel look at this value and then whichever range in row
10 it appears, Excel can then determine which tax rate to mulitply it by in
row 1
Hope that is clear.....
Many thanks


--
Kind regards

Ann Shaw

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 376
Default Lookups and ifs!

Hi Annie

You need to change your layout, so the tax rates belong to categories
Enter in A1 0, A2 10001, A3 20001, A4 30001
Enter in B1 20%, B2 30%, B3 30% B4 40%

With the salary to be looked up in cell D1
=VLOOKUP)D1,$A$1:$B$4,2,1)

will return the appropriate tax rate
--
Regards
Roger Govier

Annie wrote:
Hi I have the following workbook:

Sheet 1 contains Tax Rates

A1 B1 C1
20% 40% 60%

Sheet 1 further down the sheet contains the following ranges:

A10 B10 C10 D10
<10000 10000 - 20000 20001 - 30000 30001 - 40000

In another sheet I have a salary cell which I type a figure into. What I
want to do is have Excel look at this value and then whichever range in row
10 it appears, Excel can then determine which tax rate to mulitply it by in
row 1
Hope that is clear.....
Many thanks


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
Lookups Warren Easton Excel Discussion (Misc queries) 2 July 9th 08 03:38 PM
Lookups RkB2008 Excel Discussion (Misc queries) 2 June 23rd 08 07:24 PM
Lookups... ajayb Excel Worksheet Functions 3 June 17th 08 02:18 AM
V & H Lookups Richardisa1[_4_] New Users to Excel 3 March 9th 08 09:56 AM
LOOKUPS - Creating LOOKUPs where two different values must BOTH be satisfied. Mr Wiffy Excel Worksheet Functions 2 May 16th 05 04:29 AM


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