LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 385
Default Vlookup, if statement, maybe an and statement

Here is a sample of a 4000 line spreadsheet
A B C D E
Co Code Acct # Name Inv# Amt
12200 1000030 ABC 43372 30.000
12200 1000001 DEF 48895 20.000
12200 1000001 DEF 52432 20.000
12200 1000001 DEF 52254 -20.000
12200 1001185 GHI 47056 50.000
12200 1001185 GHI 53166 50.000
12200 1001185 GHI 50463 60.000
12200 1001185 GHI 47054 70.000
12200 1001185 GHI 50407 -50.000
12200 1001185 GHI 50349 -60.000
12200 1001185 GHI 47057 -70.000
12200 1001185 GHI 47055 -50.000
12200 1000178 JKL 53167 20.000
12200 1001275 LMN 52090 104.000
12200 1001275 LMN 52091 104.000
12200 1001275 LMN 52089 -200.000
12200 1001296 OPQ 52324 463.000
12200 1001296 OPQ 52325 463.000


I want to be able to identify the credits and the possible invoices that can
be offset by account number. For example, line 4 above can possibly be
matched with line 2 or 3 but not line 13 (co jkl). I've tried a number of
combinations if vlookup with IF(and) and can not seem to get it to work. If
have even created another column using =IF(E1<0,e1*-1," ") which gives me an
exact figure to match to but I can not seem to make it work. Can you help?
Thanks.
 
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
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Vlookup or IF statement GuinnessT Excel Worksheet Functions 5 August 21st 08 09:27 PM
vlookup or if statement andy Excel Worksheet Functions 4 August 13th 07 03:12 PM
Vlookup with if statement HTC Excel Discussion (Misc queries) 0 November 30th 06 05:58 PM


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