Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ben
 
Posts: n/a
Default Vlookup Multiple Returns #REF

Hi,

I am using the following formula and it has been working great but all of a
sudden today it stopped working and now shows #ref error or sometimes it will
give me a date of Jan 3 no matter what the date really should be. What is
wrong?

=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$16200=E$5& B$11,ROW$1:$16200)),ROW(1:1)))

The lookup value is in BDData!D4010 and the value I want is in BDData!E4010

I use the similiar formula pulling from a different worksheet with great
success:
=INDEX(Data!H:H,SMALL(IF(Data!E$1:E$16200=E$5&B$16 ,ROW($1:$16200)),ROW(1:1)))



Ben

--
Thanks,

Ben
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$16200=E$5& B$11,ROW$1:$16200)),ROW(1:1)))

You're missing an opening ( at........ ROW$1:$16200)

Is that just a typo?

Biff

"Ben" wrote in message
...
Hi,

I am using the following formula and it has been working great but all of
a
sudden today it stopped working and now shows #ref error or sometimes it
will
give me a date of Jan 3 no matter what the date really should be. What is
wrong?

=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$16200=E$5& B$11,ROW$1:$16200)),ROW(1:1)))

The lookup value is in BDData!D4010 and the value I want is in
BDData!E4010

I use the similiar formula pulling from a different worksheet with great
success:
=INDEX(Data!H:H,SMALL(IF(Data!E$1:E$16200=E$5&B$16 ,ROW($1:$16200)),ROW(1:1)))



Ben

--
Thanks,

Ben



  #3   Report Post  
Ben
 
Posts: n/a
Default

Good Catch. I fixed the typo but it still doesn't work. It used to work
great! Any other ideas?


=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$19000=E$5& B$12,ROW($1:$19000)),ROW(2:2)))


Thanks,

Ben


"Biff" wrote:

Hi!

=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$16200=E$5& B$11,ROW$1:$16200)),ROW(1:1)))

You're missing an opening ( at........ ROW$1:$16200)

Is that just a typo?

Biff

"Ben" wrote in message
...
Hi,

I am using the following formula and it has been working great but all of
a
sudden today it stopped working and now shows #ref error or sometimes it
will
give me a date of Jan 3 no matter what the date really should be. What is
wrong?

=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$16200=E$5& B$11,ROW$1:$16200)),ROW(1:1)))

The lookup value is in BDData!D4010 and the value I want is in
BDData!E4010

I use the similiar formula pulling from a different worksheet with great
success:
=INDEX(Data!H:H,SMALL(IF(Data!E$1:E$16200=E$5&B$16 ,ROW($1:$16200)),ROW(1:1)))



Ben

--
Thanks,

Ben




  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Syntax-wise, there's nothing wrong with the formula. Of course I'm assuming
you know that it's an array formula?

What version of Excel are you using? If you're using Excel 2002 (XP) or
above try using the formula auditing tools to find where the REF is coming
from.

Not much else I can think of.

Biff

"Ben" wrote in message
...
Good Catch. I fixed the typo but it still doesn't work. It used to work
great! Any other ideas?


=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$19000=E$5& B$12,ROW($1:$19000)),ROW(2:2)))


Thanks,

Ben


"Biff" wrote:

Hi!

=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$16200=E$5& B$11,ROW$1:$16200)),ROW(1:1)))

You're missing an opening ( at........ ROW$1:$16200)

Is that just a typo?

Biff

"Ben" wrote in message
...
Hi,

I am using the following formula and it has been working great but all
of
a
sudden today it stopped working and now shows #ref error or sometimes
it
will
give me a date of Jan 3 no matter what the date really should be. What
is
wrong?

=INDEX(BDData!E:E,SMALL(IF(BDData!D$1:D$16200=E$5& B$11,ROW$1:$16200)),ROW(1:1)))

The lookup value is in BDData!D4010 and the value I want is in
BDData!E4010

I use the similiar formula pulling from a different worksheet with
great
success:
=INDEX(Data!H:H,SMALL(IF(Data!E$1:E$16200=E$5&B$16 ,ROW($1:$16200)),ROW(1:1)))



Ben

--
Thanks,

Ben






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
how do I use vlookup for multiple occurrences of the same value bj Excel Worksheet Functions 0 April 27th 05 10:43 PM
VLOOKUP with duplicate returns dandigger Excel Discussion (Misc queries) 4 January 28th 05 07:13 AM
Vlookup finds a blank, but returns a zero - HELP! flummoxed Excel Discussion (Misc queries) 6 January 18th 05 03:15 PM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 10:38 AM.

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"