Excel and Vba: comparing couple of data

Nelson78

Well-known Member
Joined
Sep 11, 2017
Messages
526
Office Version
  1. 2007
Hello everybody.
I'm in the situation you can see in the link:

https://imgur.com/a/fRxpUnM

In Cartel1 initially only column A is populated, then we have to refer to the sheet name in order to compose couples of data (1111Red, 1112Red, 1113Red, ...) comparable in Cartel2 to the combination of column F&J (so we have 1111Red, 1112Green, 1113Gray and so on).

Then, looking for the couples of data Cartel1 in the list of couples of data in Cartel2 (there is only 1 correspondence), in column H Cartel1 we have to transcribe the value of column F Cartel2 (see cells written in red).

I think it is a game of arrays and dictionaries, but I need some hints.

Thank's in advance.
 
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hello everybody.
I'm in the situation you can see in the link:

https://imgur.com/a/fRxpUnM

In Cartel1 initially only column A is populated, then we have to refer to the sheet name in order to compose couples of data (1111Red, 1112Red, 1113Red, ...) comparable in Cartel2 to the combination of column F&J (so we have 1111Red, 1112Green, 1113Gray and so on).

Then, looking for the couples of data Cartel1 in the list of couples of data in Cartel2 (there is only 1 correspondence), in column H Cartel1 we have to transcribe the value of column F Cartel2 (see cells written in red).

I think it is a game of arrays and dictionaries, but I need some hints.

Thank's in advance.

Help please.
 
Upvote 0

Forum statistics

Threads
1,215,403
Messages
6,124,710
Members
449,182
Latest member
mrlanc20

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