View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default Return value based on certain criteria

Hi,

use

=SUMPRODUCT(--(A1=ConsultCall!A1:A23),ConsultCall!B1:B23)

change your range to fit your needs

"C." wrote:

Hi all,

I have two separate worksheets within the same workbook

The first worksheet (ConsultCall!) looks like this:

ID# Percentage

1-1232 50%
2-345 61%
10-12 89%
15-98753 25%

In another sheet (Calc!), I have a similar ID# column, but the ID #'s
are not in the same order as the first worksheet and some ID #'s are
in one that are not in the other column. Basically I want to be able
to match on unique ID #'s and then return the corresponding percentage
value in another column in the second worksheet for that ID # in the
first worksheet.

ID#
15-98753
10-12
2-345

Any thoughts? Thanks!
.