Lookup Functions

Steves73

Board Regular
Joined
Oct 19, 2016
Messages
173
Office Version
  1. 365
Platform
  1. Windows
Hi All

Im have a brain freeze on excel, been looking at this for 2 days now

For the life of me I can’t find a function that looks columns B,D,F and H

Matches the date and auto populates the corresponding date in the calendar Columns K to AO with data from Column C,E,G,and I

Example is

LV-102 – Function looks at the date in Column B, copies data in C5, paste to AD4
LV-106 - Function looks at the date in Column B, copies data in C9 pastes it to X4
LV-106 - Function looks at the date in Column H, copies data in I9 pastes to K8

And so on

1678598987767.png


Please help
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,
Have you tested
Excel Formula:
=INDEX(A1:J50,MATCH("LV-102",$A:$A,0),MATCH("5000",$3:$3,0))
 
Upvote 0
Hi,
Have you tested
Excel Formula:
=INDEX(A1:J50,MATCH("LV-102",$A:$A,0),MATCH("5000",$3:$3,0))
Hi James

Yes, Index match (That I can see) will only work if selecting LV-102. I need a function that looks at the entire range and any LV number with a date in Column B,D,F and H then copies the adjacent data (LV-106-5000 etc into the calendar. So don't think Index Match will work

Thanks
 
Upvote 0
Hi again,
You could have LV-102 replaced by LEFT(AD5,6)
and 5000 replaced by RIGHT(AD5,4)
 
Upvote 0
What Excel version are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also, since we cannot copy from an image to test, a much better idea for sample data (and expected results) is XL2BB
 
Upvote 0
Re,

To be precise for the second portion extracted from the right, you should test
Excel Formula:
RIGHT(AD5,LEN(AD5)-FIND(CHAR(1),SUBSTITUTE(AD5,"-",CHAR(1),2)))
 
Upvote 0
Hi Guys, thanks for the suggestions, maybe I didn't explain it very clearly and or maybe its a Marco that has to do it

Im hoping the below will help try and explain



1678615116905.png
 
Upvote 0
thanks for the suggestions,
You did not address either of my suggestions, so I am no closer to being able to offer anything.
What Excel version are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also, since we cannot copy from an image to test, a much better idea for sample data (and expected results) is XL2BB
 
Upvote 0
Hi again,

You are right ... a Macro would be a safe solution ...
 
Upvote 0
Thanks again guys.

Would anyone out there have a macro that could do this?
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,977
Members
449,200
Latest member
Jamil ahmed

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