Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Juco
 
Posts: n/a
Default help with date formula

if cell D7 = 5 or 6 then cell M7 to show 150
if cell D7 = 7 or 8 then cell M7 to show 200

The 5 6 7 8 refer to months ie May/June/July/August
The 150/200 are £s

Looking for formula to do the above

thansk


  #2   Report Post  
Max
 
Posts: n/a
Default

One way

Assuming inputs in D7 are dates

Put in M7:

=IF(D7="","",IF(OR(MONTH(D7)=5,MONTH(D7)=6),150,IF (OR(MONTH(D7)=7,MONTH(D7)=
8),200,"")))

Format M7 as currency (£)

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
Juco wrote in message
k...
if cell D7 = 5 or 6 then cell M7 to show 150
if cell D7 = 7 or 8 then cell M7 to show 200

The 5 6 7 8 refer to months ie May/June/July/August
The 150/200 are £s

Looking for formula to do the above

thansk




  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=CHOOSE(MATCH(D7,{0;5;7;9},1),"",150,200,"")

Arvi Laanemets


"Juco" wrote in message
k...
if cell D7 = 5 or 6 then cell M7 to show 150
if cell D7 = 7 or 8 then cell M7 to show 200

The 5 6 7 8 refer to months ie May/June/July/August
The 150/200 are £s

Looking for formula to do the above

thansk




  #4   Report Post  
Juco
 
Posts: n/a
Default

thanks Arvi

that worked.

Juco

"Arvi Laanemets" wrote in message
...
Hi

=CHOOSE(MATCH(D7,{0;5;7;9},1),"",150,200,"")

Arvi Laanemets


"Juco" wrote in message
k...
if cell D7 = 5 or 6 then cell M7 to show 150
if cell D7 = 7 or 8 then cell M7 to show 200

The 5 6 7 8 refer to months ie May/June/July/August
The 150/200 are £s

Looking for formula to do the above

thansk






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
Date Formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 17th 04 07:25 PM
Date formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 16th 04 12:41 AM
Formula to determine a future date based on criteria David Excel Worksheet Functions 2 December 15th 04 07:51 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM


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