Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Excel 2007 lookup problem continuing ...

Hi, I posted a question last week and M Kan was helpful. However, I asked
further questions and this person has not responded. Can anyone else help
me? ..... all the previous stuff is below ...

Thanks again, M Kan. I am still very confused ... sorry! :-) I still can't
get my head around these lookup tables. Using my own cell references, this
is what I have ...

a1 Name Hours worked Hourly rate Gross Pay Less Tax
a2 Adam Green 40 14.6 584
a3 Kelly Kong 38 10.45 397.1
a4 Harry Schmidt 31 10.45 323.95
a5 Lily Chan 38 17.5 665
a6 John Van Don 40 23.5 940
a7 Olive Bliss 40 37.5 1500

THE LOOKUP FUNCTION NEEDS TO GO IN THE GROSS PAY, IE CELL D2


a12 Pay Band Withold Amt
a13 0 0 0
a14 95 20% 0
a15 346 25% 63
a16 481 40% 96
a17 673 47% 183
a18 962 48% 308

I need to use a lookup function to calculate the tax. Please could you
assist me again, using my own cell references. Your assistance is very much
appreciated. By the way, the "Notify me of replies" does not appear to be
working, as I was hoping for a response ... luckily I checked the site again
.... there you were! Thanks. Trish

--
Trish


"M Kan" wrote:

This piece looks up the base amount (e.g., the $63
=VLOOKUP(K22,Pay_table,3)

+(K22-J17)*VLOOKUP(K22,Pay_table,2)

This piece takes the difference between the actual amount and the floor
(e.g., 73-63 =10 and then multiplies the difference by the withholding
percentage (e.g., 25%)

--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Trish" wrote:

Thanks M Kan. That helps, but how do I factor in the additional xx cents per
$ over, ie the second half of the lines? Thanks again :-)
--
Trish


"M Kan" wrote:

I set up a table like this:

Pay Band Withold Amt
0 0 0
95 20% 0
346 25% 63
481 40% 96
673 47% 183
962 48% 308

Pay Band is cell J14. The formula looks like this:

=VLOOKUP(K22,Pay_table,3)+(K22-J17)*VLOOKUP(K22,Pay_table,2)
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Trish" wrote:

Hi, I am working on a spreadsheet to do with payroll and would like to know
how I set up the look up function to cater for the following:

If pay is between
$0 and $95 then deduct $0 plus $0
$96 and $345 then $0 plus 20 cents for every dollar over $96
$346 and $480 then $63 plus 25 cents for every dollar over $346
$481 and $672 then $96 plus 40 cents for every dollar over $481
$673 and $961 then $183 plus 47 cents for every dollar over $673
$962 and over then $308 plus 48 cents for every dollar over $96

I tried to do a lookup function along the following lines, but got myself in
a mess, plus I don't know how to calculate the latter "plus" part.

<=95 $0
95<=345 $0 + 20 cents for every dollar over $96
345<=480 $63 + 25 cents for every dollar over $346
480<=672 $96 + 40 cents for every dollar over $481
672<=961 $183 + 47 cents for every dollar over $673
962 $308 + 20 cents for every dollar over $962

Sorry to ask what is probably quite obvious to most!

I look forward to a response. Many thanks. :-)

--
Trish

Was this post helpful to you?


--
Trish
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Excel 2007 lookup problem continuing ...

I had to look back at your previous post to check your tax rules, but
I think this formula covers it - put it in E2:

=VLOOKUP(D2,A$13:C$18,3)+VLOOKUP(D2,A$13:C$18,2)*( D2-VLOOKUP(D2,A$13:C
$18,1))

and then copy down into E3:E7.

Hope this helps.

Pete

On Jul 25, 6:45*am, Trish wrote:
Hi, I posted a question last week and M Kan was helpful. However, I asked
further questions and this person has not responded. *Can anyone else help
me? ..... *all the previous stuff is below ...

Thanks again, M Kan. *I am still very confused ... sorry! :-) *I still can't
get my head around these lookup tables. *Using my own cell references, this
is what I have ...

a1 Name Hours worked * *Hourly rate * * Gross Pay * * * Less Tax
a2 Adam Green * 40 * * *14.6 * *584 * *
a3 Kelly Kong * * * * * * 38 * *10.45 * 397.1 *
a4 Harry Schmidt * * * *31 * * *10.45 * 323.95 *
a5 Lily Chan * *38 * * *17.5 * *665 * *
a6 John Van Don 40 * * *23.5 * *940 * *
a7 Olive Bliss *40 * * *37.5 * *1500 * *

THE LOOKUP FUNCTION NEEDS TO GO IN THE GROSS PAY, IE CELL D2 * * * * * * * * * * * * * *

