Array to ignore blank cells

Phelony

New Member
Joined
Apr 16, 2009
Messages
29
Hi Guys

I know there are hundreds of posts with array problems, but having spent the morning sifting through these I'm still stuck.

I've got the following formula:

{=SUM(('Raw Cash'!B2:B16=B2)*('Raw Cash'!K2:K16='Output Cash'!B1)*'Raw Cash'!I2:I16)}

Where Raw Cash B is a month identifier (text) and Raw Cash K is a Deptartment identifier (text). Column I is an invoice amount as is returned as a General unformatted number.

The problem is, that the table this is searching will ultimately contain thousands of rows, although not more than 5000. How can I get the array to search from 2:5000 without it immediately collapsing and without me having to update the formula on a weekly basis!


I'm not using a pivot as I need to keep the workbook to an absolute minimum size. Furthermore, I'm stuck in 2003...:eeek:

Any help would be appreciated as I'm going crazy trying to find a simple answer to this.

Thank you for your time

Phelony
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I'm sorry if I misunderstood the question:

Would this work:
Code:
=SUMPRODUCT(--('Raw Cash'!B2:B5000=B2),--('Raw Cash'!K2:K5000=B1),'Raw Cash'!I2:I5000)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,135
Members
452,890
Latest member
Nikhil Ramesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top