Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Monk
 
Posts: n/a
Default If / Vlookup Formula Help €¦!!

Hi there..,
Im experiencing a problem with a formula I am attempting to compile
(nothing new there)

Basically I require a formula to lookup some text within a specified cell
(we shall say €˜A1) and return the given result that identically matches the
text throughout a large table (we shall say €˜B1:G2500). The formula im using
€¦..

=IF(ISNA(VLOOKUP($A$1,$B$1:$G$2500,3,FALSE))," ",VLOOKUP($A$1,$B$1:
$G$2500,3,FALSE))

€¦. is returning all the correct results by searching column B for the
specified text and in the above case is returning the result within the same
row on column D (3).
However the problem im finding is.., if column B doesnt contain the
specified text its returning a duplicate result of the nearest cell that
does contain the text (this is bad) and if I lose the appropriate €˜$ symbols
within my formula, it will happily return a completely blank row (also bad).

Is it possible to amend this formula (or provide a new one) which would
return the above results without duplicating or leaving a blank cell.
Basically it would just move on to the next cell which contains the specified
text (similar to applying a filter, which I wish not use if at all possible).

Any thoughts.. many thanks,
Monk

  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default If / Vlookup Formula Help €¦!!

Have you tried changing your optional False statement to true so the VLOOKUP
only looks for an exact match?
--
Kevin Backmann


"Monk" wrote:

Hi there..,
Im experiencing a problem with a formula I am attempting to compile
(nothing new there)

Basically I require a formula to lookup some text within a specified cell
(we shall say €˜A1) and return the given result that identically matches the
text throughout a large table (we shall say €˜B1:G2500). The formula im using
€¦..

=IF(ISNA(VLOOKUP($A$1,$B$1:$G$2500,3,FALSE))," ",VLOOKUP($A$1,$B$1:
$G$2500,3,FALSE))

€¦. is returning all the correct results by searching column B for the
specified text and in the above case is returning the result within the same
row on column D (3).
However the problem im finding is.., if column B doesnt contain the
specified text its returning a duplicate result of the nearest cell that
does contain the text (this is bad) and if I lose the appropriate €˜$ symbols
within my formula, it will happily return a completely blank row (also bad).

Is it possible to amend this formula (or provide a new one) which would
return the above results without duplicating or leaving a blank cell.
Basically it would just move on to the next cell which contains the specified
text (similar to applying a filter, which I wish not use if at all possible).

Any thoughts.. many thanks,
Monk

  #3   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten
 
Posts: n/a
Default If / Vlookup Formula Help .!!

It's the other way around, Kevin, that's what puzzles me

--
Kind regards,

Niek Otten

"Kevin B" wrote in message
...
Have you tried changing your optional False statement to true so the
VLOOKUP
only looks for an exact match?
--
Kevin Backmann


"Monk" wrote:

Hi there..,
I'm experiencing a problem with a formula I am attempting to compile
(nothing new there)

Basically I require a formula to lookup some text within a specified cell
(we shall say 'A1') and return the given result that identically matches
the
text throughout a large table (we shall say 'B1:G2500'). The formula im
using
...

=IF(ISNA(VLOOKUP($A$1,$B$1:$G$2500,3,FALSE))," ",VLOOKUP($A$1,$B$1:
$G$2500,3,FALSE))

.. is returning all the correct results by searching column B for the
specified text and in the above case is returning the result within the
same
row on column D (3).
However the problem im finding is.., if column B doesn't contain the
specified text it's returning a duplicate result of the nearest cell that
does contain the text (this is bad) and if I lose the appropriate '$'
symbols
within my formula, it will happily return a completely blank row (also
bad).

Is it possible to amend this formula (or provide a new one) which would
return the above results without duplicating or leaving a blank cell.
Basically it would just move on to the next cell which contains the
specified
text (similar to applying a filter, which I wish not use if at all
possible).

Any thoughts.. many thanks,
Monk



  #4   Report Post  
Posted to microsoft.public.excel.misc
L. Howard Kittle
 
Posts: n/a
Default If / Vlookup Formula Help .!!

Hi Monk,

I'm with Niek, looks good to me. I would look at a sample workbook if you
want to send me one.

Regards,
Howard

"Monk" wrote in message
...
Hi there..,
I'm experiencing a problem with a formula I am attempting to compile
(nothing new there)

Basically I require a formula to lookup some text within a specified cell
(we shall say 'A1') and return the given result that identically matches
the
text throughout a large table (we shall say 'B1:G2500'). The formula im
using
...

=IF(ISNA(VLOOKUP($A$1,$B$1:$G$2500,3,FALSE))," ",VLOOKUP($A$1,$B$1:
$G$2500,3,FALSE))

.. is returning all the correct results by searching column B for the
specified text and in the above case is returning the result within the
same
row on column D (3).
However the problem im finding is.., if column B doesn't contain the
specified text it's returning a duplicate result of the nearest cell that
does contain the text (this is bad) and if I lose the appropriate '$'
symbols
within my formula, it will happily return a completely blank row (also
bad).

Is it possible to amend this formula (or provide a new one) which would
return the above results without duplicating or leaving a blank cell.
Basically it would just move on to the next cell which contains the
specified
text (similar to applying a filter, which I wish not use if at all
possible).

Any thoughts.. many thanks,
Monk



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 & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 02:37 PM
VLOOKUP result is not showing up - only the formula Linda Excel Worksheet Functions 10 December 21st 05 07:37 AM
IF / VLOOKUP formula won't work until saved tawtrey(remove this )@pacificfoods.com Excel Worksheet Functions 2 August 4th 05 11:55 PM
What can I add to a vlookup formula to give me a 0 not #n/a Casper Excel Worksheet Functions 4 July 5th 05 05:32 AM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 04:35 PM


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