Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Roger H.
 
Posts: n/a
Default How To Use Cells Without Values in a Formula

I want to summarize in a single cell at the bottom of the spreadsheet the
results of summing the summed product of multiplying two different columns.

This is the formula I want to write:
=(C12*$U12)+(C13*$U13)+(C14*$U14)+etc., etc.

However, column C cells may not have values in them. If there are no values
the error message #value! comes up. Is there a way to ignore cells without
values and still have all the cells with values sum themselves.

I have also tried this formula, same result:
=IF(D12=1,(D12*$U12)," ")+IF(D13=1,(D13*$U12)," ")

I am trying to avoid inserting a another column (s).

Thanks if your listening!
Roger H.

  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default

Try the SUMPRODUCT function, I believe it will do what you're asking.

Example:
=sumproduct(C12:C100,U12:U100)
Tha will multiply corresponding Cs and Us and add the products.

Regards,
Ron

  #3   Report Post  
Roger H.
 
Posts: n/a
Default

Ron,
Bingo! Worked perfectly. I had studied that formula but the description did
not seem to fit. Thanks a milion! You just shortened my workday and I can go
home on time. Have a nice evening yourself.

Roger Hockett


"Ron Coderre" wrote:

Try the SUMPRODUCT function, I believe it will do what you're asking.

Example:
=sumproduct(C12:C100,U12:U100)
Tha will multiply corresponding Cs and Us and add the products.

Regards,
Ron

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
What formula is used for subtracting a range of different cells f. tim Excel Worksheet Functions 3 April 21st 23 11:07 PM
FORMULA REQD FOR ADD ING DATES AND VALUES AND PART NUMBERS ANDY CALLAGHAN Excel Discussion (Misc queries) 1 March 6th 05 11:35 PM
How do I write formula to compare two values and pull the resulta. Renee Excel Worksheet Functions 1 February 11th 05 02:31 AM
Excel - formula to calculate colored fill cells within a range wi. MA Excel Worksheet Functions 1 January 7th 05 05:06 PM
to copy a formula in cell c1 (+b1/b11) to cells c2-10, how can i . bvi Excel Worksheet Functions 3 December 23rd 04 07:14 PM


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