Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel Formulas to Clear/Match/Filter Entries

I have sorted a spreadsheet by absolute value to match the exact
positives and negatives together. But the information is too large. So
I created nested if statements incorporating "and" and "or" statements
to help match the positive values and negative values.

Here is a sample (x's mean a row's cost center (10650-4) and amount
1,100.90 clears/matches with another row):

37 10650-4 1,100.90 1100.9_37 x
37 10650-4 (1,100.90) 1100.9_37 x
42 10650-4 (1,100.90) 1100.9_42 x
5 10650-4 1,100.90 1100.9_50 x
5 10650-4 1,100.90 1100.9_50

As you can see, these match correctly and show the last line +1,100.90
does not have a match. This works great, throughout some of the
spreadsheet, but not everything.

Can anyone help? I can email you the spreadsheet.

Thanks...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel Formulas to Clear/Match/Filter Entries

Here is some additional information that might help:

I am trying to reconcile accounts back to 1999 that have over 30,000
lines of entry a month. I only want to keep the row of information
that does not clear. I have been unsuccessful with Subtotals and Pivot
tables because they "summarize" the information. I want the "rows that
net to zero" to be able to be filtered and removed from the data.

The nested if statement I am using is as follows:

=IF(H26=0,"z",IF(AND(J25="x",ABS(H26)=ABS(H25),OR( J24<"x",ABS(H24)<ABS(H26))),"x",IF(H26+H27=0,"x" ,IF(H26+H25+H24+H23=0,"x","
"))))

It seems if there are 5 rows or more of the same value (positives and
negatives), the last part of this if statement,
(IF(H26+H25+H24+H23=0,"x"," "), puts an x by the last line. Showing
that it matches, when in fact it does not have a match. Here's an
example of that:

SysCode CostCntr Amt Concatenate Clears?
37 10701-5 22.83 22.83_37 x
37 10701-5 (22.83) 22.83_37 x
42 10701-5 (22.83) 22.83_42 x
5 10701-5 22.83 22.83_50 x
37 10701-5 22.83 22.83_37 x

In this case the last line is the "one that doesn't clear". A 42 is
the first entry, a 37, the second entry, offsets it. The third entry
is a 5, and a 37 offsets it. Therefore, the last 37 is an erroneous
line and should not have an "x" by it.

Any help you can provide is greatly appreciated.
Thank you.
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
How to clear advanced filter in excel Prakash Shukla Excel Discussion (Misc queries) 1 March 16th 07 02:02 PM
Clear entries on Combo box casey Excel Discussion (Misc queries) 1 December 13th 06 02:37 AM
Clear contents but leave formulas in Excel ojchippy New Users to Excel 10 June 16th 06 11:05 PM
Excel: Clear all cell entries EXCEPT formulas? newsgal Excel Discussion (Misc queries) 6 March 18th 06 12:46 AM
Button to clear all entries? Randy Excel Worksheet Functions 2 March 26th 05 05:00 PM


All times are GMT +1. The time now is 07:09 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"