LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Simple calc not working as expected - what am I missing?

Hi all,
Thank you for the responses - Missed all of this because Outlook stuck the
reply email into my Junk Email folder ... And accessing this forum is for
some reason extremely cumbersome - IE crashing, logging in, can't find my
topic, then can find it, it's not a good experience.

Meanwhile with regard to the formula - I appreciate everyone giving me the
correct formula; however, I don't understand why the original formula
wouldn't work, as it follows all the 'rules' of the SUM function.... This
seems like an Excel shortcoming to me. And I am imagining that this worked in
previous versions, but could definitely be mistaken there.

Anyway, thanks for all the help.
Cheers,
Marianne









"T. Valko" wrote:

How do you get the original formula to work
doesn't it give you a value error?


Depends on where the formula is entered.

The formula is in D5


So, what's happening is A4 minus D4 (200-10) = 190

Try putting the formula in E5 then you'll get #VALUE!

The reason it returns a number when entered in cell D5 is because the
formula is entered in a column that directly intersects a cell in the
referenced range, D4.

--
Biff
Microsoft Excel MVP


"Brad" wrote in message
...
How do you get the original formula to work - doesn't it give you a value
error?


"T. Valko" wrote:

Try it like this:

=A4-SUM(B4:D4)

--
Biff
Microsoft Excel MVP


"MarianneS40" wrote in message
...
This is probably something so simple, but I can't figure it out, can
someone
help?

I'm trying to deduct a range of values from the first value in the row:

A4 B4 C4 D4
200 50 60 10

The formula is in D5 and looks like this: =SUM(A4-B4:D4)

The answer SHOULD be 80, but the formula says 190.

I've also tried =SUM(A4-(B4:D4)), same issue.

I know there are ways I can work around this, but am curious why this
doesn't seem to be working?








 
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
Code not working as expected. Ayo Excel Discussion (Misc queries) 2 May 19th 08 07:08 PM
Help !!! My code is not working as expected. Ayo Excel Discussion (Misc queries) 3 August 30th 07 10:39 PM
Iserror not working as expected NathanG Excel Worksheet Functions 5 February 1st 07 05:31 PM
=NETWORKDAYS not working as expected and as it once did USAOz Excel Worksheet Functions 2 July 13th 06 03:02 PM
Lookup Not working as expected trumpy81 New Users to Excel 5 June 30th 05 07:41 PM


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