Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nadji
 
Posts: n/a
Default worksheet functions

How do I create a function that will add an amount according to the date? For
example if cell D3 is 6/10/05 then add 25(K4) if not then 0 in L4. I tried
IF(AVERAGE(D4),6/10/05,SUM(D3,J3),0 and it didn't work. Please help.
  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 10 Jun 2005 08:47:31 -0700, "Nadji"
wrote:

How do I create a function that will add an amount according to the date? For
example if cell D3 is 6/10/05 then add 25(K4) if not then 0 in L4. I tried
IF(AVERAGE(D4),6/10/05,SUM(D3,J3),0 and it didn't work. Please help.


Your "date" may not be being interpreted correctly.

Suggestions:
1. Put the date in a cell and use a reference to that cell.
2. Use the totally unambiguous: DATE(2005,6,10)
3. You could try DATEVALUE("6/10/05") also.

My preference would be options 1 or 2.

--ron
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
Worksheet - Functions from sheet to sheet brietve Excel Discussion (Misc queries) 2 May 10th 05 10:23 PM
3 questions about automated c++ com add-in worksheet functions gert Excel Worksheet Functions 0 March 10th 05 09:57 AM
worksheet functions Les Hurley Excel Discussion (Misc queries) 1 December 20th 04 04:40 AM
How to call worksheet functions from Access ? Martin Plamondon Excel Worksheet Functions 0 November 18th 04 06:50 PM
How use group and ungroup functions while worksheet is protected Gabriel De la Garza Excel Worksheet Functions 1 November 17th 04 01:44 AM


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