Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 152
Default Why is a formula written this way?

Hi all

Just curious...I recently came across the formula =Sum(C3:C3). What's it
doing? Why not just say =C3?

Thanks

--
smither fan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default Why is a formula written this way?

On Dec 23, 9:57*pm, Ross wrote:
Just curious...I recently came across the formula
=Sum(C3:C3). *What's it doing? *Why not just say =C3?


Or at least =SUM(C3)?

I can think of several reasons. The first and foremost: we find a
lot of people who think they must put every expression in some
function call. I don't know where that's coming from. Probably some
"For Dummies" book ;-).

However, there are a number of reasonable reasons for writing such
formulas. For example, =SUM(C3) will be 0 even if C3 is text, whereas
=C3 simply duplicates the text. (Alternative: the N() function.)
=SUM(C3:C3) might have been the result of a wider range that was pared
down by deleting rows or columns. If you start with =SUM(C3:C24) and
delete the rows C4:C24, you end up with =SUM(C3:C3).
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default Why is a formula written this way?

PS....

While I offered some justification for the OP's specific example,
there are other arcane examples that make little sense to me. For
example, =SUM(A1-B1). I think this is clearly an example of my first
explanation, namely a misunderstanding of what is needed to write an
expression.

Disclaimer: But I don't know the requirements of the many other
spreadsheet applications that were popular in the past. I refreshed
my memory of Visicalc, and I do not believe it required encapsulating
expressions in a function call. I'm pretty sure that Multiplan did
not, either. Don't know about Lotus, but I would be surprised if it
does.


------ original posting -----

On Dec 23, 10:21*pm, joeu2004 wrote:
On Dec 23, 9:57*pm, Ross wrote:

Just curious...I recently came across the formula
=Sum(C3:C3). *What's it doing? *Why not just say =C3?


Or at least =SUM(C3)?

I can think of several reasons. *The first and foremost: *we find a
lot of people who think they must put every expression in some
function call. *I don't know where that's coming from. *Probably some
"For Dummies" book ;-).

However, there are a number of reasonable reasons for writing such
formulas. *For example, =SUM(C3) will be 0 even if C3 is text, whereas
=C3 simply duplicates the text. *(Alternative: *the N() function.)
=SUM(C3:C3) might have been the result of a wider range that was pared
down by deleting rows or columns. *If you start with =SUM(C3:C24) and
delete the rows C4:C24, you end up with =SUM(C3:C3).


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 152
Default Thanks!

Thanks for the insight. I think it is probably a leftover from a larger
range, as you said.

Have good Holidays!
--
smither fan
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
Identify if Cell is Formula or written number Claes G Excel Worksheet Functions 13 December 5th 07 05:01 PM
How do I write a formula to convert numbers to written text? Jess Excel Worksheet Functions 2 April 25th 06 03:25 PM
using the name of a worksheet written in a cell, inside a formula Using the name of a worksheet written in Excel Worksheet Functions 2 March 6th 06 10:29 PM
Is there a formula to change number value to the written value? Ginny@apl Excel Discussion (Misc queries) 3 February 23rd 06 02:39 AM
Is there a formula to convert numbers to written text in Excel? LZC Excel Worksheet Functions 3 November 27th 04 08:10 PM


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