#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default VLOOKUP Problem

Hello. I'm trying to find out if a cell value is on another sheet on my
workbook. I'm using the VLOOKUP function

=VLOOKUP(G28,'FILE-DSPF'!H24:H27,7,0)

Column "7" in the third parameter will just return the cell value again ...
so I'm thinking if it's blank there was no match. The cell with the VLOOKUP
formula is formatted "GENERAL" ... but it's just displaying the formula, not
the result.

What am I doing wrong? Or is there a better way to do this?

Thanks for any and all help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default VLOOKUP Problem

The lookup range in your formula is just a single column and you're trying to
retrieve the 7th column in that range.

So you'd want to expand that range to be at least 7 columns, maybe...
=VLOOKUP(G28,'FILE-DSPF'!H24:N27,7,0)

=========
But if you're really trying to see if that value in G28 matches the value in
H24:H27 of sheet File-dspf, you could use:

=isnumber(match(g2,'file-dspf'!h24:h27,0))

You'll see true if there is a match, false if there is no match.


ckrogers wrote:

Hello. I'm trying to find out if a cell value is on another sheet on my
workbook. I'm using the VLOOKUP function

=VLOOKUP(G28,'FILE-DSPF'!H24:H27,7,0)

Column "7" in the third parameter will just return the cell value again ...
so I'm thinking if it's blank there was no match. The cell with the VLOOKUP
formula is formatted "GENERAL" ... but it's just displaying the formula, not
the result.

What am I doing wrong? Or is there a better way to do this?

Thanks for any and all help.


--

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
VLOOKUP Problem Terry Bennett Excel Worksheet Functions 3 January 29th 09 04:26 PM
VLookUp problem Louise Excel Worksheet Functions 2 May 22nd 06 04:27 PM
VLOOKUP Problem uplink600 Excel Worksheet Functions 2 November 24th 05 03:57 PM
VLOOKUP Problem Tosca Excel Worksheet Functions 7 July 23rd 05 10:43 PM
VLOOKUP problem Jaladino Excel Discussion (Misc queries) 1 March 2nd 05 04:02 AM


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