Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default HELP ON THE VLOOK UP FUNCTION FOR MULTIPLE VALUES.

This is the if then statement that I built for my project.

If(a3="2.5",Vlookup(d5,web_25,Match(R2,headers),0, false)

1. How many of this statement that I can build ?

2. In doing this, I have limited the vlookup of the value of "2.5" for cell
a3 . I would like to be able to use cell a3 for multiple lookup values (may
be link/equal to the value defined from another table/drop down menu).
Currently, anytime I changed the value in cell a3 then I need to modify the
value in the if then statement for cell a3. This is very inefficient.

Any suggestions on how I could achieve this flexibility?

My email address is .

Thanks in advance!

John


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default HELP ON THE VLOOK UP FUNCTION FOR MULTIPLE VALUES.

I'm not sure what you're doing, but your =vlookup() has too many arguments (0 or
false--not both).

But you can use if statements within the =vlookup(). And you can use
=indirect() within that =vlookup().

And you may want to be careful with 2.5. If your data is really numeric (not
text), you don't want to use the ""s.

If you were changing the range to lookup, you could use something like:
=vlookup(d5,indirect(if(a3=2.5,web_25,someotherran ge)),match(...),0)

But I think you'll want to give more details.

John wrote:

This is the if then statement that I built for my project.

If(a3="2.5",Vlookup(d5,web_25,Match(R2,headers),0, false)

1. How many of this statement that I can build ?

2. In doing this, I have limited the vlookup of the value of "2.5" for cell
a3 . I would like to be able to use cell a3 for multiple lookup values (may
be link/equal to the value defined from another table/drop down menu).
Currently, anytime I changed the value in cell a3 then I need to modify the
value in the if then statement for cell a3. This is very inefficient.

Any suggestions on how I could achieve this flexibility?

My email address is .

Thanks in advance!

John


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default HELP ON THE VLOOK UP FUNCTION FOR MULTIPLE VALUES.

For additional help with VLOOKUP combined with MATCH see
http://www.mvps.org/dmcritchie/excel/vlookup.htm#match
Looking up data in tables, Chip Pearson
http://www.cpearson.com/excel/lookups.htm
Excel -- Worksheet Functions -- INDEX / MATCH, Debra Dalgleish
http://www.contextures.com/xlFunctions03.html
---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Dave Peterson" wrote in message ...
I'm not sure what you're doing, but your =vlookup() has too many arguments (0 or
false--not both).

But you can use if statements within the =vlookup(). And you can use
=indirect() within that =vlookup().

And you may want to be careful with 2.5. If your data is really numeric (not
text), you don't want to use the ""s.

If you were changing the range to lookup, you could use something like:
=vlookup(d5,indirect(if(a3=2.5,web_25,someotherran ge)),match(...),0)

But I think you'll want to give more details.

John wrote:

This is the if then statement that I built for my project.

If(a3="2.5",Vlookup(d5,web_25,Match(R2,headers),0, false)

1. How many of this statement that I can build ?

2. In doing this, I have limited the vlookup of the value of "2.5" for cell
a3 . I would like to be able to use cell a3 for multiple lookup values (may
be link/equal to the value defined from another table/drop down menu).
Currently, anytime I changed the value in cell a3 then I need to modify the
value in the if then statement for cell a3. This is very inefficient.

Any suggestions on how I could achieve this flexibility?

My email address is .

Thanks in advance!

John


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default HELP ON THE VLOOK UP FUNCTION FOR MULTIPLE VALUES.

Hi Dave,

I tried to send you the file that I am currently working on with additional
information. The email that I got from this discussion group is not valid.

Is there an email address that I can send you the file to you?

Thanks

John

"Dave Peterson" wrote:

I'm not sure what you're doing, but your =vlookup() has too many arguments (0 or
false--not both).

But you can use if statements within the =vlookup(). And you can use
=indirect() within that =vlookup().

And you may want to be careful with 2.5. If your data is really numeric (not
text), you don't want to use the ""s.

If you were changing the range to lookup, you could use something like:
=vlookup(d5,indirect(if(a3=2.5,web_25,someotherran ge)),match(...),0)

But I think you'll want to give more details.

John wrote:

This is the if then statement that I built for my project.

If(a3="2.5",Vlookup(d5,web_25,Match(R2,headers),0, false)

1. How many of this statement that I can build ?

2. In doing this, I have limited the vlookup of the value of "2.5" for cell
a3 . I would like to be able to use cell a3 for multiple lookup values (may
be link/equal to the value defined from another table/drop down menu).
Currently, anytime I changed the value in cell a3 then I need to modify the
value in the if then statement for cell a3. This is very inefficient.

Any suggestions on how I could achieve this flexibility?

My email address is .

Thanks in advance!

John


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default HELP ON THE VLOOK UP FUNCTION FOR MULTIPLE VALUES.

Please keep the discussion in the newsgroup.

There'll be lots more people who will read your post.

John wrote:

Hi Dave,

I tried to send you the file that I am currently working on with additional
information. The email that I got from this discussion group is not valid.

Is there an email address that I can send you the file to you?

Thanks

John

"Dave Peterson" wrote:

I'm not sure what you're doing, but your =vlookup() has too many arguments (0 or
false--not both).

But you can use if statements within the =vlookup(). And you can use
=indirect() within that =vlookup().

And you may want to be careful with 2.5. If your data is really numeric (not
text), you don't want to use the ""s.

If you were changing the range to lookup, you could use something like:
=vlookup(d5,indirect(if(a3=2.5,web_25,someotherran ge)),match(...),0)

But I think you'll want to give more details.

John wrote:

This is the if then statement that I built for my project.

If(a3="2.5",Vlookup(d5,web_25,Match(R2,headers),0, false)

1. How many of this statement that I can build ?

2. In doing this, I have limited the vlookup of the value of "2.5" for cell
a3 . I would like to be able to use cell a3 for multiple lookup values (may
be link/equal to the value defined from another table/drop down menu).
Currently, anytime I changed the value in cell a3 then I need to modify the
value in the if then statement for cell a3. This is very inefficient.

Any suggestions on how I could achieve this flexibility?

My email address is .

Thanks in advance!

John


--

Dave Peterson


--

Dave Peterson
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
Return Matched Numeric Values across Rows Sam via OfficeKB.com Excel Worksheet Functions 2 January 2nd 07 11:03 PM
Lookup Function Referencing cells, not text values Justin Excel Worksheet Functions 3 November 6th 06 07:30 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM


All times are GMT +1. The time now is 11:15 PM.

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"