Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

sum value of nonblank discontinuous cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stumped - 28 Feb 2008 16:41 GMT
I'm trying to figure out in what way I can sum up the currency values of
select cells in a row based upon alternate select cells having a value that
is not blank.  I'm trying to create a worksheet that will allow our group to
order items and provide totals.  So, if they do not enter anything into that
particular column the adjacent one will stay blank.  However, if they enter a
quantity in column a then column b will provide a total.  I've gotten that
far.  What I want to do now is to read those specific quantity columns and if
they have a number (isnumber) then to add those values.  For instance, I
typed in the formula: SUM(IF(ISNUMBER(D7,F7,I7,L7)),d7:L7) and in various
arrangements of this sort I either receive text of the formula in the cell,
get an error in the formula comment, or it just remains blank even if one of
the criteria is not.  If I use only one cell value for 'isnumber' then the
formula works fine, but I need to be able to list specific discontinuous
cells and that's where I get into trouble.  I've tried replacing the commas
with a space and 'or' in between, but that doesn't seem to work.  I'm still
new to all of this so maybe the answer is obvious, but I just can't seem to
find it.  Thank you for any help you can offer.
RagDyeR - 28 Feb 2008 17:01 GMT
All you have to do is list the cells within the Sum() function.

=Sum(D7,F7,I7,L7)

If any of those particular cells is either empty, contain text, or a formula
that returns a 0 or a null ( "" ), it will still calculate the correct
total.
Signature


HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

I'm trying to figure out in what way I can sum up the currency values of
select cells in a row based upon alternate select cells having a value that
is not blank.  I'm trying to create a worksheet that will allow our group to
order items and provide totals.  So, if they do not enter anything into that
particular column the adjacent one will stay blank.  However, if they enter
a
quantity in column a then column b will provide a total.  I've gotten that
far.  What I want to do now is to read those specific quantity columns and
if
they have a number (isnumber) then to add those values.  For instance, I
typed in the formula: SUM(IF(ISNUMBER(D7,F7,I7,L7)),d7:L7) and in various
arrangements of this sort I either receive text of the formula in the cell,
get an error in the formula comment, or it just remains blank even if one of
the criteria is not.  If I use only one cell value for 'isnumber' then the
formula works fine, but I need to be able to list specific discontinuous
cells and that's where I get into trouble.  I've tried replacing the commas
with a space and 'or' in between, but that doesn't seem to work.  I'm still
new to all of this so maybe the answer is obvious, but I just can't seem to
find it.  Thank you for any help you can offer.
stumped - 28 Feb 2008 17:26 GMT
Thank you for your help.  I was trying to make it too difficult.  I also
wanted the 'total' column to remain blank if the sum was zero and so just
reversed the formula to an IF nested with a sum function which now works
perfectly.  Thanks again.

> All you have to do is list the cells within the Sum() function.
>
[quoted text clipped - 22 lines]
> new to all of this so maybe the answer is obvious, but I just can't seem to
> find it.  Thank you for any help you can offer.
RagDyeR - 29 Feb 2008 15:27 GMT
You're welcome, and appreciate the feed-back.
Signature


Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

Thank you for your help.  I was trying to make it too difficult.  I also
wanted the 'total' column to remain blank if the sum was zero and so just
reversed the formula to an IF nested with a sum function which now works
perfectly.  Thanks again.

"RagDyeR" wrote:

> All you have to do is list the cells within the Sum() function.
>
[quoted text clipped - 32 lines]
> to
> find it.  Thank you for any help you can offer.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.