Array Formula is just not working

TheTao2

New Member
Joined
May 1, 2010
Messages
32
Hello All,

I have a workbook with two worksheets. The first is called check book and is basically just to enter in checking account activity. The second worksheet has an array formula that is supposed to find any entries on the first worksheet that fall within the specified month. It keeps returning an error and I can not figure it out. I know I must be missing something silly but I am stumped.

Excel Workbook
ABCDEFGHIJKL
1RecordDateMonthPayeeCategoryMaster CategorySub CategoryMemoOutflowInflowRunning Balance
211/1/2011January 2011Barnes & NobleRecreation & HisRecreationHis$100.00-$100.00
322/25/2011February 2011GasTransportation & GasTransportationGas$25.00-$125.00
433/25/2011March 2011Rouse'sFood & GroceriesFoodGroceries$130.00-$255.00
Check Book
Excel 2007
Cell Formulas
RangeFormula
C2=IF(B2=0,NA(),(TEXT(B2,"mmmm yyyy")))
C3=IF(B3=0,NA(),(TEXT(B3,"mmmm yyyy")))
C4=IF(B4=0,NA(),(TEXT(B4,"mmmm yyyy")))
E2=IF(F2=0,NA(),(F2&" & "&G2))
E3=IF(F3=0,NA(),(F3&" & "&G3))
E4=IF(F4=0,NA(),(F4&" & "&G4))
K2=SUM('Check Book'!$I2:$J2)
K3=IF(I3=0,IF(J3=0,NA(),SUM(I3:J3,K2)),SUM(I3:J3,K2))
K4=IF(I4=0,IF(J4=0,NA(),SUM(I4:J4,K3)),SUM(I4:J4,K3))

Excel Workbook
ABCDEFGH
1January 2011
2RecordDateMonthPayeeCategoryMaster CategorySub CategoryMemo
3#N/A
4
5
6
7
8
9
Months
Excel 2007
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}. Note: Do not try and enter these manually yourself
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I think you should have IFERROR at the start of that formula rather than IF......but if you just get a blank that probably means the dates don't match. Is A1 an actual date - it needs to be text......
 
Upvote 0
OK, but IFERROR must be the preferred version to give you blanks when matches run out. The #N/A error might be returned because you have formulas in 'Check Book'!C$2:$C$500 that might return #N/A, that's not a good idea because your array formula will fail if any of those do actually show #N/A error.

Best to change 'Check Book'!C$2 to a formula that returns a blank.....or even text, e.g. either

=IF(B2=0,"",TEXT(B2,"mmmm yyyy"))

or

=IF(B2=0,"N/A",TEXT(B2,"mmmm yyyy"))
 
Upvote 0
That worked great. I did not know that about array formula. I was pulling my hair out trying to get it to work.

Thank you.
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

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