Lookup Help

GoBlue589

New Member
Joined
Apr 28, 2021
Messages
10
Office Version
  1. 2019
Platform
  1. Windows
Hello,

I have been working for some time on figuring out how to do a lookup.

What I am looking to do is the ability to plug a 4 digit number in cell I7 to I9 and for it to reference the range of numbers between B7:B31 and C7:C31 and for the date (in cells A7:A31) to be put into cell J7:J9.


I know I will most likely have to change the columns in B & C to make it a range over numbers.


I can explain a litle bit more if this is confusing.


Thank you in advance!
 

Attachments

  • Annotation 2021-04-28 112953.jpg
    Annotation 2021-04-28 112953.jpg
    86.6 KB · Views: 4

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hello,

I have been working for some time on figuring out how to do a lookup.

What I am looking to do is the ability to plug a 4 digit number in cell I7 to I9 and for it to reference the range of numbers between B7:B31 and C7:C31 and for the date (in cells A7:A31) to be put into cell J7:J9.


I know I will most likely have to change the columns in B & C to make it a range over numbers.


I can explain a litle bit more if this is confusing.


Thank you in advance!
 
Upvote 0
Offline Dates.xlsx
ABCDGHIJ
6MAYFirst Vin OfflineLast Vin OfflineVinDate
73-May677567906784
84-May679168066871
95-May680768227079
106-May68236838
117-May68396854
12
1310-May68556870
1411-May68716886
1512-May68876902
1613-May69036918
1714-May69196934
181
1917-May69356950
2018-May69516966
2119-May69676982
2220-May69836998
2321-May69997014
24
2524-May70157030
2625-May70317046
2726-May70477062
2827-May70637078
2928-May70797094
30
3131-May70957110
Sheet1
Cell Formulas
RangeFormula
B7B7=C4+1
C7C7=C4+F7
B26:B29,B20:B23,B14:B17,B8:B11B8=C7+1
C26:C29,C20:C23,C14:C17,C8:C11C8=C7+F7
B13,B31,B25,B19B13=C11+1
C13,C31,C25,C19C13=C11+F11



Here is a mini sheet
 
Upvote 0
Isn't what you want an index/match?

Code:
=IFERROR(INDEX(A7:A28,MATCH(I7,B7:B28,0)),"")
 
Upvote 0
Or maybe
Excel Formula:
=INDEX($A$7:$A$31,MATCH(I7,$B$7:$B$31,1))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
Glad we could help & thanks for the feedback.
One more quick question... When I copy and paste from our inventory system, it has DE900. Is there any way I could get it so that whenever I copy and paste, it will automatically delete the DE900?
 

Attachments

  • Annotation 2021-04-28 133722.jpg
    Annotation 2021-04-28 133722.jpg
    31.7 KB · Views: 1
Upvote 0

Forum statistics

Threads
1,214,942
Messages
6,122,367
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top