Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default Lookup Type Question

I have 2 tables:


A B C D E F
Table1 Table2
Number ID Number ID
12 598296 15 598296 3
12 598296 15 598296 3
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 12 598589 0
13 598327 12 598589 0
13 598327
13 598327
12 598589
12 598589
12 598589


Is there a formula that I can use in table 2 / F4, that will look at the
value in E4 and look for a match in table 1 / B4:B12. If there is a match,
subtract Col d from Col a ?

Thank you in advance.


  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

=D4-IF(COUNTIF(B:B,E4),INDEX(A:A,MATCH(E4,B:B,0)),0)

HTH
Jason
Atlanta, GA

-----Original Message-----
I have 2 tables:


A B C D E F
Table1 Table2
Number ID Number ID
12 598296 15 598296 3
12 598296 15 598296 3
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 17 598327 4
13 598327 12 598589 0
13 598327 12 598589 0
13 598327
13 598327
12 598589
12 598589
12 598589


Is there a formula that I can use in table 2 / F4, that

will look at the
value in E4 and look for a match in table 1 / B4:B12. If

there is a match,
subtract Col d from Col a ?

Thank you in advance.


.

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
Formula Question... LookUP G Excel Discussion (Misc queries) 4 March 7th 05 01:38 AM
Multiple Criteria Lookup Question Gregg Riemer Excel Discussion (Misc queries) 3 February 22nd 05 01:18 AM
Lookup Question Mackay 1979 Excel Worksheet Functions 2 February 19th 05 01:11 PM
Lookup and Sort Question Josh O. Excel Discussion (Misc queries) 7 December 9th 04 08:18 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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