#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HJ
 
Posts: n/a
Default Sum product

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Sum product

The problem is sumproduct sums numbers it does not return text.
--
Kevin Vaughn


"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Sum product

Try the following formula instead...

=INDEX(Tab1!A2:A1199,MATCH(1,(Tab1!B2:B1199=A3)*(T ab1!C2:C1199=B3),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HJ
 
Posts: n/a
Default Sum product

Is there another function I can use to look up two pieces of information and
then return text that is in another column?

"Kevin Vaughn" wrote:

The problem is sumproduct sums numbers it does not return text.
--
Kevin Vaughn


"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Sum product

=INDEX('Tab1'!A2:A1199,MATCH(1,('Tab1'!B2:B1199=A3 )*('Tab1'!C2:C1199=B3),0)

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"HJ" wrote in message
...
Is there another function I can use to look up two pieces of information

and
then return text that is in another column?

"Kevin Vaughn" wrote:

The problem is sumproduct sums numbers it does not return text.
--
Kevin Vaughn


"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in

column A but
keep getting a #value! error. All the formatting is set to general so

I'm
not sure what I am doing wrong. Any advice?


=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HJ
 
Posts: n/a
Default Sum product

Thank you. I'm still getting a NAME? error. Any thoughts on that one?

"Domenic" wrote:

Try the following formula instead...

=INDEX(Tab1!A2:A1199,MATCH(1,(Tab1!B2:B1199=A3)*(T ab1!C2:C1199=B3),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HJ
 
Posts: n/a
Default Sum product

Never mind. I figured out what I was doing wrong. Thanks so much Domenic
for the formula, it works great!!!!

"HJ" wrote:

Thank you. I'm still getting a NAME? error. Any thoughts on that one?

"Domenic" wrote:

Try the following formula instead...

=INDEX(Tab1!A2:A1199,MATCH(1,(Tab1!B2:B1199=A3)*(T ab1!C2:C1199=B3),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"HJ" wrote:

I'm using the following sumproduct formula to look up two pieces on
information on a spreadsheet and then return the text that is in column A but
keep getting a #value! error. All the formatting is set to general so I'm
not sure what I am doing wrong. Any advice?

=sumproduct(('Tab1'!B2:B1199=A3)*('Tab1'!C2:C1199= B3)*('Tab1'!A2:A1199))


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
Counting Rows/Columns for Copying Formulas SamDev Excel Discussion (Misc queries) 0 June 24th 05 04:13 AM
Percentages Darryl Charts and Charting in Excel 2 May 21st 05 04:31 PM
How to set a formula to count the product appear how manytime AMY Excel Worksheet Functions 3 March 21st 05 09:49 AM
Which function(s)? LB Excel Worksheet Functions 3 January 5th 05 06:19 PM
If statement needed Patsy Excel Worksheet Functions 1 November 4th 04 03:48 PM


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