I'm trying to do an IF function that looks like this
=IF($A$2="Name", Sheet2!A7:B18, IF($A$2="Name1", Sheet2!C7:C18, etc etc.
A7:B18 Range - A7 and B7 are merged
C7:C18 Range - C7 and D7 are merged and so on and so forth
It's giving me a value error and I don't know how to create a VBA or...