Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Finding this month's cell

I have a spreadsheet with successive months in the cells of row A (actually
the dates correspond to the first of each month).

I need an expression which will tell me the cell reference (or just the
column reference) corresponding to this month. I know it can't be difficult
but so far my attempts have failed.

Can anyone help please?

Thanks,

V


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Finding this month's cell

if A1 thru L1 contain:

1/1/2007
2/1/2007
3/1/2007
4/1/2007
5/1/2007
6/1/2007
7/1/2007
8/1/2007
9/1/2007
10/1/2007
11/1/2007
12/1/2007

then
=MONTH(TODAY())
will return the correct column number. two for today
--
Gary's Student
gsnu200703


"Victor Delta" wrote:

I have a spreadsheet with successive months in the cells of row A (actually
the dates correspond to the first of each month).

I need an expression which will tell me the cell reference (or just the
column reference) corresponding to this month. I know it can't be difficult
but so far my attempts have failed.

Can anyone help please?

Thanks,

V



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Finding this month's cell

"Don Guillett" wrote in message
...
or this array entered to look for April
=MATCH(4,MONTH(B1:J1))


Many thanks. Just the job!

V




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Finding this month's cell

Glad to help

--
Don Guillett
SalesAid Software

"Victor Delta" wrote in message
...
"Don Guillett" wrote in message
...
or this array entered to look for April
=MATCH(4,MONTH(B1:J1))


Many thanks. Just the job!

V



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
Cell References [email protected] Excel Discussion (Misc queries) 2 November 15th 06 11:37 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


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