LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Using IF function to perform calculation after specific date

I am having problems with the following formaula.

=IF(K2=0, "0",IF(E230/11/2008,O2*(15/115),O2*(175/1175)))

I want a cell to display 0 if K2=0. If K2 doesn't equal 0, I want excel to
perform one of two calculations using a vlaue in O2 depending on what date is
in E2. If the date is prior to 30 Novemeber 2008 I want excel to perform
O2*(175/1175). If the date is after 30 November 2008 then I want excel to
perform O2*(15/115).

Currently excel sometimes uses the wrong calculation as it doesn't recognise
'30/11/2008' as a date but as a calculation i.e 30 divided by 11 divided by
2008.

The issue is that I want Excel to recognise '30/11/2008' as the date, 30
November 2008, and not 30 divided by 11 divided by 2008. Is there any way
that I can get excel to do this?
 
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
A specific date used for calculation of a new date Ditte Excel Discussion (Misc queries) 7 July 17th 09 08:00 AM
How do I perform calculation within IF statement? Steven Masterson Excel Worksheet Functions 4 December 15th 08 08:13 AM
perform 1 function, stop, perform different function nastech Excel Discussion (Misc queries) 0 August 22nd 06 12:21 PM
perform calculation only if current time is after 10 am julieskennels Excel Worksheet Functions 7 July 18th 05 08:07 PM
How do I perform a contains function for a specific cell? Vstein Excel Worksheet Functions 2 May 31st 05 10:11 AM


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