Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
DK1314
 
Posts: n/a
Default VLOOKUP help


We have several maintenance packages that we sell and we need to know
what we will be paid on a recurring basis.

I've created a Validation table to give me a drop down and beside it I
have placed a number of values relating to the different terms and
packages available. For example, if a customer takes a standard care
package on a three year term, I know the company will only realise
revenue for the 2nd and 3rd year so I want to enter a value for the
whole term and use LOOKUP to determine the package selected and then
the relative calculation.(3 year standard care contract value
multiplied by.6666667 will give me our achieveable revenue).

I have listed the options and the multiplying factors side by side on a
separate sheet and have named the ranges above. But when I try and
layout the VLOOKUP formula it gives me a name error.

Can anyone help?


--
DK1314
------------------------------------------------------------------------
DK1314's Profile: http://www.excelforum.com/member.php...o&userid=32223
View this thread: http://www.excelforum.com/showthread...hreadid=520495

  #2   Report Post  
Posted to microsoft.public.excel.newusers
davesexcel
 
Posts: n/a
Default VLOOKUP help


could you give us a small example of maybe 5 rows,
your range names
and of course your formula


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=520495

  #3   Report Post  
Posted to microsoft.public.excel.newusers
DK1314
 
Posts: n/a
Default VLOOKUP help


TERM[/b] [b] CALC
Std 1 Yr 0
Std 3 Yr 0.6666667
Std 5 Yr 0.8
Pmpt 1 Yr 0.7143
Pmpt 3 Yr 0.2381
Pmpt 5 Yr 0.14286
Total 1 Yr 0.5
Total 3 Yr 0.1666667
Total 5 Yr 0.1

Above are the ranges named on a separate sheet.

A B C D
1 Std 1 Value Result
2
3

In the main sheet, in A1 would be a drop down box that I want to
multiply with the associated value in the Calc column. B1 will be a
value that is populated to give a total value in C1.

I'm probably that far away with the VLOOKUP formula I don't want to
confuse matters by displaying it.

Thanks for your prompt response.


--
DK1314
------------------------------------------------------------------------
DK1314's Profile: http://www.excelforum.com/member.php...o&userid=32223
View this thread: http://www.excelforum.com/showthread...hreadid=520495

  #4   Report Post  
Posted to microsoft.public.excel.newusers
DK1314
 
Posts: n/a
Default VLOOKUP help


Sorry the post hasn't come out clearly at all


--
DK1314
------------------------------------------------------------------------
DK1314's Profile: http://www.excelforum.com/member.php...o&userid=32223
View this thread: http://www.excelforum.com/showthread...hreadid=520495

  #5   Report Post  
Posted to microsoft.public.excel.newusers
davesexcel
 
Posts: n/a
Default VLOOKUP help


ok I am not sure what this is, and I am going to assume that no cells
are merged so maybe this will help:
On one sheet (Sheet1)you have:
Column A is the list (as well as the drop down list)
Column B is a value (this is what you want to show up beside your
selection)

The next Sheet(Sheet2) you will have Cell A1 as the dropdown menu
Cell B1 will be the value that you will be multiplying to another Cell
Cell C1 will be the Product from that
I am going to assume you did the data validation properly or else it
wouldn't work
In Sheet1 highlite the total range of the two columns
goto to your top menu and select insert=names=define
type a one word name in there such as Data
Now that range is named

Now highlite the values in column A only goto insert,name,define lets
name that range:
Years

Now goto sheet2 cell A1
select data in the menu and goto validation, in the dropdown menu
select list, in the source box type this =Years

In B1 enter this formula
=Lookup(A1,Data)

There you go, now make a pick from your drop down list, you should get
your value in B1
In C1 you will have your formula =B1*'wherever

I can't stay to check you status, I have to go, I will check later
tonight to see how you have done


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=520495



  #6   Report Post  
Posted to microsoft.public.excel.newusers
DK1314
 
Posts: n/a
Default VLOOKUP help


Thanks for this, I know where I haven't explained myself properly now.

In sheet 2, A1 is the dropdown which has been achieved by Validation.

A2 will be a variable contract value. This will be manually entered
line on line.

A3 Would be the result.

So what I want to do is pick an option from the drop down, enter any
number in A2 and then have the result of A2*whatever option is picked
from A1 dsiplayed in A3.

So if we picked STD 5 Yr, we want whatever we enter in A2 to be
multiplied by 0.8.

Hope this makes sense.


--
DK1314
------------------------------------------------------------------------
DK1314's Profile: http://www.excelforum.com/member.php...o&userid=32223
View this thread: http://www.excelforum.com/showthread...hreadid=520495

  #7   Report Post  
Posted to microsoft.public.excel.newusers
davesexcel
 
Posts: n/a
Default VLOOKUP help


So what I want to do is pick an option from the drop down, enter any
number in A2 and then have the result of A2*whatever option is picked
from A1 dsiplayed in A3.

So if we picked STD 5 Yr, we want whatever we enter in A2 to be
multiplied by 0.8.
----------------------------------------------
No Problem, you can place that formula anywhere, even out of sight Say
AA1 for example then then the formula in
A3 =A2*AA1
------------------------------------------------


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=520495

  #8   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default VLOOKUP help

"DK1314" wrote
In sheet 2, A1 is the dropdown which has been achieved by Validation.
A2 will be a variable contract value. This will be manually entered
line on line. A3 would be the result.
So what I want to do is pick an option from the drop down, enter any
number in A2 and then have the result of A2*whatever option is picked
from A1 displayed in A3.
So if we picked STD 5 Yr, we want whatever we enter in A2 to be
multiplied by 0.8.


Assuming the reference packages / pricing
are listed in Sheet1's cols A and B

In Sheet2,

Put in A3:
=IF(OR(A1="",A2=""),"",VLOOKUP(A1,Sheet1!$A:$B,2,0 )*A2)

As-is, the formula in A3 above can be copied across to return
correspondingly
for other DV selections/inputs in B1:B2, C1:C2, etc

A sample construct for the above is available at:
http://cjoint.com/?dkhZjed4ed
DK1314_newusers.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #9   Report Post  
Posted to microsoft.public.excel.newusers
DK1314
 
Posts: n/a
Default VLOOKUP help


That formula works absolutely perfectly Max, thank you.

Dave thanks for your help.


--
DK1314
------------------------------------------------------------------------
DK1314's Profile: http://www.excelforum.com/member.php...o&userid=32223
View this thread: http://www.excelforum.com/showthread...hreadid=520495

  #10   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default VLOOKUP help

You're welcome !
Glad it worked for you ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"DK1314" wrote in
message ...

That formula works absolutely perfectly Max, thank you.

Dave thanks for your help.



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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
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 07:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"