LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Darts via OfficeKB.com
 
Posts: n/a
Default N/A mine is returning with 1

Trevor Shuttleworth wrote:
You said:

Cell A1 = 1(month from B1) correct
Cell B1 = 1/2/06

Hence, the formula for cell A1 to cope with cell B1 being blank is:

=IF(B1="","",Month(B1))

If Cell A2 relates to cell B2, as I assume it does, then the formula for A2
would be:

=IF(B2="","",Month(B2))

And so on. You can AutoFill the formula down the column or just copy and
paste and the formula will adjust.

So:
A3 =IF(B3="","",Month(B3))
A4 =IF(B4="","",Month(B4))
A5 =IF(B5="","",Month(B5))

Maybe I have misunderstood what you are trying to achieve

Regards

Trevor

Try:

[quoted text clipped - 19 lines]

thanks



You are the best!!!!!!!!!!!!!!!!!!!!!!!!!!

thanks

--
Message posted via http://www.officekb.com


 
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
Formula returning #N/A Error---why??? Excel User Excel Worksheet Functions 4 September 26th 05 02:25 PM
LOOKUP returning value in cell above what I was searching for mwrfsu Excel Discussion (Misc queries) 2 September 10th 05 06:25 PM
Returning all values from a lookup - not just the first/last one Jim Burns Excel Worksheet Functions 2 June 20th 05 04:04 PM
Returning only non zero effect groups jamie_moore Excel Discussion (Misc queries) 1 June 1st 05 12:01 AM
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 AM


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