Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default user defined function

still struggling

Function Discount(quantity, price)

If quantity = 300 Then
Discount = quantity * price * 0.1
Else
Discount = 0
End If

End Function
-- I still cant find this function in the functions drop down box, is there
something else I have to do. thnaks
delmac
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default user defined function

Well, the obvious question is "where do you have the code?"


"delmac" wrote:

still struggling

Function Discount(quantity, price)

If quantity = 300 Then
Discount = quantity * price * 0.1
Else
Discount = 0
End If

End Function
-- I still cant find this function in the functions drop down box, is there
something else I have to do. thnaks
delmac

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
User defined functions without using VBA. [email protected] Excel Discussion (Misc queries) 0 June 13th 06 05:50 PM
User defined charts Ajay Charts and Charting in Excel 0 January 17th 06 12:58 PM
Refreshing a User Defined Function ChrisA Excel Discussion (Misc queries) 1 November 11th 05 06:56 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
how to move user defined function Grant Excel Worksheet Functions 1 November 17th 04 06:38 PM


All times are GMT +1. The time now is 09:07 PM.

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"