Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2008

Tip: Looking for answers? Try searching our database.

Help with Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Helpmeeee - 10 Oct 2008 20:13 GMT
Ok I need help. I have a spreadsheet with two worksheets.  It's a general
ledger and I have the number 5000 set up for advertising. When I go to
itemize the advertising I want to use say 5100 for Pay Per Click, 5200
flyers, ect. I have one worksheet that adds the total of my expenses
(advertising, supplies, ect), and one has them itemized (Flyers, Pay Per
Click, Paper, Ect.)

What I need is a formula that will pick up a range of numbers, ei 5000
through 5999, in the itemized worksheet and include them in my total for
Advertising (5000) on my worksheet with the totals. The itemized colum will
have numbers ranging from 1000-15999(or more) that will represent all my
expenses from advertising to ultilties.

Any help? I need something like {=if(itemized expense ranges from
5000-5999)then include it in the total for adversting (5000)}

I just don't know how to look and include a range of numbers.
Sean Timmons - 10 Oct 2008 20:31 GMT
=COUNTIF(column with number>=5000)-countif(column with number>=6000)

> Ok I need help. I have a spreadsheet with two worksheets.  It's a general
> ledger and I have the number 5000 set up for advertising. When I go to
[quoted text clipped - 13 lines]
>
> I just don't know how to look and include a range of numbers.
Helpmeeee - 10 Oct 2008 20:36 GMT
Where do I put it in the following function?
=SUMIF('Itemized Revenue'!$L:$L,"="&($A6&TEXT(C$4,"mmm-yy")),'Itemized
Revenue'!$D:$D)+SUMIF('Itemized
Expenses'!$J:$J,"="&($A6&TEXT(C$4,"mmm-yy")),'Itemized Expenses'!$E:$E)

5000 is in cell A6, (it was actually 3 pages, Itemized rev, itemized exp,
and totals) Do I just replace A6?

> =COUNTIF(column with number>=5000)-countif(column with number>=6000)
>
[quoted text clipped - 15 lines]
> >
> > I just don't know how to look and include a range of numbers.
Sean Timmons - 10 Oct 2008 21:13 GMT
=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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.