Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
captain118
 
Posts: n/a
Default Store Functions by a name

I need to store a function by a name.
I am reusing these 5 functions and if I could store them in a name it
would help greatly.

Here is what I am doing:

'(And)
=IF(Location1="T",IF(Location2="T","T","F"),"F")

Would I make this into a macro?

How would I approach this?

Thanks,
Kirk

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ryan Poth
 
Posts: n/a
Default Store Functions by a name

Kirk,
You may not need to. If the functions you are trying to (re)create are as
simple as this "and" function, Excel has inbuilt functions to handle this.

For example, you could rewrite this formula as:
=IF(AND(Location1="T",Location2="T"),"T","F")

Alternaltively, if you replaced your "T"s and "F"s with TRUEs and FALSEs,
you could simply use:
=AND(Location1,Location2)

HTH,
Ryan

"captain118" wrote:

I need to store a function by a name.
I am reusing these 5 functions and if I could store them in a name it
would help greatly.

Here is what I am doing:

'(And)
=IF(Location1="T",IF(Location2="T","T","F"),"F")

Would I make this into a macro?

How would I approach this?

Thanks,
Kirk


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
Countif question Jim Excel Worksheet Functions 1 December 15th 05 12:32 PM
Countif question Kleev Excel Worksheet Functions 0 December 14th 05 09:28 PM
User-defined functions created in Excel 2000 fail in Excel 2003 goodguy Excel Discussion (Misc queries) 1 October 3rd 05 07:04 PM
Database functions should use criteria in formula, as 1-2-3 does 123user Excel Worksheet Functions 8 September 29th 05 08:57 PM
Visible rows and functions that work tracy Excel Worksheet Functions 2 August 19th 05 05:25 AM


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