VBA for using Match Index Formula

jbench18

New Member
Joined
Feb 12, 2013
Messages
24
Hey everyone,

I currently have the below Index / Match formula down, but as I'm automating Print Setup it keeps picking up all the cells with formulas and not just the populated ones as I want. I was hoping if someone could help me out in where I could use the below formula based on a condition.

=IF(ISNA(INDEX(table2,MATCH(B8,table3,0),MATCH($A$5,GPOTABLE1,0))),"",INDEX(table2,MATCH(B8,table3,0),MATCH($A$5,GPOTABLE1,0)))

The formula resides in all of A7:A. I would like to activate the formula if Column B (B7:B) is populated. Column B could have 1 row or it could have 5,000.

Thanks everyone for the help. Let me know if anyone has any questions or if I need to clarify anything.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,203,607
Messages
6,056,285
Members
444,855
Latest member
archadiel

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