Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Excel Formulas in General Ledger

Hi,

I am creating a Ledger that has to evaluate two columns - A
description column and a date column. If the result of both are true,
it populates another worksheet with the amount entered in a 3rd
column. In this case, both arguments must be true to have the figure
included in the summarization.

It works using only the description column alone, but when I include
the date column in the formula it doesn't work.

The CSE formula reads as follows:

{=SUM(IF(($B$4:$B$245="Entertainment")*($A$4:$A$24 5="*Feb*"),$E$4:$E
$245,0))}

It doesn't work because the function bar doesn't say Feb, or February
- it reads 1/1/2008 so that one argument is consistently false and it
doesn't summarize - that much I know. The cells for this column are
formatted as Dates and the dates in the ledger must be displayed as
mmm,dd,yyyy - I don't have a choice in that.

In this case, how can I get the ledger to summarize only the rows that
are dated in February and to exclude those entered in January (for
example)?

Thanks in Advance,
Craig
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Excel Formulas in General Ledger

Hi Craig

You need
*(MONTH($A$4:$A$245)=2)
or
*(TEXT($A$4:$A$245,"mmm")="Feb")

I think the non-array Sumproduct would be quicker in calculation

=SUMPRODUCT(($B$4:$B$245="Entertainment")*
(TEXT($A$4:$A$245,"mmm")="Feb")*$E$4:$E$245)



--
Regards
Roger Govier

wrote in message
...
Hi,

I am creating a Ledger that has to evaluate two columns - A
description column and a date column. If the result of both are true,
it populates another worksheet with the amount entered in a 3rd
column. In this case, both arguments must be true to have the figure
included in the summarization.

It works using only the description column alone, but when I include
the date column in the formula it doesn't work.

The CSE formula reads as follows:

{=SUM(IF(($B$4:$B$245="Entertainment")*($A$4:$A$24 5="*Feb*"),$E$4:$E
$245,0))}

It doesn't work because the function bar doesn't say Feb, or February
- it reads 1/1/2008 so that one argument is consistently false and it
doesn't summarize - that much I know. The cells for this column are
formatted as Dates and the dates in the ledger must be displayed as
mmm,dd,yyyy - I don't have a choice in that.

In this case, how can I get the ledger to summarize only the rows that
are dated in February and to exclude those entered in January (for
example)?

Thanks in Advance,
Craig


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Excel Formulas in General Ledger

On Feb 7, 3:42 pm, "Roger Govier" <roger@technology4unospamdotcodotuk
wrote:
Hi Craig

You need
*(MONTH($A$4:$A$245)=2)
or
*(TEXT($A$4:$A$245,"mmm")="Feb")

I think the non-array Sumproduct would be quicker in calculation

=SUMPRODUCT(($B$4:$B$245="Entertainment")*
(TEXT($A$4:$A$245,"mmm")="Feb")*$E$4:$E$245)

--
Regards
Roger Govier

wrote in message

...

Hi,


I am creating a Ledger that has to evaluate two columns - A
description column and a date column. If the result of both are true,
it populates another worksheet with the amount entered in a 3rd
column. In this case, both arguments must be true to have the figure
included in the summarization.


It works using only the description column alone, but when I include
the date column in the formula it doesn't work.


The CSE formula reads as follows:


{=SUM(IF(($B$4:$B$245="Entertainment")*($A$4:$A$24 5="*Feb*"),$E$4:$E
$245,0))}


It doesn't work because the function bar doesn't say Feb, or February
- it reads 1/1/2008 so that one argument is consistently false and it
doesn't summarize - that much I know. The cells for this column are
formatted as Dates and the dates in the ledger must be displayed as
mmm,dd,yyyy - I don't have a choice in that.


In this case, how can I get the ledger to summarize only the rows that
are dated in February and to exclude those entered in January (for
example)?


Thanks in Advance,
Craig


Thanks very much Roger - the SUMPRODUCT works great!

Craig
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
General Ledger Template Cyndi Excel Worksheet Functions 1 January 8th 08 08:15 PM
GENERAL QUESTION - FORMULAS Tonya Excel Discussion (Misc queries) 3 November 16th 06 05:39 AM
Is there a general excel small business ledger/journal template? Andy H Excel Discussion (Misc queries) 1 March 20th 06 05:23 PM
Help with Ledger/accounting formulas jam4jah Excel Worksheet Functions 5 August 30th 05 05:48 PM
Excel General Ledger Ted Excel Discussion (Misc queries) 2 April 8th 05 01:24 AM


All times are GMT +1. The time now is 06:18 AM.

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

About Us

"It's about Microsoft Excel"