Advanced Index Match VBA

SWETHAKHATRI88

New Member
Joined
Jul 29, 2022
Messages
10
Office Version
  1. 2021
Platform
  1. MacOS
Hi. I have an excel workbook with 2 key sheets Control and Combine. Based on a column in sheet combined, multiple new worksheets are created based on a macro(Not consistent number of new sheets). There is also a string called Balance in every worksheet except control and combined
I would like to search the Balance word in every worksheet except control and combined, copy the adjacent cell value, find the corresponding sheet name in control (which is also there in Q2 of every sheet, match the dates (q3 in every sheet) and populate the adjacent cell value for all worksheets
Attached is my sheet for reference. Can this be done through vba. Thanks in advance.
I am aware Index match can solve but am able to do only for one sheet

Control sheet looks like below

04/10/2023​
04/10/2023​
05/10/2023​
05/10/2023​
OBBALANCEOBBALANCE
test1
test2

Worksheet looks like below

Column QColumn R
test1
04/10/2023​
OB
100​
BALANCE
50​
 

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.

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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