• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 97
  • Last Modified:

vlookup formula to pull data between two dates

Hi Experts Using Excel 2010

i have the following array formula which works within the worksheet but not when the formula is add to another worksheet....
Array
=INDEX('Data Entry'!BF$19:BF$531,SMALL(IF('Data Entry'!$BF$19:$BF$531>=$C$1,IF('Data Entry'!$BF$19:$BF$531<=$F$1,ROW('Data Entry'!$BF$19:$BF$536)-ROW('Data Entry'!$BF$19)+1)),ROWS(C$6:C6)))

cannot see the error....
0
route217
Asked:
route217
  • 3
  • 2
1 Solution
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Make the range reference identical in the formula....
ROW('Data Entry'!$BF$19:$BF$536) should be ROW('Data Entry'!$BF$19:$BF$531)
0
 
route217Author Commented:
Supper star.....doh!!! On my part..thanks
0
 
route217Author Commented:
Posting part two..
0
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now