#1   Report Post  
Shelly
 
Posts: n/a
Default Forumla calculation

I know this has to be an easy one, but I can't figure it out - Please help:
Formula: If the month in cell A6 matches the month in cell C2 then return
value from cell B6
Problem: them month in A6 may be any given day in March, depending on the
date of purchase, but the month in cell C2 is always 3/1/05
Any suggestions?
  #2   Report Post  
Dave O
 
Posts: n/a
Default

Assuming all dates are entered as dates that Excel recognizes...
=IF(MONTH(A6)=MONTH(C2),B6,"No match")

You can replace "No Match" with a different response, or the value of
your choice.

  #3   Report Post  
Jane
 
Posts: n/a
Default

Try =IF(MONTH(A6)=MONTH($C$2),B6,"")

Hope this helps.

Jane

"Shelly" wrote:

I know this has to be an easy one, but I can't figure it out - Please help:
Formula: If the month in cell A6 matches the month in cell C2 then return
value from cell B6
Problem: them month in A6 may be any given day in March, depending on the
date of purchase, but the month in cell C2 is always 3/1/05
Any suggestions?

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 use a check box to accept a calculation Joejoethecrackman Excel Discussion (Misc queries) 5 March 22nd 05 08:47 PM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM
time-clock calculation dokliver Excel Worksheet Functions 3 October 28th 04 09:07 PM


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