=SUMPRODUCT(--('Itemized Revenue'!$L$2:$L$50000>=5000),--('Itemized
Revenue'!$L$2:$L$50000<6000),('Itemized Revenue'!$D:$D))
will return all values from itemized revenue with a value of 5000 - 5999.
Now, if you want to refer to the 5000 range, try:
=SUMPRODUCT(--('Itemized Revenue'!$L$2:$L$50000>=A6),--('Itemized
Revenue'!$L$2:$L$50000<A6+1000),('Itemized Revenue'!$D:$D))
Same exact thing for expenses
=SUMPRODUCT(--('Itemized Expenses'!$J$2:$J$50000>=A6),--('Itemized
Expenses'!$J$2:$J$50000<A6+1000),('Itemized Expenses'!$E$2:$E$50000))
so, to add them together,
=SUMPRODUCT(--('Itemized Revenue'!$L$2:$L$50000>=A6),--('Itemized
Revenue'!$L$2:$L$50000<A6+1000),('Itemized
Revenue'!$D:$D))+SUMPRODUCT(--('Itemized
Expenses'!$J$2:$J$50000>=A6),--('Itemized
Expenses'!$J$2:$J$50000<A6+1000),('Itemized Expenses'!$E$2:$E$50000))
> Where do I put it in the following function?
> =SUMIF('Itemized Revenue'!$L:$L,"="&($A6&TEXT(C$4,"mmm-yy")),'Itemized
[quoted text clipped - 23 lines]
> > >
> > > I just don't know how to look and include a range of numbers.
Helpmeeee - 10 Oct 2008 21:28 GMT
Thanks, the spreadsheet right now splits the totals up by month too, that is
in C4. How would you include that?
> =SUMPRODUCT(--('Itemized Revenue'!$L$2:$L$50000>=5000),--('Itemized
> Revenue'!$L$2:$L$50000<6000),('Itemized Revenue'!$D:$D))
[quoted text clipped - 46 lines]
> > > >
> > > > I just don't know how to look and include a range of numbers.
Sean Timmons - 10 Oct 2008 21:37 GMT
=SUMPRODUCT(--('Itemized Revenue'!$L$2:$L$50000>=A6),--('Itemized
Revenue'!$L$2:$L$50000<A6+1000),--(MONTH('Itemized
Revenue'!$A$2:$A$50000)=MONTH(C4)),('Itemized
Revenue'!$D:$D))+SUMPRODUCT(--('Itemized
Expenses'!$J$2:$J$50000>=A6),--('Itemized
Expenses'!$J$2:$J$50000<A6+1000),,--(MONTH('Itemized
Expenses'!$A$2:$A$50000)=MONTH(C4)),('Itemized Expenses'!$E$2:$E$50000))
Assuming the dates are in collumn A of your Revenue and Expenses worksheets.
Change A to whatever column they are actually in.
> Thanks, the spreadsheet right now splits the totals up by month too, that is
> in C4. How would you include that?
[quoted text clipped - 49 lines]
> > > > >
> > > > > I just don't know how to look and include a range of numbers.