#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vlookup

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default Vlookup

Can you pass your 'Diagnostics technician'!G12 or 'Diagnostics
technician'!E12 to your VLOOKUP as INT(G12+0.99) or INT(E12+0.99)

"Derek M" wrote:

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup

Hi,

Try this

=INDEX(P8:P12,IF(ISNUMBER(MATCH(G12,O8:O12,0)),MAT CH(G12,O8:O12,0),1+MATCH(G12,O8:O12,1)))+INDEX(K7: K13,IF(ISNUMBER(MATCH(E12,J7:J13,0)),MATCH(E12,J7: J13,0),1+MATCH(E12,J7:J13,1)))

Mike


"Derek M" wrote:

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Vlookup

Hi Dennis

Thanks for the reply, did you mean change the formula in the cell to
INT(G12+0.99)?

Im just starting to get the hang of excel but not quite an expert yet, if
you could explain your answer i would be most grateful

Thanks - Derek

"Dennis" wrote:

Can you pass your 'Diagnostics technician'!G12 or 'Diagnostics
technician'!E12 to your VLOOKUP as INT(G12+0.99) or INT(E12+0.99)

"Derek M" wrote:

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Vlookup

Hi Mike

Thanks for the reply, tried it and adjusted the cells to match the
'Diagnostics technician' but it didnt work unfortunately

:(

"Mike H" wrote:

Hi,

Try this

=INDEX(P8:P12,IF(ISNUMBER(MATCH(G12,O8:O12,0)),MAT CH(G12,O8:O12,0),1+MATCH(G12,O8:O12,1)))+INDEX(K7: K13,IF(ISNUMBER(MATCH(E12,J7:J13,0)),MATCH(E12,J7: J13,0),1+MATCH(E12,J7:J13,1)))

Mike


"Derek M" wrote:

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Vlookup

Oooh now wait, i put it in the same spreadsheet as 'Diagnostics technician'
and it works, ill copy it where it should go, thanks Mike :)

"Derek M" wrote:

Hi Mike

Thanks for the reply, tried it and adjusted the cells to match the
'Diagnostics technician' but it didnt work unfortunately

:(

"Mike H" wrote:

Hi,

Try this

=INDEX(P8:P12,IF(ISNUMBER(MATCH(G12,O8:O12,0)),MAT CH(G12,O8:O12,0),1+MATCH(G12,O8:O12,1)))+INDEX(K7: K13,IF(ISNUMBER(MATCH(E12,J7:J13,0)),MATCH(E12,J7: J13,0),1+MATCH(E12,J7:J13,1)))

Mike


"Derek M" wrote:

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default Vlookup

I was assuming that the values in 'Diagnostics technician'!G12 or
'Diagnostics technician'!E12 or both are 4.03 in which case your VLOOKUP
should be
=VLOOKUP(INT('Diagnostics technician'!G12+0.99),'Diagnostics
technician'!O8:P12,2,TRUE) etc...

"Derek M" wrote:

Hi Dennis

Thanks for the reply, did you mean change the formula in the cell to
INT(G12+0.99)?

Im just starting to get the hang of excel but not quite an expert yet, if
you could explain your answer i would be most grateful

Thanks - Derek

"Dennis" wrote:

Can you pass your 'Diagnostics technician'!G12 or 'Diagnostics
technician'!E12 to your VLOOKUP as INT(G12+0.99) or INT(E12+0.99)

"Derek M" wrote:

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup

Often a good idea to put things where they should be!! I'm pleased that
worked and thanks for the feedback.

Mike

"Derek M" wrote:

Oooh now wait, i put it in the same spreadsheet as 'Diagnostics technician'
and it works, ill copy it where it should go, thanks Mike :)

"Derek M" wrote:

Hi Mike

Thanks for the reply, tried it and adjusted the cells to match the
'Diagnostics technician' but it didnt work unfortunately

:(

"Mike H" wrote:

Hi,

Try this

=INDEX(P8:P12,IF(ISNUMBER(MATCH(G12,O8:O12,0)),MAT CH(G12,O8:O12,0),1+MATCH(G12,O8:O12,1)))+INDEX(K7: K13,IF(ISNUMBER(MATCH(E12,J7:J13,0)),MATCH(E12,J7: J13,0),1+MATCH(E12,J7:J13,1)))

Mike


"Derek M" wrote:

Hi all

I have a vlookup table shown here

3.0% £375.00
4.0% £250.00
5.0% £120.00
6.0% £90.00
7.0% £60.00

My calculation is

=VLOOKUP('Diagnostics technician'!G12,'Diagnostics
technician'!O8:P12,2,TRUE)+VLOOKUP('Diagnostics technician'!E12,'Diagnostics
technician'!J7:K13,2,TRUE)

Unfortunately i need the cell to display £120 if the percentage is over 4%,
the percentage at the moment is 4.03% and is displaying £250

I hope that makes sense, can anyone help?

Thank you all in advance

Derek

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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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