Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Help with Function

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Help with Function

=COUNTIF(column with number=5000)-countif(column with number=6000)

"Helpmeeee" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Help with Function

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?


"Sean Timmons" wrote:

=COUNTIF(column with number=5000)-countif(column with number=6000)

"Helpmeeee" wrote:

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.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Help with Function

=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))

"Helpmeeee" wrote:

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?


"Sean Timmons" wrote:

=COUNTIF(column with number=5000)-countif(column with number=6000)

"Helpmeeee" wrote:

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.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Help with Function

Thanks, the spreadsheet right now splits the totals up by month too, that is
in C4. How would you include that?

"Sean Timmons" wrote:

=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))

"Helpmeeee" wrote:

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?


"Sean Timmons" wrote:

=COUNTIF(column with number=5000)-countif(column with number=6000)

"Helpmeeee" wrote:

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.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Help with Function

=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.

"Helpmeeee" wrote:

Thanks, the spreadsheet right now splits the totals up by month too, that is
in C4. How would you include that?

"Sean Timmons" wrote:

=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))

"Helpmeeee" wrote:

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?


"Sean Timmons" wrote:

=COUNTIF(column with number=5000)-countif(column with number=6000)

"Helpmeeee" wrote:

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.

Reply
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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 09:11 AM.

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

About Us

"It's about Microsoft Excel"