Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default sumproduct problem

hi all,
i entered in B2 =if(LEN A2=0,"",A2) so if A2 is blank B2 will appear blank
but for example if i tried to enter in another cell the following:
sumproduct((C1:C7<"")*B1:B7) it returns error value as it sees B2 not blank,
can anyone help me?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default sumproduct problem

Maybe a small variation that avoids text in column B:

=sumproduct(--(C1:C7<""),B1:B7)



nada wrote:

hi all,
i entered in B2 =if(LEN A2=0,"",A2) so if A2 is blank B2 will appear blank
but for example if i tried to enter in another cell the following:
sumproduct((C1:C7<"")*B1:B7) it returns error value as it sees B2 not blank,
can anyone help me?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default sumproduct problem

it did work, thanks a lot.

"Dave Peterson" wrote:

Maybe a small variation that avoids text in column B:

=sumproduct(--(C1:C7<""),B1:B7)



nada wrote:

hi all,
i entered in B2 =if(LEN A2=0,"",A2) so if A2 is blank B2 will appear blank
but for example if i tried to enter in another cell the following:
sumproduct((C1:C7<"")*B1:B7) it returns error value as it sees B2 not blank,
can anyone help me?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default sumproduct problem

=SUMIF(C1:C7,"<",B1:B7)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"nada" wrote in message
...
hi all,
i entered in B2 =if(LEN A2=0,"",A2) so if A2 is blank B2 will appear blank
but for example if i tried to enter in another cell the following:
sumproduct((C1:C7<"")*B1:B7) it returns error value as it sees B2 not
blank,
can anyone help me?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default sumproduct problem

thank u so much.

"Bob Phillips" wrote:

=SUMIF(C1:C7,"<",B1:B7)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"nada" wrote in message
...
hi all,
i entered in B2 =if(LEN A2=0,"",A2) so if A2 is blank B2 will appear blank
but for example if i tried to enter in another cell the following:
sumproduct((C1:C7<"")*B1:B7) it returns error value as it sees B2 not
blank,
can anyone help me?






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
Sumproduct problem. capt Excel Discussion (Misc queries) 7 January 13th 08 05:30 PM
Sumproduct problem [email protected] Excel Worksheet Functions 1 January 4th 07 06:41 AM
SUMPRODUCT PROBLEM laurie g Excel Worksheet Functions 3 September 11th 06 05:00 AM
sumproduct problem? Tolga Excel Discussion (Misc queries) 6 July 5th 06 05:27 PM
sumproduct problem andy New Users to Excel 2 March 29th 06 01:52 PM


All times are GMT +1. The time now is 03:49 PM.

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"