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

I don't know if this possible, but looking for some help if it is. I am
guessing it would be with some sort of IF worksheet function.

I have a column of dates. In a separate cell a few columns to the right I
would like to enter a value (32.50) if the first of the month is among the
original column of dates; if not I would like to enter 0. I am guessing the
formula might look something like this:
=IF(11-01-06 is within the range D5:D18,32.50,0)

Again, any help with this would be appreciated, thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default IF worksheet function

Hi!

Try this:

=IF(COUNTIF(D5:D18,"2006/11/1"),32.5,0)

Do want this specifically for Nov 1 2006 or do you want it for the CURRENT
month? If so:

=IF(COUNTIF(D5:D18,DATE(YEAR(TODAY()),MONTH(TODAY( )),1)),32.5,0)

Biff

"WOLLAM" wrote in message
...
I don't know if this possible, but looking for some help if it is. I am
guessing it would be with some sort of IF worksheet function.

I have a column of dates. In a separate cell a few columns to the right I
would like to enter a value (32.50) if the first of the month is among the
original column of dates; if not I would like to enter 0. I am guessing
the
formula might look something like this:
=IF(11-01-06 is within the range D5:D18,32.50,0)

Again, any help with this would be appreciated, thank you.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default IF worksheet function

Biff,
Awesome! Thank you very much; it worked like a charm.

"Biff" wrote:

Hi!

Try this:

=IF(COUNTIF(D5:D18,"2006/11/1"),32.5,0)

Do want this specifically for Nov 1 2006 or do you want it for the CURRENT
month? If so:

=IF(COUNTIF(D5:D18,DATE(YEAR(TODAY()),MONTH(TODAY( )),1)),32.5,0)

Biff

"WOLLAM" wrote in message
...
I don't know if this possible, but looking for some help if it is. I am
guessing it would be with some sort of IF worksheet function.

I have a column of dates. In a separate cell a few columns to the right I
would like to enter a value (32.50) if the first of the month is among the
original column of dates; if not I would like to enter 0. I am guessing
the
formula might look something like this:
=IF(11-01-06 is within the range D5:D18,32.50,0)

Again, any help with this would be appreciated, thank you.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default IF worksheet function

You're welcome. Thanks for the feedback!

Biff

"WOLLAM" wrote in message
...
Biff,
Awesome! Thank you very much; it worked like a charm.

"Biff" wrote:

Hi!

Try this:

=IF(COUNTIF(D5:D18,"2006/11/1"),32.5,0)

Do want this specifically for Nov 1 2006 or do you want it for the
CURRENT
month? If so:

=IF(COUNTIF(D5:D18,DATE(YEAR(TODAY()),MONTH(TODAY( )),1)),32.5,0)

Biff

"WOLLAM" wrote in message
...
I don't know if this possible, but looking for some help if it is. I am
guessing it would be with some sort of IF worksheet function.

I have a column of dates. In a separate cell a few columns to the
right I
would like to enter a value (32.50) if the first of the month is among
the
original column of dates; if not I would like to enter 0. I am
guessing
the
formula might look something like this:
=IF(11-01-06 is within the range D5:D18,32.50,0)

Again, any help with this would be appreciated, thank you.






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
How do I get ONLY new info from 1 Worksheet to another automatical Elaine Excel Worksheet Functions 6 July 13th 06 05:45 PM
CELL Function and Worksheet Name in a Cell David Excel Worksheet Functions 2 July 8th 06 11:00 PM
Average Function (include Blank Cells and Zeros) [email protected] Excel Discussion (Misc queries) 17 June 27th 06 01:33 PM
Passing a WorkSheet from a Function??? Mac Lingo Excel Worksheet Functions 3 June 13th 06 08:29 AM
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM


All times are GMT +1. The time now is 05:06 PM.

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"