Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jamie
 
Posts: n/a
Default can a function do this?

Hi

In this function, i would like the cell to look at the current year and
month. if this is the current month and year, eg may2006, if true, add up a
list of names, if false eg mar 2006, keep the total that was counted when
true.

so the funtion needs to save the number counted when true and then keep it
for when the junction is false.

i have tried to do this without success. can anyone help?

thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default can a function do this?

No, you would need multiple cells for that as a cell cannot have a value and
a formula, one or the other, not both.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
Hi

In this function, i would like the cell to look at the current year and
month. if this is the current month and year, eg may2006, if true, add up

a
list of names, if false eg mar 2006, keep the total that was counted when
true.

so the funtion needs to save the number counted when true and then keep it
for when the junction is false.

i have tried to do this without success. can anyone help?

thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jamie
 
Posts: n/a
Default can a function do this?

thanks. but isnt that classed as circular?

eg. cell a1 has the function, the true total is saved to b1, then a1 = b2
if the a1 statement is false...

"Bob Phillips" wrote:

No, you would need multiple cells for that as a cell cannot have a value and
a formula, one or the other, not both.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
Hi

In this function, i would like the cell to look at the current year and
month. if this is the current month and year, eg may2006, if true, add up

a
list of names, if false eg mar 2006, keep the total that was counted when
true.

so the funtion needs to save the number counted when true and then keep it
for when the junction is false.

i have tried to do this without success. can anyone help?

thanks




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default can a function do this?

I don't think I fully understand what you are trying to do. Keep an example
of TRUE and an example of FALSE.
--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
thanks. but isnt that classed as circular?

eg. cell a1 has the function, the true total is saved to b1, then a1 = b2
if the a1 statement is false...

"Bob Phillips" wrote:

No, you would need multiple cells for that as a cell cannot have a value

and
a formula, one or the other, not both.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
Hi

In this function, i would like the cell to look at the current year

and
month. if this is the current month and year, eg may2006, if true,

add up
a
list of names, if false eg mar 2006, keep the total that was counted

when
true.

so the funtion needs to save the number counted when true and then

keep it
for when the junction is false.

i have tried to do this without success. can anyone help?

thanks






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jamie
 
Posts: n/a
Default can a function do this?

i am aware each function has a true and false. what do you mean?



"Bob Phillips" wrote:

I don't think I fully understand what you are trying to do. Keep an example
of TRUE and an example of FALSE.
--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
thanks. but isnt that classed as circular?

eg. cell a1 has the function, the true total is saved to b1, then a1 = b2
if the a1 statement is false...

"Bob Phillips" wrote:

No, you would need multiple cells for that as a cell cannot have a value

and
a formula, one or the other, not both.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
Hi

In this function, i would like the cell to look at the current year

and
month. if this is the current month and year, eg may2006, if true,

add up
a
list of names, if false eg mar 2006, keep the total that was counted

when
true.

so the funtion needs to save the number counted when true and then

keep it
for when the junction is false.

i have tried to do this without success. can anyone help?

thanks








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default can a function do this?

I mean give an example where it does equal current month and year with
required results, and then one where it doesn't.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
i am aware each function has a true and false. what do you mean?



"Bob Phillips" wrote:

I don't think I fully understand what you are trying to do. Keep an

example
of TRUE and an example of FALSE.
--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
thanks. but isnt that classed as circular?

eg. cell a1 has the function, the true total is saved to b1, then a1

= b2
if the a1 statement is false...

"Bob Phillips" wrote:

No, you would need multiple cells for that as a cell cannot have a

value
and
a formula, one or the other, not both.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"jamie" wrote in message
...
Hi

In this function, i would like the cell to look at the current

year
and
month. if this is the current month and year, eg may2006, if

true,
add up
a
list of names, if false eg mar 2006, keep the total that was

counted
when
true.

so the funtion needs to save the number counted when true and then

keep it
for when the junction is false.

i have tried to do this without success. can anyone help?

thanks








  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jamie
 
Posts: n/a
Default can a function do this?

no, i mean each month has a serparate cell. when the next month starts, then
the following cell will count up how many names in the list and the previous
month, that cell will keep the amount it had when true.

"Don Guillett" wrote:

Are you saying that you want the formula to show April 2006 until May is
reached and then show May?


--
Don Guillett
SalesAid Software

"jamie" wrote in message
...
Hi

In this function, i would like the cell to look at the current year and
month. if this is the current month and year, eg may2006, if true, add up
a
list of names, if false eg mar 2006, keep the total that was counted when
true.

so the funtion needs to save the number counted when true and then keep it
for when the junction is false.

i have tried to do this without success. can anyone help?

thanks




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
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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