a12 * * Pay Band * * * *Withold Amt * * * * * *
a13 * * 0 * * * 0 * * * 0 * * * * * * *
a14 * * 95 * * *20% * * 0 * * * * * * *
a15 * * 346 * * 25% * * 63 * * * * * * *
a16 * * 481 * * 40% * * 96 * * * * * * *
a17 * * 673 * * 47% * * 183 * * * * * *
a18 * * 962 * * 48% * * 308 * * * * * *

I need to use a lookup function to calculate the tax. *Please could you
assist me again, using my own cell references. * Your assistance is very much
appreciated. *By the way, the "Notify me of replies" does not appear to be
working, as I was hoping for a response ... luckily I checked the site again
... there you were! *Thanks. *Trish

--
Trish



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default Excel 2007 lookup problem continuing ...

G'day trish

With some help from Mike H, I managed to get a working example of something
that will put you in the right direction.

If you don't feel comfortable posting your e-mail address here, drop me a
line at:



I will send you the file for you to play with.

HTH
Mark.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Excel 2007 lookup problem continuing ...

Dear Pete_UK and NoodNutt - thank you both so much for your help. It is most
appreciated.
--
Trish


"Trish" wrote:

Hi, I posted a question last week and M Kan was helpful. However, I asked
further questions and this person has not responded. Can anyone else help
me? ..... all the previous stuff is below ...

Thanks again, M Kan. I am still very confused ... sorry! :-) I still can't
get my head around these lookup tables. Using my own cell references, this
is what I have ...

a1 Name Hours worked Hourly rate Gross Pay Less Tax
a2 Adam Green 40 14.6 584
a3 Kelly Kong 38 10.45 397.1
a4 Harry Schmidt 31 10.45 323.95
a5 Lily Chan 38 17.5 665
a6 John Van Don 40 23.5 940
a7 Olive Bliss 40 37.5 1500

THE LOOKUP FUNCTION NEEDS TO GO IN THE GROSS PAY, IE CELL D2


a12 Pay Band Withold Amt
a13 0 0 0
a14 95 20% 0
a15 346 25% 63
a16 481 40% 96
a17 673 47% 183
a18 962 48% 308

I need to use a lookup function to calculate the tax. Please could you
assist me again, using my own cell references. Your assistance is very much
appreciated. By the way, the "Notify me of replies" does not appear to be
working, as I was hoping for a response ... luckily I checked the site again
... there you were! Thanks. Trish

--
Trish


"M Kan" wrote:

This piece looks up the base amount (e.g., the $63
=VLOOKUP(K22,Pay_table,3)

+(K22-J17)*VLOOKUP(K22,Pay_table,2)

This piece takes the difference between the actual amount and the floor
(e.g., 73-63 =10 and then multiplies the difference by the withholding
percentage (e.g., 25%)

--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Trish" wrote:

Thanks M Kan. That helps, but how do I factor in the additional xx cents per
$ over, ie the second half of the lines? Thanks again :-)
--
Trish


"M Kan" wrote:

I set up a table like this:

Pay Band Withold Amt
0 0 0
95 20% 0
346 25% 63
481 40% 96
673 47% 183
962 48% 308

Pay Band is cell J14. The formula looks like this:

=VLOOKUP(K22,Pay_table,3)+(K22-J17)*VLOOKUP(K22,Pay_table,2)
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Trish" wrote:

Hi, I am working on a spreadsheet to do with payroll and would like to know
how I set up the look up function to cater for the following:

If pay is between
$0 and $95 then deduct $0 plus $0
$96 and $345 then $0 plus 20 cents for every dollar over $96
$346 and $480 then $63 plus 25 cents for every dollar over $346
$481 and $672 then $96 plus 40 cents for every dollar over $481
$673 and $961 then $183 plus 47 cents for every dollar over $673
$962 and over then $308 plus 48 cents for every dollar over $96

I tried to do a lookup function along the following lines, but got myself in
a mess, plus I don't know how to calculate the latter "plus" part.

<=95 $0
95<=345 $0 + 20 cents for every dollar over $96
345<=480 $63 + 25 cents for every dollar over $346
480<=672 $96 + 40 cents for every dollar over $481
672<=961 $183 + 47 cents for every dollar over $673
962 $308 + 20 cents for every dollar over $962

Sorry to ask what is probably quite obvious to most!

I look forward to a response. Many thanks. :-)

--
Trish

Was this post helpful to you?


--
Trish

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
Excel 2007 Lookup Trish Excel Worksheet Functions 4 July 23rd 08 06:29 AM
Excel 2007 LOOKUP Problem? robertbjr Excel Worksheet Functions 3 March 18th 08 06:32 PM
Excel 2007 Bug or other problem Kevin Lutz Excel Discussion (Misc queries) 0 July 17th 07 04:08 PM
Excel training from Rockhurst University Continuing Ed. for free [email protected] Excel Discussion (Misc queries) 0 April 19th 07 09:45 PM
Excel 2007 VBA problem teepee Excel Discussion (Misc queries) 7 March 31st 07 10:56 AM


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