Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default if statement depending on month

Hi all,

I need to manipulate some data depending on the date in the column next
to it.

If the date is from the same month as the date in the row above then I
don't have to do anything but if the date is from another month then I
have to change the font of the number in the next column to bold.

Any help is greatly appreciated!!!!!!

Manuel

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default if statement depending on month

Conditional formatting with a formula of

=MONTH(A2)=MONTH(A1)

and format as bold

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Grotifant" wrote in message
oups.com...
Hi all,

I need to manipulate some data depending on the date in the column next
to it.

If the date is from the same month as the date in the row above then I
don't have to do anything but if the date is from another month then I
have to change the font of the number in the next column to bold.

Any help is greatly appreciated!!!!!!

Manuel



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default if statement depending on month

Fantastic! thought it would be much more complex.

Many thanks, Manuel

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
Find last day of month depending on criteria Jeff Jensen Excel Discussion (Misc queries) 12 January 7th 10 10:33 PM
Please help - subtotal using vlookup depending on variable month robstton Excel Discussion (Misc queries) 2 February 5th 09 12:27 AM
How do I add totals from a range of dates depending on the month? confused Excel Worksheet Functions 3 September 12th 06 02:53 AM
Display number of day of month depending on the year Dn_ Excel Discussion (Misc queries) 1 May 24th 06 05:36 PM
posting data from a form to a sheet depending on month melchead Excel Programming 3 September 27th 03 04:08 AM


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