#1   Report Post  
chi
 
Posts: n/a
Default formula help

Hi,

Please see example I just want to have a formula on left
on column B that will count all values in column A

Note column A is the sum of C and D.


column AcolumnB columnC columnD
A+B b b
2 1 1
#VALUE! c c
2 1 1
2 1 1
#VALUE! 1 1
#VALUE! c c
2 1 1
2 1 1


Thank you

  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Obviously the formula in column is something like this (for cell A2 p.e.)
=B2+C2
Replace it with formula
=IF(OR(B2"",C2""),"",SUM(B2:C2))
(when you want to exclude all rows with any non-numeric values), or
=IF(AND(B2"",C2""),"",SUM(B2:C2))
(when you want to exclude all rows with all non-numeric values)
and copy the formula down. Now you can use usual COUNT/SUM/AVERAGE functions
on column A.


Arvi Laanemets


"chi" wrote in message
...
Hi,

Please see example I just want to have a formula on left
on column B that will count all values in column A

Note column A is the sum of C and D.


column AcolumnB columnC columnD
A+B b b
2 1 1
#VALUE! c c
2 1 1
2 1 1
#VALUE! 1 1
#VALUE! c c
2 1 1
2 1 1


Thank you



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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 02:49 PM
Cannot change a formula Richard F Excel Discussion (Misc queries) 1 January 18th 05 02:57 AM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 10:04 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 10:02 PM
I want the results of a formula to show in cell, NOT THE FORMULA! ocbecky Excel Discussion (Misc queries) 4 December 10th 04 09:39 PM


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

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

About Us

"It's about Microsoft Excel"