Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default definition of a formula and function?

i tried doing a search for this but am still unclear. if i have the
following for example:
=sum(A1+A2)

is SUM the function and (A1+A2) the formula? or is that too
simplistic.


Also, regarding variables if i have a list of, say, pupil data and a
convert this into a percentage is the pupil data INPUT variable and
the percentage(s) OUTPUT variable? again, is that too simplistic a way
of looking at things. thanks all.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default definition of a formula and function?

A better example would be

=Sum(A1+A2) * Sum(A3-A4)

In the above situation there is one formula (which is the whole line) and
two functions. Sum is the function. Anything beginning with the "=" sign is
a formula.

Your definition of input and output is reasonable.

"showsomeidnow" wrote:

i tried doing a search for this but am still unclear. if i have the
following for example:
=sum(A1+A2)

is SUM the function and (A1+A2) the formula? or is that too
simplistic.


Also, regarding variables if i have a list of, say, pupil data and a
convert this into a percentage is the pupil data INPUT variable and
the percentage(s) OUTPUT variable? again, is that too simplistic a way
of looking at things. thanks all.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default definition of a formula and function?

thank you kindly - that's a brilliant definition and cleared things up
for me. yes, i know that the output variable could also be a graph or
spreadsheet table for example. i was just unclear as to what
calculating the percentages of data might be (output variable
possibly?). thanks again for your help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default definition of a formula and function?

The entire thing is a formula.

When adding two cells as per your example you don't need the SUM function.

=A1+A2 is sufficient.

Use the SUM function for ranges.

=SUM(A1:A10)

=SUM(A1,D1,G1,L23)


Gord Dibben MS Excel MVP

On 5 May 2007 03:18:32 -0700, showsomeidnow
wrote:

i tried doing a search for this but am still unclear. if i have the
following for example:
=sum(A1+A2)

is SUM the function and (A1+A2) the formula? or is that too
simplistic.


Also, regarding variables if i have a list of, say, pupil data and a
convert this into a percentage is the pupil data INPUT variable and
the percentage(s) OUTPUT variable? again, is that too simplistic a way
of looking at things. thanks all.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default definition of a formula and function?

the entire equation is the formula, you are using the
SUM Worksheet Function, which is a builtin function.

You most have been using Lotus 1-2-3 or something
because all you should be using is =A1+A2
(which would add two items in the same column)

If you installed a function as opposed to being a
builtin function that comes with Excel, it would also
be a function but would more correctly be identified
as a User Defined Function (UDF).

To give you an idea of a UDF see GetFormula on
my http://www.mvps.org/dmcritchie/excel/formula.htm
webpage. The instructions to install are at the top
of that page, but basically you might start at
http://www.mvps.org/dmcritchie/excel....htm#havemacro
if you have a macro or function code to be installed.

When you start installing macros and functions
you might want to check over Chip Pearson's page
on the difference between a Macro and a Function
http://www.cpearson.com/excel/differen.htm

Second part of your question:
Concerning INPUT and OUTPUT variables, I think you
have been shown some macro coding (VBA), though
those are not terms I've seen because that would be
usage rather they a types of variable.

I see in Google Groups archives that you have replies
none of which I see in my newsreader (OE), this seems
to happen more often for those who post original message
from Google Groups rather than connecting directly to the
newsgroup servers at Microsoft, where these groups
reside. The replies I see only in GG are olne from Dom Ciccone,
one from yourself, and one from Gord Dibben all on May 5
(at least in my time zone). I see other threads from you
that all have replies.

The thread as seen in archives
http://groups.google.com/groups?thre...oglegroups.com

Posting directly to Microsoft newsgroups:
http://www.mvps.org/dmcritchie/excel...htm#postdirect

---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"showsomeidnow" wrote in message ups.com...
i tried doing a search for this but am still unclear. if i have the
following for example:
=sum(A1+A2)

is SUM the function and (A1+A2) the formula? or is that too
simplistic.


Also, regarding variables if i have a list of, say, pupil data and a
convert this into a percentage is the pupil data INPUT variable and
the percentage(s) OUTPUT variable? again, is that too simplistic a way
of looking at things. thanks all.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default definition of a formula and function?

Now I see the other replies.


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default definition of a formula and function?

David McRitchie, thanks for your help here. re variables (inputs and
outputs) i was no so much talking about macros but more in the
generic. for example some would say a graph is an 'output' of some
pupil data say. but imagine i had some data in column A and in columnB
converted this into a percentage - could the percentage(s) be
considered an 'output' also? thanks for all your help.

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
How do you return current ROW number to definition in NAME function? Franz Verga Setting up and Configuration of Excel 1 July 24th 06 04:13 PM
$ definition nicolebelle Excel Worksheet Functions 1 November 18th 05 01:44 PM
End of data definition Surfstiling Excel Discussion (Misc queries) 1 March 25th 05 12:56 AM
Definition of a statistical function (CQC) in Excel uriel78 Excel Worksheet Functions 0 March 2nd 05 07:30 PM
The definition of.... Ursula Excel Worksheet Functions 2 February 16th 05 04:14 PM


All times are GMT +1. The time now is 09:36 AM.

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"