Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Una
 
Posts: n/a
Default Lookup the month in a date string 01/03/05

Hi

I am trying to create an if scenario within a table that lookups a date in
one table (table a) and enters the data into another table (table b) in the
correct monthly columns. I have currently calculated this by showing the date
string as 01/03/05 in table a and within the columns in table b have the
months per column as first day of the month i.e. 01/01/05, 01/02/05 and then
format these to show Jan-05, Feb-05. This works out ok but what I would
prefer is to show in table a the actual date i.e. 14/03/05 but in table b
still have the data within the march column. I am aware there is a formula
that allows a search of the month but I do not know this, can you help?

Many thanks,

Úna
  #2   Report Post  
KL
 
Posts: n/a
Default

Hi Una,

I am not sure completely understand what you're trying to achieve, but isn't
the following what you'ra after:

if [A1]=14/03/05
then =MONTH(A1) will return 3

Regards,
KL
"Una" wrote in message
...
Hi

I am trying to create an if scenario within a table that lookups a date in
one table (table a) and enters the data into another table (table b) in
the
correct monthly columns. I have currently calculated this by showing the
date
string as 01/03/05 in table a and within the columns in table b have the
months per column as first day of the month i.e. 01/01/05, 01/02/05 and
then
format these to show Jan-05, Feb-05. This works out ok but what I would
prefer is to show in table a the actual date i.e. 14/03/05 but in table b
still have the data within the march column. I am aware there is a formula
that allows a search of the month but I do not know this, can you help?

Many thanks,

Úna



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
Count the occurances of a month in a range of date fields Keith Brown Excel Worksheet Functions 8 March 14th 05 11:24 AM
How to convert string to a date galsaba Excel Worksheet Functions 3 March 4th 05 05:20 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM
Lookup a date between other dates spalmarez Excel Worksheet Functions 4 November 2nd 04 09:06 AM
Return the end of month date from a date Steve F. Excel Worksheet Functions 3 October 28th 04 06:17 PM


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