LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default Help using the DAY() function

The IF function does not expect to test a range, just a single condition.
You have an array formula so it needs to be 'array entered'
Double click the cell to get into Edit mode; now commit the formula with
CTRL+SHIFT+ENTER
Excel will place the formula within curly braces { } and you will get what
you want

For more on this topic:
http://www.cpearson.com/excel/array.htm .
http://www.emailoffice.com/excel/arrays-bobumlas.html
http://office.microsoft.com/en-us/as...872901033.aspx

best wishes
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Don" wrote in message
...
=IF(DAY(B3:B30)21,N4,0) I'm trying to use this formula to check in
column B if a date of the 22nd of the month was entered (manually). If it
was, then the cell (O4 in this instance) would be equal to the contents of
cell N4, which is a numeric value. Otherwise, cell O4 would be equal to
zero
(0). The problem I'm having is that the range (B3:B30) is not being
checked
- it doesn't work. Furthermore, B4 is the only cell that allows this
formula
to work. Can't figure that one out. Do I need to rewrite the formula?
Any
help would be appreciated. Thanks!




 
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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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