A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

need sumproduct to return text values...



 
 
Thread Tools Display Modes
  #1  
Old April 17th, 2009, 11:35 PM posted to microsoft.public.excel.worksheet.functions
JAT
external usenet poster
 
Posts: 27
Default need sumproduct to return text values...

this is a follow up to my previously posted subject line: "vlookup (indirect,
or sumproduct) using three tabs"

i have a sumproduct working (sort of, but not quite.) sumproduct ignores
text and only returns numerical values, or 0 if no match is found or if
there is text. how can i change the following to accept the text that is
displayed or display "Invalid item"

=IF(A12="","",SUMPRODUCT(--(VLOOKUP(H5,Suppliers!A:B,2,FALSE)=Items!A:A),--(Items!B:B='Purchase Order (Inventory)'!A12),Items!C:C))

this is the first part of the problem. i will work on the second part to
see if i can atleast get part of the answer myself, if not, i'll be back.

thank you,

jat

  #2  
Old April 17th, 2009, 11:58 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default need sumproduct to return text values...

Prior to XL-2007, you can not use a whole column for SUMPRODUCT, you have to
give it a range ex. B1:B100


"jat" wrote:

this is a follow up to my previously posted subject line: "vlookup (indirect,
or sumproduct) using three tabs"

i have a sumproduct working (sort of, but not quite.) sumproduct ignores
text and only returns numerical values, or 0 if no match is found or if
there is text. how can i change the following to accept the text that is
displayed or display "Invalid item"

=IF(A12="","",SUMPRODUCT(--(VLOOKUP(H5,Suppliers!A:B,2,FALSE)=Items!A:A),--(Items!B:B='Purchase Order (Inventory)'!A12),Items!C:C))

this is the first part of the problem. i will work on the second part to
see if i can atleast get part of the answer myself, if not, i'll be back.

thank you,

jat

  #3  
Old April 18th, 2009, 12:07 AM posted to microsoft.public.excel.worksheet.functions
JAT
external usenet poster
 
Posts: 27
Default need sumproduct to return text values...

sorry, using office 2007. i just tried it with a range (just in case) but
still same results - ignores text, returning 0.

jat


"Teethless mama" wrote:

Prior to XL-2007, you can not use a whole column for SUMPRODUCT, you have to
give it a range ex. B1:B100


"jat" wrote:

this is a follow up to my previously posted subject line: "vlookup (indirect,
or sumproduct) using three tabs"

i have a sumproduct working (sort of, but not quite.) sumproduct ignores
text and only returns numerical values, or 0 if no match is found or if
there is text. how can i change the following to accept the text that is
displayed or display "Invalid item"

=IF(A12="","",SUMPRODUCT(--(VLOOKUP(H5,Suppliers!A:B,2,FALSE)=Items!A:A),--(Items!B:B='Purchase Order (Inventory)'!A12),Items!C:C))

this is the first part of the problem. i will work on the second part to
see if i can atleast get part of the answer myself, if not, i'll be back.

thank you,

jat

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.