Dynamic Column lookup with different pages in excel
Posted
by
CinCity
on Stack Overflow
See other posts from Stack Overflow
or by CinCity
Published on 2013-10-25T14:29:54Z
Indexed on
2013/10/25
15:54 UTC
Read the original article
Hit count: 181
I have a multi page spread sheet in excel that needs to read information dynamically from columns on other pages and have these values show up on a main page.
This is the formula I'm using:
=IF(VLOOKUP($B:$B,'CP01'!$B:$BN,3,FALSE)="r","r",
IF(VLOOKUP($B:$B,'CP01'!$B:$BN,3,FALSE)="a","a",""))
CP01
is a sheet in the excel file and instead of look at the specific sheet I want it to look at all of the sheets in the file.
Is there a way to do this as an excel formula or with excel-VBA?
Edit: I also tried CP*
(* being a wildcard character) and it didn't work.
Edit2: Is there a way to match the value where the 'CP' is placed with its a other columns value?
© Stack Overflow or respective owner