I am using excel 2007. I want my cells to have a dash(-) in them if the vlookup does not return anything instead of N/A. This is my equation
=IF(ISNA(VLOOKUP($D$364,'AOP Query'!$C$22:$DI$440,60,FALSE)),"-",VLOOKUP($D$364,'AOP Query'!$C$22:$DI$440,60,FALSE))
The problem is it is returning a dash for every cell not just the ones that have no value. How do I fix this?
My other question is there a way to drag a vlookup across rows. I would like to be able to drag the vlookup across the cells and have the 60 change with every row, but when I drag the equation across the 60 stays constant.
Thanks,
Rodney
=IF(ISNA(VLOOKUP($D$364,'AOP Query'!$C$22:$DI$440,60,FALSE)),"-",VLOOKUP($D$364,'AOP Query'!$C$22:$DI$440,60,FALSE))
The problem is it is returning a dash for every cell not just the ones that have no value. How do I fix this?
My other question is there a way to drag a vlookup across rows. I would like to be able to drag the vlookup across the cells and have the 60 change with every row, but when I drag the equation across the 60 stays constant.
Thanks,
Rodney