helpexcel

Well-known Member
Joined
Oct 21, 2009
Messages
656
Hi, I'm still getting used to using these and i'm trying to adapt previous code to fit my needs, but I don't really understand how.

For this scenario, I have 3 sheets (Sheet1, Sheet2, Sheet3). I have named ranges on sheet1.

How do I transfer this to Code? I'm trying not to use .FormulaArray

Is there an easier way to to say combine the last 2 arguments and use Data7 for D7:D8? i use a variation of this formula in another column where I want Data1 to pull if Data6 equals D7 or D8?

This formula is in column A of sheet 2.

this is the array formula I'm using:

=INDEX(Data1,MATCH(1,(Data2=$E3)*(Data3=$O3)*(Data4=$J3)*(Data5=$I3)*(Data6<>Sheet3!D7)*(Data6<>Sheet3!D8),0))
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

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