Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Sum only if cells are not blank in adjacent column

Hi,
I have a simple scorecard that Ive built with available points in column B
and a score in column C. Sometimes not all the column C's are filled out due
to the process wasn't observe. I only want to sum up total points available
in column B if the adjacent cell in column C has a numeric value.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Sum only if cells are not blank in adjacent column

Maybe something like
=SUMPRODUCT(--(LEN(C1:C15)0),B1:B15)

Change the ranges in columns C & B to match your data. You can't include
whole columns when using SUMPRODUCT.

Hope this helps,

Hutch

"arch0072" wrote:

Hi,
I have a simple scorecard that Ive built with available points in column B
and a score in column C. Sometimes not all the column C's are filled out due
to the process wasn't observe. I only want to sum up total points available
in column B if the adjacent cell in column C has a numeric value.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sum only if cells are not blank in adjacent column

=SUMPRODUCT(--ISNUMBER(C1:C100),B1:B100)


"arch0072" wrote:

Hi,
I have a simple scorecard that Ive built with available points in column B
and a score in column C. Sometimes not all the column C's are filled out due
to the process wasn't observe. I only want to sum up total points available
in column B if the adjacent cell in column C has a numeric value.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Sum only if cells are not blank in adjacent column

thanks that worked, i have a new issue now. i have other cells doing a sum
of the number in the defined cell below and they are coming up #DIV/O! now...
if there a way to make them appear blank if the sumproduct is 0?

"Teethless mama" wrote:

=SUMPRODUCT(--ISNUMBER(C1:C100),B1:B100)


"arch0072" wrote:

Hi,
I have a simple scorecard that Ive built with available points in column B
and a score in column C. Sometimes not all the column C's are filled out due
to the process wasn't observe. I only want to sum up total points available
in column B if the adjacent cell in column C has a numeric value.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default Sum only if cells are not blank in adjacent column

On Sep 2, 1:18 pm, arch0072
wrote:
thanks that worked, i have a new issue now. i have other cells doing a sum
of the number in the defined cell below and they are coming up #DIV/O! now...
if there a way to make them appear blank if the sumproduct is 0?


Sounds like you have a division, not a sum. Here's a basic formula
format:

=IF(cell=0,"",SUM)


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 do I stop text displaying in blank adjacent cells? CathyMcK Excel Discussion (Misc queries) 3 February 23rd 12 07:37 AM
Using CountIf with non-adjacent cells in same column RS Excel Discussion (Misc queries) 3 June 28th 07 05:45 PM
Counting cells with blank adjacent cell Wingman Excel Worksheet Functions 4 November 16th 06 09:39 PM
summing values from adjacent column with refrence from adjacent column Pivotrend Excel Discussion (Misc queries) 6 March 4th 06 11:24 AM
Sum column if multiple criteria are met in adjacent cells GateKeeper Excel Worksheet Functions 5 September 4th 05 05:04 AM


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