Array formula copying blanks as zeros
Hi all,
(Excel 2003) Im using an array formula to copy certain rows of data from a table at the top of my worksheet, to another table further down the sheet (rows copied dependent on a certain cell entry in the original top table): {=IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$ C$902)),1)),"",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$9 02=C1089,ROW($C$3:$C$902)),1),COLUMN())))} This works fine except where there are blank cells in my transferred data row. I need the cells to remain blank when transferred down the worksheet but excel is turning the blank cells into a 0 (zero) in my lower table. Ive been trying to alter my formula to specifically check for blank cells in my original table (to return a blank), and have also tinkered with working an ISBLANK expression into my formula, but cant hit the right combination to get the formula to work. Would appreciate any help to get me over this one. Many thanks for looking. Steve |
Array formula copying blanks as zero's
What type of data is the formula returning? Is it text? Is it numeric? Can
it be both? -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi all, (Excel 2003) I'm using an array formula to copy certain rows of data from a table at the top of my worksheet, to another table further down the sheet (rows copied dependent on a certain cell entry in the original top table): {=IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$ C$902)),1)),"",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$9 02=C1089,ROW($C$3:$C$902)),1),COLUMN())))} This works fine except where there are blank cells in my transferred data row. I need the cells to remain blank when transferred down the worksheet but excel is turning the blank cells into a 0 (zero) in my lower table. I've been trying to alter my formula to specifically check for blank cells in my original table (to return a blank), and have also tinkered with working an ISBLANK expression into my formula, but can't hit the right combination to get the formula to work. Would appreciate any help to get me over this one. Many thanks for looking. Steve |
Array formula copying blanks as zero's
Hi,
The transferred rows of data contain text, a date, whole numbers and numbers to 2 decimal places so yes, it is both. "T. Valko" wrote: What type of data is the formula returning? Is it text? Is it numeric? Can it be both? -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi all, (Excel 2003) I'm using an array formula to copy certain rows of data from a table at the top of my worksheet, to another table further down the sheet (rows copied dependent on a certain cell entry in the original top table): {=IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$ C$902)),1)),"",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$9 02=C1089,ROW($C$3:$C$902)),1),COLUMN())))} This works fine except where there are blank cells in my transferred data row. I need the cells to remain blank when transferred down the worksheet but excel is turning the blank cells into a 0 (zero) in my lower table. I've been trying to alter my formula to specifically check for blank cells in my original table (to return a blank), and have also tinkered with working an ISBLANK expression into my formula, but can't hit the right combination to get the formula to work. Would appreciate any help to get me over this one. Many thanks for looking. Steve . |
Array formula copying blanks as zero's
yes, it is both.
Well, that doesn't help matters! Try this (array entered): =IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$C $902)),1)),"",IF(INDEX(INDIRECT(ADDRESS(LARGE(IF($ C$3:$C$902=C1089,ROW($C$3:$C$902)),1),COLUMN())),1 )="","",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$902=C108 9,ROW($C$3:$C$902)),1),COLUMN())))) -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi, The transferred rows of data contain text, a date, whole numbers and numbers to 2 decimal places so yes, it is both. "T. Valko" wrote: What type of data is the formula returning? Is it text? Is it numeric? Can it be both? -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi all, (Excel 2003) I'm using an array formula to copy certain rows of data from a table at the top of my worksheet, to another table further down the sheet (rows copied dependent on a certain cell entry in the original top table): {=IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$ C$902)),1)),"",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$9 02=C1089,ROW($C$3:$C$902)),1),COLUMN())))} This works fine except where there are blank cells in my transferred data row. I need the cells to remain blank when transferred down the worksheet but excel is turning the blank cells into a 0 (zero) in my lower table. I've been trying to alter my formula to specifically check for blank cells in my original table (to return a blank), and have also tinkered with working an ISBLANK expression into my formula, but can't hit the right combination to get the formula to work. Would appreciate any help to get me over this one. Many thanks for looking. Steve . |
Array formula copying blanks as zero's
Cheers Biff, works a treat.
"T. Valko" wrote: yes, it is both. Well, that doesn't help matters! Try this (array entered): =IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$C $902)),1)),"",IF(INDEX(INDIRECT(ADDRESS(LARGE(IF($ C$3:$C$902=C1089,ROW($C$3:$C$902)),1),COLUMN())),1 )="","",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$902=C108 9,ROW($C$3:$C$902)),1),COLUMN())))) -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi, The transferred rows of data contain text, a date, whole numbers and numbers to 2 decimal places so yes, it is both. "T. Valko" wrote: What type of data is the formula returning? Is it text? Is it numeric? Can it be both? -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi all, (Excel 2003) I'm using an array formula to copy certain rows of data from a table at the top of my worksheet, to another table further down the sheet (rows copied dependent on a certain cell entry in the original top table): {=IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$ C$902)),1)),"",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$9 02=C1089,ROW($C$3:$C$902)),1),COLUMN())))} This works fine except where there are blank cells in my transferred data row. I need the cells to remain blank when transferred down the worksheet but excel is turning the blank cells into a 0 (zero) in my lower table. I've been trying to alter my formula to specifically check for blank cells in my original table (to return a blank), and have also tinkered with working an ISBLANK expression into my formula, but can't hit the right combination to get the formula to work. Would appreciate any help to get me over this one. Many thanks for looking. Steve . . |
Array formula copying blanks as zero's
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Cheers Biff, works a treat. "T. Valko" wrote: yes, it is both. Well, that doesn't help matters! Try this (array entered): =IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$C $902)),1)),"",IF(INDEX(INDIRECT(ADDRESS(LARGE(IF($ C$3:$C$902=C1089,ROW($C$3:$C$902)),1),COLUMN())),1 )="","",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$902=C108 9,ROW($C$3:$C$902)),1),COLUMN())))) -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi, The transferred rows of data contain text, a date, whole numbers and numbers to 2 decimal places so yes, it is both. "T. Valko" wrote: What type of data is the formula returning? Is it text? Is it numeric? Can it be both? -- Biff Microsoft Excel MVP "Struggling in Sheffield" wrote in message ... Hi all, (Excel 2003) I'm using an array formula to copy certain rows of data from a table at the top of my worksheet, to another table further down the sheet (rows copied dependent on a certain cell entry in the original top table): {=IF(ISERROR(LARGE(IF($C$3:$C$902=C1089,ROW($C$3:$ C$902)),1)),"",INDIRECT(ADDRESS(LARGE(IF($C$3:$C$9 02=C1089,ROW($C$3:$C$902)),1),COLUMN())))} This works fine except where there are blank cells in my transferred data row. I need the cells to remain blank when transferred down the worksheet but excel is turning the blank cells into a 0 (zero) in my lower table. I've been trying to alter my formula to specifically check for blank cells in my original table (to return a blank), and have also tinkered with working an ISBLANK expression into my formula, but can't hit the right combination to get the formula to work. Would appreciate any help to get me over this one. Many thanks for looking. Steve . . |
All times are GMT +1. The time now is 12:11 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com