Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
hey a function i have counts a list of names if the logical test is true, but if the logical test is false, how would i get it to keep the result it had from when it was true? eg. if the month and year is equal to the current month and year, perform action, if not, keep the result from the true test. it is column C that has this function in. at the moment, in the false test, the function looks at the above cell, i know this is wrong. i have attached an example doc to explain. thanks Jamie +-------------------------------------------------------------------+ |Filename: Book.zip | |Download: http://www.excelforum.com/attachment.php?postid=4767 | +-------------------------------------------------------------------+ -- jay d ------------------------------------------------------------------------ jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487 View this thread: http://www.excelforum.com/showthread...hreadid=542487 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
anyone able to help? -- jay d ------------------------------------------------------------------------ jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487 View this thread: http://www.excelforum.com/showthread...hreadid=542487 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
anyone able to help? -- jay d ------------------------------------------------------------------------ jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487 View this thread: http://www.excelforum.com/showthread...hreadid=542487 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
anyone able to help? -- jay d ------------------------------------------------------------------------ jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487 View this thread: http://www.excelforum.com/showthread...hreadid=542487 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
Many contributors are reluctant to open an unknown file - can you try
to describe your problem more fully here, with a copy of the formula you are using now? Pete |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
here is the code Code: -------------------- =IF(YEAR(TODAY())=$A$3,IF(MONTH(TODAY())=$B11,COUN TA($A$35:$A$59),0),$C10) -------------------- a3=year b11=month in number format a35:a59=list of names it can depend on month and year this function. -- jay d ------------------------------------------------------------------------ jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487 View this thread: http://www.excelforum.com/showthread...hreadid=542487 |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
I still don't understand what it is you want to do. If you want the
value_when_true to show even if the condition is false, then you don't need a condition, so you could just have: =COUNTA($A$35:$A$59) I'm not sure if this helps. Pete |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
unfortunately that does not work. as the list of names changes each month. so if i did a counta function, the previous months would change. eg jan = 6 people feb = 4 people mar = 3 people so when the month and year is current, add the list, if not keep the total people in the cell from the month when it was true. does this help? -- jay d ------------------------------------------------------------------------ jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487 View this thread: http://www.excelforum.com/showthread...hreadid=542487 |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
function help-keeping data from true when false
can anyone else help? -- jay d ------------------------------------------------------------------------ jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487 View this thread: http://www.excelforum.com/showthread...hreadid=542487 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
List date adjacent to duplicates? | Excel Worksheet Functions | |||
ranking query | Excel Discussion (Misc queries) | |||
First part of "IF" function returns false even if true. ?? | Excel Worksheet Functions | |||
Pulling data from 1 sheet to another | Excel Worksheet Functions | |||
Grand Totals @ Same Place | Excel Worksheet Functions |