Flashart80
New Member
Hi all.
I have a spreadsheet with a cell that holds an account name entered by the user in cell $Z$2. I then have this formula =OFFSET(INDEX(lastwk_account:lastwk_campaign,(MATCH($Z$2,lastwk_account,0)),2),0,) which returns the 1st campaign from a database list held in column lastwk_campaign. I then have this copied down 40 or so cells to make sure I return all the campaigns. However it also returns campaigns that do not belong to the account in $z$2.
Somehow I need to construct an if statement that says "if the account names in lastwk_campaign does not match $z$2, return a blank cell".
Does anyone have any ideas?
Thanks
Peter
I have a spreadsheet with a cell that holds an account name entered by the user in cell $Z$2. I then have this formula =OFFSET(INDEX(lastwk_account:lastwk_campaign,(MATCH($Z$2,lastwk_account,0)),2),0,) which returns the 1st campaign from a database list held in column lastwk_campaign. I then have this copied down 40 or so cells to make sure I return all the campaigns. However it also returns campaigns that do not belong to the account in $z$2.
Somehow I need to construct an if statement that says "if the account names in lastwk_campaign does not match $z$2, return a blank cell".
Does anyone have any ideas?
Thanks
Peter