Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do i add a function to a formula?

I would like to combine a function with a formula, can it be done in the same
cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default how do i add a function to a formula?

David

A formula is a single or a collection of Functions so they are the same
thing, can you be a little more specific what you are trying to do? Do you
mean a macro for example?

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

HIS
www.nickhodge.co.uk

"david_b2" wrote in message
...
I would like to combine a function with a formula, can it be done in the
same
cell?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default how do i add a function to a formula?

Let's say that in cell A2 you have Gross Pay and in cells A3 through A7 you
have deductions and in cell A8 you have Net pay. the formula in A8 could be
=A2-Sum(A3:A7), If this is not the kind of thing you mean, you have to be
more specific.

"david_b2" wrote:

I would like to combine a function with a formula, can it be done in the same
cell?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default how do i add a function to a formula?

if for example you have a formula like =if(A110,"yes","no"), but you want
the formual to state "yes" only if A1 is greater than 10 AND is equal to
another cell, say B4 for example you can add this function to the formula
like this;
=if(and(A110,A1=B4),"yes","no")

i.e. you can have various functions within a formula, you just need to add
them in at the appropriate point.

"david_b2" wrote:

I would like to combine a function with a formula, can it be done in the same
cell?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default how do i add a function to a formula?

I would like to add the "Round" function to a formula like, "=G4*(0.076/12)"

"Nick Hodge" wrote:

David

A formula is a single or a collection of Functions so they are the same
thing, can you be a little more specific what you are trying to do? Do you
mean a macro for example?

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

HIS
www.nickhodge.co.uk

"david_b2" wrote in message
...
I would like to combine a function with a formula, can it be done in the
same
cell?






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default how do i add a function to a formula?

I would like to add the "Round" function to a formula like, "=G4*(0.076/12)"

"Loris" wrote:

Let's say that in cell A2 you have Gross Pay and in cells A3 through A7 you
have deductions and in cell A8 you have Net pay. the formula in A8 could be
=A2-Sum(A3:A7), If this is not the kind of thing you mean, you have to be
more specific.

"david_b2" wrote:

I would like to combine a function with a formula, can it be done in the same
cell?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default how do i add a function to a formula?

I would like to add the "Round" function to a formula like, "=G4*(0.076/12)"

"hot dogs" wrote:

if for example you have a formula like =if(A110,"yes","no"), but you want
the formual to state "yes" only if A1 is greater than 10 AND is equal to
another cell, say B4 for example you can add this function to the formula
like this;
=if(and(A110,A1=B4),"yes","no")

i.e. you can have various functions within a formula, you just need to add
them in at the appropriate point.

"david_b2" wrote:

I would like to combine a function with a formula, can it be done in the same
cell?

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default how do i add a function to a formula?

"david_b2" wrote in message
...
I would like to add the "Round" function to a formula like,
"=G4*(0.076/12)"


Yes, you can do that.

=ROUND(G4*(0.076/12),2), for example.

Or, if you're not trying to apply the ROUND to the result but to one of the
intermediate terms, you can use =G4*ROUND(0.076/12,6), for example.
--
David Biddulph


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default how do i add a function to a formula?

Thanx that was exactly what I was looking for!

"David Biddulph" wrote:

"david_b2" wrote in message
...
I would like to add the "Round" function to a formula like,
"=G4*(0.076/12)"


Yes, you can do that.

=ROUND(G4*(0.076/12),2), for example.

Or, if you're not trying to apply the ROUND to the result but to one of the
intermediate terms, you can use =G4*ROUND(0.076/12,6), for example.
--
David Biddulph



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default how do i add a function to a formula?

Thanx that was exactly what I was looking for.

"David Biddulph" wrote:

"david_b2" wrote in message
...
I would like to add the "Round" function to a formula like,
"=G4*(0.076/12)"


Yes, you can do that.

=ROUND(G4*(0.076/12),2), for example.

Or, if you're not trying to apply the ROUND to the result but to one of the
intermediate terms, you can use =G4*ROUND(0.076/12,6), for example.
--
David Biddulph



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
?IF function for preventing a cell being filled by formula confused teacher Excel Worksheet Functions 3 July 6th 06 07:01 AM
Last Saved Date Formula / Function [email protected] Excel Discussion (Misc queries) 3 June 7th 06 05:52 PM
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 03:40 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 06:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 08:48 PM


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