Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I'm trying to count/sum the number of rows that have multiple date entries and based on certain criteria. I've been working with "Counta", "Sum" & "IF/AND" functions. Example: There's a date entry in cells of Column A, C & F. I want to first check or identify if date is in A or C, then check if there's a date in F. If both are true, then return "0", if just A or C is true, then return "1", and if just F is true, then return "0". This is the latest function I was working with: {=SUM((IF(A26VALUE("1/1/05")+(C26VALUE("1/1/05")),1)*(F26="")))} Thx for any help, Ken -- KBW ------------------------------------------------------------------------ KBW's Profile: http://www.excelforum.com/member.php...o&userid=32730 View this thread: http://www.excelforum.com/showthread...hreadid=525663 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi!
Are you checking for a specific date OR any date? This will work for ANY date. You didn't define what to do if none of the cells has a date so this formula will leave the cell blank for that condition: =IF(AND(COUNT(A26,C26),COUNT(F26)),0,IF(COUNT(A26, C26),1,IF(COUNT(F26),0,""))) Biff "KBW" wrote in message ... I'm trying to count/sum the number of rows that have multiple date entries and based on certain criteria. I've been working with "Counta", "Sum" & "IF/AND" functions. Example: There's a date entry in cells of Column A, C & F. I want to first check or identify if date is in A or C, then check if there's a date in F. If both are true, then return "0", if just A or C is true, then return "1", and if just F is true, then return "0". This is the latest function I was working with: {=SUM((IF(A26VALUE("1/1/05")+(C26VALUE("1/1/05")),1)*(F26="")))} Thx for any help, Ken -- KBW ------------------------------------------------------------------------ KBW's Profile: http://www.excelforum.com/member.php...o&userid=32730 View this thread: http://www.excelforum.com/showthread...hreadid=525663 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Thx Biff, Worked perfectly, yes, I just needed to validate any date in the cell. I appreciate the help! Ken -- KBW ------------------------------------------------------------------------ KBW's Profile: http://www.excelforum.com/member.php...o&userid=32730 View this thread: http://www.excelforum.com/showthread...hreadid=525663 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
Biff "KBW" wrote in message ... Thx Biff, Worked perfectly, yes, I just needed to validate any date in the cell. I appreciate the help! Ken -- KBW ------------------------------------------------------------------------ KBW's Profile: http://www.excelforum.com/member.php...o&userid=32730 View this thread: http://www.excelforum.com/showthread...hreadid=525663 |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Hey Biff, Please read my last message, and I'm trying to also sum the total row counts into one cell. So if I were to have say 100 rows with 25 of them having "1", then this single cell would display "25". thx, Ken -- KBW ------------------------------------------------------------------------ KBW's Profile: http://www.excelforum.com/member.php...o&userid=32730 View this thread: http://www.excelforum.com/showthread...hreadid=525663 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi!
Not really following you on this one. So, do you want to count all the cells in which the formula returns a 1? One of these will do: =SUM(A1:A100) =COUNTIF(A1:A100,1) Biff "KBW" wrote in message ... Hey Biff, Please read my last message, and I'm trying to also sum the total row counts into one cell. So if I were to have say 100 rows with 25 of them having "1", then this single cell would display "25". thx, Ken -- KBW ------------------------------------------------------------------------ KBW's Profile: http://www.excelforum.com/member.php...o&userid=32730 View this thread: http://www.excelforum.com/showthread...hreadid=525663 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
pasting data from a website changes text to date | Excel Discussion (Misc queries) | |||
Sorting data by Date | Excel Worksheet Functions | |||
Extracting data from the current date | Excel Worksheet Functions | |||
unwanted number to date conversion while pasting data from web | Excel Worksheet Functions | |||
Count data entries and date problem | Excel Worksheet Functions |