Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Complicated Vlookup and array

Hi I have a table with the columns pay and Federal Tax and I have to look for the right federal tax in another table where there is a range
for example

Pay************* Federal Tax
2450**************** ?*
2457******************?
343******************** ?

Another Table

pay range******* Tax rate

0-799************** 8%
800-999*********** 1%
1000-1499*********15%
1500 +**************20%


I created another table to help me putting the lowest range


0************** 8%
800*********** 1%
1000*********15%
1500**********20%

And i Have to use vlookup, any ideas how to do this ?

Thanks
  #2   Report Post  
Member
 
Location: Bangalore
Posts: 41
Thumbs up

Quote:
Originally Posted by cmatni View Post
Hi I have a table with the columns pay and Federal Tax and I have to look for the right federal tax in another table where there is a range
for example

Pay************* Federal Tax
2450**************** ?*
2457******************?
343******************** ?

Another Table

pay range******* Tax rate

0-799************** 8%
800-999*********** 1%
1000-1499*********15%
1500 +**************20%


I created another table to help me putting the lowest range


0************** 8%
800*********** 1%
1000*********15%
1500**********20%

And i Have to use vlookup, any ideas how to do this ?

Thanks
Hello,

You need to use the Vector Form of the Lookup function. The argument of this function would be as following.
Lookup Value - Amount from your first list
Lookup Vector - First Column in your third list
Result Vector - Second Column in your third list

I tried and it was working fine at my system. Please let me know if this doesn't work for you.

To understand how LOOKUP function work check the Excel Documentation or reply to me and I will be happy to explain.

Please let me know if this was helpful to you.

Thank You,
Prashant
  #3   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by jack_n_bub View Post
Hello,

You need to use the Vector Form of the Lookup function. The argument of this function would be as following.
Lookup Value - Amount from your first list
Lookup Vector - First Column in your third list
Result Vector - Second Column in your third list

I tried and it was working fine at my system. Please let me know if this doesn't work for you.

To understand how LOOKUP function work check the Excel Documentation or reply to me and I will be happy to explain.

Please let me know if this was helpful to you.

Thank You,
Prashant
Thanks !! it worked
  #4   Report Post  
Member
 
Location: Bangalore
Posts: 41
Smile

Quote:
Originally Posted by cmatni View Post
Thanks !! it worked
You are welcome.

Let me know for any Excel/VBA related issues.

Thank You,
Prashant
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Complicated Vlookup and array

Hi,

Am Mon, 15 Oct 2012 16:23:54 +0000 schrieb cmatni:

Pay************* Federal Tax
2450**************** ?*
2457******************?
343******************** ?


the table above in A1:B4

0************** 8%
800*********** 1%
1000*********15%
1500**********20%


the table above in G1:H4
Then try:
=VLOOKUP(A2,$G$1:$H$4,2,1)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Array for varying 2 out of many input variables for complicated fx MontyCR Excel Discussion (Misc queries) 0 April 10th 09 07:13 PM
Need Help with Complicated Array Macro Jaime Excel Discussion (Misc queries) 1 August 27th 08 10:05 PM
A bit of a complicated Array that I can't figure out! HELP! Dan the Man[_2_] Excel Discussion (Misc queries) 6 August 23rd 08 04:16 PM
Help with a complicated array formula boooney Excel Worksheet Functions 7 December 14th 05 06:07 AM
complicated array boris Excel Worksheet Functions 5 March 1st 05 10:15 AM


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