Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# Locate a number in a named range and return date in the adjoining cell.

Posted on 2014-03-28
Medium Priority
274 Views
I need to find out when a "filing_batch" was created.
In the attachment, I need to insert a date in column F based on the filing_batch number in column E.  The table that contains the anser is on worksheet2.

So, for rows 2 through rows 323, the date that should be returned is 2/1/2014, etc.
Claims-Summary-by-Billing-Specia.xls
0
Question by:klitton7
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 39

Expert Comment

ID: 39962118
If you can sort your worksheet2 on column A, you can use this:

=VLOOKUP(E2,Worksheet2!\$A\$2:\$C\$31,3)
0

LVL 1

Expert Comment

ID: 39962217
Is this what you are looking for?
Claims-Summary-by-Billing-Specia.xls
0

Author Comment

ID: 39962321
I didn't word my question properly it seems...

Every row on Worksheet1 that has data should have a date in column F.  There should be dates all the way through row 6655

So worksheet1,  F22 should return date 2/1/2014 because the filing_batch number 39009 falls inbetween the range of numbers A2-B2 on Worksheet2.

Actually 2/1/2014 would post all the way through row 323.  Then 2/3/2014 will post from row 324 through 1389, etc.
0

LVL 50

Accepted Solution

barry houdini earned 2000 total points
ID: 39962670
Try this formula in F2 copied down

=LOOKUP(2,1/(E2>=Worksheet2!A\$2:A\$31)/(E2<=Worksheet2!B\$2:B\$31),Worksheet2!C\$2:C\$31)

see attached

regards, barry
Claims-Summary-by-Billing-Specia.xls
0

Author Closing Comment

ID: 39962707
Perfect!  Thanks Barry
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month11 days, 14 hours left to enroll