Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Peter FS
 
Posts: n/a
Default

It has worked indeed. Thank you so much, Domenic!

"Domenic" wrote:

Try...

=SUMPRODUCT(--(ISNUMBER(MATCH(A1:G7,{"AAB","BMN"},0))),B1:H7)

OR

=SUMPRODUCT(--(ISNUMBER(MATCH(A1:G7,J1:J2,0))),B1:H7)

....where J1:J2 contains your letters, such as AAB and BMN. In your
example, both these formulas would return 296.

Hope this helps!

In article ,
"Peter FS" wrote:

I appreciate the reply by you and others. It may well be because I did not
make myself clear so none of the formulae worked. Why don't I copy a portion
of the sheet and show you folks how it looks like

AAB 4 BMN 12 AAB 8 AAB 11
AAB 5 BMN 32 BMN 6 UWO 23
BMN 67 VBN 4 UWO 45 BMN 4
BMN 34 AAB 5 AAB 3 AAB 7
BMN 2 BMN 7 AAB 2 BMN 2
BMN 3 AAB 9 AAB 1 BMN 3
UWO 7 AAB 2 UWO 8 BMN 67

The idea is that I can run a function to look up all those same combinations
and provide the sum of the corresponding values in the adjacent cells. Thanks
in advance again!


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 search in excel with condition David Excel Discussion (Misc queries) 1 February 8th 05 09:23 PM
Search and Display Sheet Name jtinne Excel Discussion (Misc queries) 5 February 4th 05 09:08 PM
search in a sheet and selection? EM Excel Discussion (Misc queries) 0 February 2nd 05 02:43 PM
Search should highlight entire row in Excell in red samuel Excel Discussion (Misc queries) 5 December 27th 04 11:49 PM
Search for a Sheet Chance224 Excel Discussion (Misc queries) 3 December 14th 04 12:29 AM


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