Hello
I'm using Excel 2003.
I have one worksheet in a workbook called HSMR running calculations to determine inclusion in a calculation. There is a column called diagflag that will calculate as "Y" or "N".
On another worksheet, I want to pull data over from the HSMR worksheet based on the diagflag column but I don't want to pull over any that have "N". BUT I also don't want any spaces for the cells where there isn't data.
For instance, if I used the formula:
then there will be a blank row for any where there is "N" but I only want data with "Y" excluding the blank rows for those with "N".
Can anyone help? Thanks.
I'm using Excel 2003.
I have one worksheet in a workbook called HSMR running calculations to determine inclusion in a calculation. There is a column called diagflag that will calculate as "Y" or "N".
On another worksheet, I want to pull data over from the HSMR worksheet based on the diagflag column but I don't want to pull over any that have "N". BUT I also don't want any spaces for the cells where there isn't data.
For instance, if I used the formula:
Code:
=IF('HSMR Validation'!CY2="Y",'HSMR Validation'!A2,"")
Can anyone help? Thanks.