hi all, i am using an If statement with a vlookup formula to return either the value in a particular cell, or, if the particular cell is blank, to then return a formula. The results of this will then be pasted as values to a new tab, effectively inserting the formula into the new tab. However, i need a dynamic formula specific to each row.
So, currently, where the result of the initial vlookup is blank, this formula is to be inserted:
"=IF(AND($AB34>AE$33,$AB34<=AF$33),$AV$2,IF(AND(AF$33>=$Z34,AF$33<=$AB34),$AV$3,""""))"
My first data row is Row34 and this formula is inserted at AF34. In row 35, these should read 35.
I had thought to use INDIRECT and but with 400k cells, thought it might slow the processing down too much. Any suggestions?
So, currently, where the result of the initial vlookup is blank, this formula is to be inserted:
"=IF(AND($AB34>AE$33,$AB34<=AF$33),$AV$2,IF(AND(AF$33>=$Z34,AF$33<=$AB34),$AV$3,""""))"
My first data row is Row34 and this formula is inserted at AF34. In row 35, these should read 35.
I had thought to use INDIRECT and but with 400k cells, thought it might slow the processing down too much. Any suggestions?