Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default VLOOKUP to Display adjacent cell

Excel Wizzes,

How do I get VLOOKUP to display the value of a cell that is adjacent to
the cell that has the result that i am vlooking for? (riiiight, I don't
think anyone knows what I mean...)

What I mean is: here's my vlookup formula
=IF(VLOOKUP(A5;$O$1:$O$202;1)=A5;"OK";"NOK")

Where it displays OK if it finds the content of A5 in the O column I
want it to display the cell next to that cell, on the same row in the
next column. So if it finds A5 in O20 I want the formula to display P20
instead of OK.

Anybody any experience or tips how to do this?

Thx
Alex

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default VLOOKUP to Display adjacent cell

=IF(ISERROR(VLOOKUP(A3,$O$1:$P$202,2,FALSE)),"NOK" ,VLOOKUP(A3,$O$1:$P$202,2,FALSE))

Regards,
Stefi

€˛alex genadeloos€¯ ezt Ć*rta:

Excel Wizzes,

How do I get VLOOKUP to display the value of a cell that is adjacent to
the cell that has the result that i am vlooking for? (riiiight, I don't
think anyone knows what I mean...)

What I mean is: here's my vlookup formula
=IF(VLOOKUP(A5;$O$1:$O$202;1)=A5;"OK";"NOK")

Where it displays OK if it finds the content of A5 in the O column I
want it to display the cell next to that cell, on the same row in the
next column. So if it finds A5 in O20 I want the formula to display P20
instead of OK.

Anybody any experience or tips how to do this?

Thx
Alex


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default VLOOKUP to Display adjacent cell

You could Expand your range to be $O$1:$P$202 and use:
=IF(VLOOKUP(A5;$O$1:$P$202;1)=A5; VLOOKUP(A5;$O$1:$P$202;2);"NOK")
HTH

"alex genadeloos" wrote in message
oups.com:

Excel Wizzes,

How do I get VLOOKUP to display the value of a cell that is adjacent to
the cell that has the result that i am vlooking for? (riiiight, I don't
think anyone knows what I mean...)

What I mean is: here's my vlookup formula
=IF(VLOOKUP(A5;$O$1:$O$202;1)=A5;"OK";"NOK")

Where it displays OK if it finds the content of A5 in the O column I
want it to display the cell next to that cell, on the same row in the
next column. So if it finds A5 in O20 I want the formula to display P20
instead of OK.

Anybody any experience or tips how to do this?

Thx
Alex


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default VLOOKUP to Display adjacent cell

JMay

Works like a charm!

Thx.

Alex

JMay wrote:
You could Expand your range to be $O$1:$P$202 and use:
=IF(VLOOKUP(A5;$O$1:$P$202;1)=A5; VLOOKUP(A5;$O$1:$P$202;2);"NOK")
HTH


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default VLOOKUP to Display adjacent cell

Stefi,

A few comma's for semicolon's aside this works super as wel!

thx

Alex

Stefi wrote:
=IF(ISERROR(VLOOKUP(A3,$O$1:$P$202,2,FALSE)),"NOK" ,VLOOKUP(A3,$O$1:$P$202,2,FALSE))

Regards,
Stefi

,,alex genadeloos" ezt ķrta:




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default VLOOKUP to Display adjacent cell

You are welcome! Thanks for the feedback!
As far as commas vs semicolons are concerned: common language of this forum
is English including Excel language version (except explicitely stated
otherwise). English uses commas as delimiters therefore all formulae posted
should use (and actually use) commas! I also use semicolons in my language
version but I always translate formulae to English version before posting.

Stefi

€˛alex genadeloos€¯ ezt Ć*rta:

Stefi,

A few comma's for semicolon's aside this works super as wel!

thx

Alex

Stefi wrote:
=IF(ISERROR(VLOOKUP(A3,$O$1:$P$202,2,FALSE)),"NOK" ,VLOOKUP(A3,$O$1:$P$202,2,FALSE))

Regards,
Stefi

,,alex genadeloos" ezt Ć*rta:



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default VLOOKUP to Display adjacent cell

Thanks for the feedback

"alex genadeloos" wrote in message
oups.com:

JMay

Works like a charm!

Thx.

Alex

JMay wrote:
You could Expand your range to be $O$1:$P$202 and use:
=IF(VLOOKUP(A5;$O$1:$P$202;1)=A5; VLOOKUP(A5;$O$1:$P$202;2);"NOK")
HTH


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
display the cell value in the next 33rd cell bmnjna2019 Excel Worksheet Functions 4 September 25th 06 05:23 PM
how do i use 'if' command to display answer in different cell? Fred Far Excel Discussion (Misc queries) 4 March 10th 06 01:27 PM
Display adjacent cell as result... prspiderman Excel Discussion (Misc queries) 3 February 24th 06 05:39 PM
Vlookup for data contained in a cell Garbunkel Excel Worksheet Functions 5 September 14th 05 06:47 PM
VLOOKUP using a cell calculated with NOW returns Error Chris Berding Excel Worksheet Functions 2 August 21st 05 03:22 AM


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