#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
martins
 
Posts: n/a
Default EXcel Formula


hi

can anyone help; I have a spreadsheet which lists the clients within
our business and the month that they are due to be visited - The client
name is in column a1 followed by 12 columns representing the months of
the year b1-m1: at present, to record that a visit is due, the month is
manually entered in the approriate columns b1-m1 for example as "jan06"
in column b1; it is usually the case that a further visit will be due
in 3 months therefore, my question is this: I would like a formula that
will autumatically return "apr06" in cell e1 if "jan06" is entered in
cell b1 - i would like to show this in the format described and not as
a number -

Sorry if it sounds confusing - but can anyone help?


--
martins
------------------------------------------------------------------------
martins's Profile: http://www.excelforum.com/member.php...o&userid=31616
View this thread: http://www.excelforum.com/showthread...hreadid=513106

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default EXcel Formula

If you put a real date in B2 (you can format it as mmmyy), then you can use

=IF(MONTH(B2)+3=COLUMN()-1,TEXT(DATE(YEAR(B2),MONTH(B2)+3,1),"mmmyy"),"")

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"martins" wrote in
message ...

hi

can anyone help; I have a spreadsheet which lists the clients within
our business and the month that they are due to be visited - The client
name is in column a1 followed by 12 columns representing the months of
the year b1-m1: at present, to record that a visit is due, the month is
manually entered in the approriate columns b1-m1 for example as "jan06"
in column b1; it is usually the case that a further visit will be due
in 3 months therefore, my question is this: I would like a formula that
will autumatically return "apr06" in cell e1 if "jan06" is entered in
cell b1 - i would like to show this in the format described and not as
a number -

Sorry if it sounds confusing - but can anyone help?


--
martins
------------------------------------------------------------------------
martins's Profile:

http://www.excelforum.com/member.php...o&userid=31616
View this thread: http://www.excelforum.com/showthread...hreadid=513106



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default EXcel Formula

Hi

I think Bob meant to put a $ sign in front of the column reference
before you enter the formula in C2 and copy across through D2:M2
=IF(MONTH($B2)+3=COLUMN()-1,TEXT(DATE(YEAR($B2),MONTH($B2)+3,1),"mmmyy"),"")

If you perhaps wanted to make it a little more flexible,and allow for
appointments which are any number of months ahead, then if you used
column C to record the number of months, 3, 6 or whatever then a
modification to Bob's formula
=IF(MONTH($B2)+$C2=COLUMN()-2,TEXT(DATE(YEAR($B2),MONTH($B2)+$C2,1),"mmmyy")," ")
pasted into D2 and copied across through E2:N2 would permit this.

--
Regards

Roger Govier


"Bob Phillips" wrote in message
...
If you put a real date in B2 (you can format it as mmmyy), then you
can use

=IF(MONTH(B2)+3=COLUMN()-1,TEXT(DATE(YEAR(B2),MONTH(B2)+3,1),"mmmyy"),"")

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"martins" wrote
in
message ...

hi

can anyone help; I have a spreadsheet which lists the clients within
our business and the month that they are due to be visited - The
client
name is in column a1 followed by 12 columns representing the months
of
the year b1-m1: at present, to record that a visit is due, the month
is
manually entered in the approriate columns b1-m1 for example as
"jan06"
in column b1; it is usually the case that a further visit will be due
in 3 months therefore, my question is this: I would like a formula
that
will autumatically return "apr06" in cell e1 if "jan06" is entered in
cell b1 - i would like to show this in the format described and not
as
a number -

Sorry if it sounds confusing - but can anyone help?


--
martins
------------------------------------------------------------------------
martins's Profile:

http://www.excelforum.com/member.php...o&userid=31616
View this thread:
http://www.excelforum.com/showthread...hreadid=513106





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
martins
 
Posts: n/a
Default EXcel Formula


thanks for your help

do i literally need to enter the formula as is, or do I need to add
information to complete the equasion?


--
martins
------------------------------------------------------------------------
martins's Profile: http://www.excelforum.com/member.php...o&userid=31616
View this thread: http://www.excelforum.com/showthread...hreadid=513106

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default EXcel Formula

With Roger's mod for column,. enter as is.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"martins" wrote in
message ...

thanks for your help

do i literally need to enter the formula as is, or do I need to add
information to complete the equasion?


--
martins
------------------------------------------------------------------------
martins's Profile:

http://www.excelforum.com/member.php...o&userid=31616
View this thread: http://www.excelforum.com/showthread...hreadid=513106





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
Excel displaying formulae as constant and not calculating formula gpbell Excel Worksheet Functions 2 February 16th 06 08:26 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
How can i get an If formula in excel to edit another cell? Jimmy Hoffa Excel Worksheet Functions 2 August 16th 05 05:53 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Formula Integrity Not Preserved During Sort in Excel 2000 Kevin Excel Discussion (Misc queries) 1 April 15th 05 10:26 PM


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