Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Vlookup from a formula field

Hello,

I would like to ask for help. Am I able to vlookup from a field? Here is
what I'm doing:

- on sheet two I have a lookup field (Column 1 is the percentage, column 2
is the amount paid if that percentage is reached)

- in Sheet 1 I have a quota listed in A1; the actual amount reached in A2,
and the percent to quota in A3 (A2/A1)

In A4 I would like to have the lookup return the paid out amount based on
the percentage shown in A3, however I am receiving a #N/A.

The only thing I can think of is that I cannot use a vlookup for this type
of calculation.

Any suggestions on how I may be able to complete this task?

Thanks
Jim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup from a formula field

Your table needs to be sorted, and in your VLOOKUP formula you need to
omit the 4th parameter (or set it to TRUE).

It is unlikely that your calculated percentage would exactly equal the
percentages in your table.

If you are still stuck, post examples of your formula and your table.

Hope this helps.

Pete

On Dec 8, 2:28*pm, Jim wrote:
Hello,

I would like to ask for help. *Am I able to vlookup from a field? *Here is
what I'm doing:

- on sheet two I have a lookup field (Column 1 is the percentage, column 2
is the amount paid if that percentage is reached)

- in Sheet 1 I have a quota listed in A1; the actual amount reached in A2,
and the percent to quota in A3 (A2/A1)

In A4 I would like to have the lookup return the paid out amount based on
the percentage shown in A3, however I am receiving a #N/A.

The only thing I can think of is that I cannot use a vlookup for this type
of calculation.

Any suggestions on how I may be able to complete this task?

Thanks
Jim


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Vlookup from a formula field

Hi,
try

=VLOOKUP(C1,Sheet2!A:B,2,FALSE)

but I have some questions what if you have the same % more than once,
vlookup will bring the first amount it found,
is it possible to have same % with dif amounts ?

"Jim" wrote:

Hello,

I would like to ask for help. Am I able to vlookup from a field? Here is
what I'm doing:

- on sheet two I have a lookup field (Column 1 is the percentage, column 2
is the amount paid if that percentage is reached)

- in Sheet 1 I have a quota listed in A1; the actual amount reached in A2,
and the percent to quota in A3 (A2/A1)

In A4 I would like to have the lookup return the paid out amount based on
the percentage shown in A3, however I am receiving a #N/A.

The only thing I can think of is that I cannot use a vlookup for this type
of calculation.

Any suggestions on how I may be able to complete this task?

Thanks
Jim

  #4   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Vlookup from a formula field

Eduardo,

Thanks for the help. The formula you provided I have tried, it is the one
returning the error. Any other suggestions about how to make this vlookup
work?

Your questions, the same percentage will not occur twice.

Thanks
Jim



"Eduardo" wrote:

Hi,
try

=VLOOKUP(C1,Sheet2!A:B,2,FALSE)

but I have some questions what if you have the same % more than once,
vlookup will bring the first amount it found,
is it possible to have same % with dif amounts ?

"Jim" wrote:

Hello,

I would like to ask for help. Am I able to vlookup from a field? Here is
what I'm doing:

- on sheet two I have a lookup field (Column 1 is the percentage, column 2
is the amount paid if that percentage is reached)

- in Sheet 1 I have a quota listed in A1; the actual amount reached in A2,
and the percent to quota in A3 (A2/A1)

In A4 I would like to have the lookup return the paid out amount based on
the percentage shown in A3, however I am receiving a #N/A.

The only thing I can think of is that I cannot use a vlookup for this type
of calculation.

Any suggestions on how I may be able to complete this task?

Thanks
Jim

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Vlookup from a formula field

Hi Jim,
Is the % in sheet2 calculated or manually entered, or come from a database.
Check if there is not any blank space at the beginning, you can use this
formula to remove any blank space and then copy as value on top

=trim(a1)



"Jim" wrote:

Eduardo,

Thanks for the help. The formula you provided I have tried, it is the one
returning the error. Any other suggestions about how to make this vlookup
work?

Your questions, the same percentage will not occur twice.

Thanks
Jim



"Eduardo" wrote:

Hi,
try

=VLOOKUP(C1,Sheet2!A:B,2,FALSE)

but I have some questions what if you have the same % more than once,
vlookup will bring the first amount it found,
is it possible to have same % with dif amounts ?

"Jim" wrote:

Hello,

