LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Advanced Array Formula Problem

In the spreadsheet that I'm working on, I'm having to use the following array
formula:

{=SUM(IF(('Data Entry'!$A$2:$A$92='Comparitive Chart'!E$1)*('Data
Entry'!$B$2:$B$92='Comparitive Chart'!$C13),1))}

While this works as desired, the problem is that there may be more than 91
entries on the 'Data Entry' page. If I changed it to look at $A:$A instead
of $A$2:$A$92, then the formula returns an error because of all the unused,
blank cells.

I guess what I need is a way to have the formula dynamically look at only
the cells that actually have values, and ignore the rest. There will be no
empty cells in the middle of the list, they will all be at the bottom of the
spreadsheet.

I initially thought to change the formula to look at a cell that counted the
non-blanks by using counta() by changing the formula to read like this(the
referenced cell is z1)

{=SUM(IF(('Data Entry'!$A$2:address($z$1,1)='Comparitive Chart'!E$1)*('Data
Entry'!$B$2:address($z$1,2)='Comparitive Chart'!$C13),1))}

Of course, this didn't work either.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array formula problem Constance Excel Discussion (Misc queries) 3 August 22nd 06 06:03 PM
Problem w/Array Formula danw Excel Worksheet Functions 2 August 1st 06 10:55 PM
Array Formula Problem rmolitor Excel Worksheet Functions 4 December 2nd 05 06:35 PM
array formula problem bill gras Excel Worksheet Functions 6 September 28th 05 04:54 AM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM


All times are GMT +1. The time now is 08:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"