LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default reconciliation of numbers

On Nov 5, 1:43 pm, Myrna Larson
wrote:
You may be making this more complicated than it is. Assuming that when there
are fewer than 27 accounting lines, the missing lines (doesn't matter where
they are) are blank, can't you simply write =SUM($F$4:$F$30,-$F$31)? Or is
there something I'm missing?

Or, if the number of lines is totally variable, and the only constant is that
your aggregate level number is the last one in the list,

=SUM($F$4:$F$100)- LOOKUP(1E300,$F$4:$F$100) * 2

The formula sums from F4 through F100 (assumed it won't go past that), then
subtracts the last value in the column twice. That's equivalent to summing all
values but the last, then subtracting that last value. The result should be 0.

Adjust the maximum row to the largest possible number of rows, and excluding
data below this range, if any.

In the LOOKUP part, it's important that the 1st argument be greater than any
possible number in column F list.



On Mon, 05 Nov 2007 08:59:04 -0800, Dave F wrote:
I have a tricky problem. I download accounting data from a central
database. The various accounting lines roll up to an aggregate. For
some reason, sometimes all the accounting lines that roll up to the
aggregate are not downloaded.


I'm trying to come up with a formula that will test for this: the sum
of the accounting lines should equal the number at the aggregate
level.


Assume then that the aggregate level number is in F31. The following
formula will see if the two sets of numbers equals zero, assuming the
accounting lines are in the range F4:F30:


=SUM(OFFSET($F$31,-(ROWS($F$4:$F$30)),,):OFFSET($F$31,-1,))-$F$31


Here's my question. Sometimes the range of accounting lines is
different (could be longer, or could be shorter).


Is there a way to deal with this dynamic aspect with a formula? Is
this type of problem best handled via a macro?


Thanks,


Dave- Hide quoted text -


- Show quoted text -


Well the problem is that the number of lines may be variable. Your
second suggestion is interesting. I will play around with it, thanks.

Dave

 
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
reconciliation in different currencies jzambran Excel Discussion (Misc queries) 2 August 17th 07 01:35 PM
Macro for Bank Reconciliation Jai Excel Discussion (Misc queries) 2 May 16th 07 02:10 PM
Reconciliation of Data With Two Conditions Tiziano Excel Worksheet Functions 3 December 13th 06 02:36 AM
Bank Reconciliation Tarig Excel Discussion (Misc queries) 5 December 2nd 06 01:59 PM
Stock Reconciliation rajeev Excel Worksheet Functions 1 May 16th 05 10:02 AM


All times are GMT +1. The time now is 08:16 PM.

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"