IF statement ith VLookup and Index help needed

Greenrev

New Member
Joined
Oct 11, 2017
Messages
2
Hello,
I have an IF statement that I need to use a VLOOKUP and an INDEX to bring in data. I can get the VLOOKUP to work correctly, but whenever I set the parameters to return the INDEX info I get a "#Value!" returned. I think it may be paranthese placement, but I can't seem to figure it out. Here is how I have my formula entered:
=IF($B$34="Yes",VLOOKUP($B$37,'Lumber Specs'!$E$27:$K$33,2),INDEX('Lumber Specs'!$F15:$XX15,MATCH($B$29&B$30,'Lumber Specs'!$F$13:$XX$13&'Lumber Specs'!$F$14:$XX$14,0)))
Any help would be greatly appreciated!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
That's an array formula that requires a Special keystroke entry.

After typing the formula, don't press enter
Instead, press CTRL + SHIFT + ENTER
When entered correctly, the formula will be enclosed in {brackets}
 
Upvote 0
Eureka! That was it! I forgot about the CTRL+SHIFT+ENTER. Thanks much. I was pulling my hair out over here.
 
Upvote 0

Forum statistics

Threads
1,215,107
Messages
6,123,126
Members
449,097
Latest member
mlckr

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