Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
francine
 
Posts: n/a
Default what is function vs. formula?

my question is what is function vs. formula?
I need to know so that I can study for finals. I'm trying to get as much
information as I can on the subject so that I may possibly get a good grade

  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

francine

Formulas can use Functions or not.

Functions have to be used in formula mode.

This is a formula =A1+A2+A3+A4+A5+A6+A7

This is a formula with a Function in use =SUM(A1:A7) which saves you a lot of
typing.


Gord Dibben Excel MVP



On Tue, 1 Mar 2005 15:17:03 -0800, "francine"
wrote:

my question is what is function vs. formula?
I need to know so that I can study for finals. I'm trying to get as much
information as I can on the subject so that I may possibly get a good grade


  #3   Report Post  
Rob van Gelder
 
Posts: n/a
Default

A formula contains one or more operators.
eg. 1+1 (the + is the operator)

A function returns one value
=SUM(1, 2, 3, 4)

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"francine" wrote in message
...
my question is what is function vs. formula?
I need to know so that I can study for finals. I'm trying to get as much
information as I can on the subject so that I may possibly get a good
grade



  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

The statement below is not entirely true.

Actually, Functions do not have to be used only in Formulas.

A Function can be called by VBA code also.

A couple of examples.........one with a User Defined Function...........

Sub foo()
MsgBox "The row height is " & rowht(ActiveCell)
End Sub

Function rowht(x)
Application.Volatile
rowht = x.RowHeight
End Function

One using an Excel Function............

Sub foo2()
MsgBox "The Total is " & Application.WorksheetFunction.Sum(Range("A1:A32"))
End Sub


Gord Dibben Excel MVP

On Tue, 01 Mar 2005 18:35:09 -0800, Gord Dibben <gorddibbATshawDOTca wrote:

francine

Formulas can use Functions or not.

Functions have to be used in formula mode.

This is a formula =A1+A2+A3+A4+A5+A6+A7

This is a formula with a Function in use =SUM(A1:A7) which saves you a lot of
typing.


Gord Dibben Excel MVP



On Tue, 1 Mar 2005 15:17:03 -0800, "francine"
wrote:

my question is what is function vs. formula?
I need to know so that I can study for finals. I'm trying to get as much
information as I can on the subject so that I may possibly get a good grade


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
function of "+" in the formula "=+(B19/50)*B10 josh66six Excel Discussion (Misc queries) 4 February 23rd 05 09:54 PM
Looking for function or formula to calculate number that is revers Ken Excel Worksheet Functions 2 February 7th 05 11:18 AM
Need Formula or Function to calculate Margin (reverse of Percent a Ken Excel Worksheet Functions 1 February 7th 05 09:26 AM
Function Formula is displayed not results iloveexcellllll Excel Worksheet Functions 0 January 11th 05 02:29 AM
how to enter a formula using column() function for a range Mike Peter Excel Worksheet Functions 6 December 8th 04 07:11 AM


All times are GMT +1. The time now is 01:12 AM.

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"