I would like to ask for help. Am I able to vlookup from a field? Here is
what I'm doing:

- on sheet two I have a lookup field (Column 1 is the percentage, column 2
is the amount paid if that percentage is reached)

- in Sheet 1 I have a quota listed in A1; the actual amount reached in A2,
and the percent to quota in A3 (A2/A1)

In A4 I would like to have the lookup return the paid out amount based on
the percentage shown in A3, however I am receiving a #N/A.

The only thing I can think of is that I cannot use a vlookup for this type
of calculation.

Any suggestions on how I may be able to complete this task?

Thanks
Jim



  #6   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Vlookup from a formula field

Eduardo,

Sheet Two is manually entered.

Sheet one is calculated.

I did confirm there are no blanks.

I can't help but think I'm soing something wrong. Any other thoughts?

Jim

"Eduardo" wrote:

Hi Jim,
Is the % in sheet2 calculated or manually entered, or come from a database.
Check if there is not any blank space at the beginning, you can use this
formula to remove any blank space and then copy as value on top

=trim(a1)



"Jim" wrote:

Eduardo,

Thanks for the help. The formula you provided I have tried, it is the one
returning the error. Any other suggestions about how to make this vlookup
work?

Your questions, the same percentage will not occur twice.

Thanks
Jim



"Eduardo" wrote:

Hi,
try

=VLOOKUP(C1,Sheet2!A:B,2,FALSE)

but I have some questions what if you have the same % more than once,
vlookup will bring the first amount it found,
is it possible to have same % with dif amounts ?

"Jim" wrote:

Hello,

I would like to ask for help. Am I able to vlookup from a field? Here is
what I'm doing:

- on sheet two I have a lookup field (Column 1 is the percentage, column 2
is the amount paid if that percentage is reached)

- in Sheet 1 I have a quota listed in A1; the actual amount reached in A2,
and the percent to quota in A3 (A2/A1)

In A4 I would like to have the lookup return the paid out amount based on
the percentage shown in A3, however I am receiving a #N/A.

The only thing I can think of is that I cannot use a vlookup for this type
of calculation.

Any suggestions on how I may be able to complete this task?

Thanks
Jim

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Vlookup from a formula field

Hi,
I test the formula and it's working for me, for example 2 % are you entering
it as 0.02

"Jim" wrote:

Eduardo,

Sheet Two is manually entered.

Sheet one is calculated.

I did confirm there are no blanks.

I can't help but think I'm soing something wrong. Any other thoughts?

Jim

"Eduardo" wrote:

Hi Jim,
Is the % in sheet2 calculated or manually entered, or come from a database.
Check if there is not any blank space at the beginning, you can use this
formula to remove any blank space and then copy as value on top

=trim(a1)



"Jim" wrote:

Eduardo,

Thanks for the help. The formula you provided I have tried, it is the one
returning the error. Any other suggestions about how to make this vlookup
work?

Your questions, the same percentage will not occur twice.

Thanks
Jim



"Eduardo" wrote:

Hi,
try

=VLOOKUP(C1,Sheet2!A:B,2,FALSE)

but I have some questions what if you have the same % more than once,
vlookup will bring the first amount it found,
is it possible to have same % with dif amounts ?

"Jim" wrote:

Hello,

I would like to ask for help. Am I able to vlookup from a field? Here is
what I'm doing:

- on sheet two I have a lookup field (Column 1 is the percentage, column 2
is the amount paid if that percentage is reached)

- in Sheet 1 I have a quota listed in A1; the actual amount reached in A2,
and the percent to quota in A3 (A2/A1)

In A4 I would like to have the lookup return the paid out amount based on
the percentage shown in A3, however I am receiving a #N/A.

The only thing I can think of is that I cannot use a vlookup for this type
of calculation.

Any suggestions on how I may be able to complete this task?

Thanks
Jim

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 last character of 102 char field splat Excel Worksheet Functions 3 January 30th 07 01:47 AM
vlookup and a function field input Patrick Excel Worksheet Functions 2 April 27th 06 04:38 PM
create formula. 1 field constant and another field varies by inpu. telnettech Setting up and Configuration of Excel 2 February 2nd 06 11:09 PM
Vlookup not recognizing field goeppngr Excel Worksheet Functions 3 January 27th 06 09:15 PM
VLookup accesses half the text in a field? CIDERIE Excel Worksheet Functions 1 November 9th 04 05:04 PM


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