Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
countif help, please
Hello – need help with a formula. I’ve tried searching, looked through about 30 threads but can’t find a match. I need to search a column for 3 different parameters (“RC”,”NC”,”RS”) and if it finds it in a cell, I need to go to specific cell in another column (same row) and read (“complete” or “not done”) then total all those findings into the formula cell. I try to learn this stuff on my own, but my brain is just too tired today... Thanks rdj -- redneck joe ------------------------------------------------------------------------ redneck joe's Profile: http://www.excelforum.com/member.php...o&userid=32570 View this thread: http://www.excelforum.com/showthread...hreadid=523676 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
countif help, please
Hi
Try something like this: =IF(OR(A2="RC",A2="NC",A2="RS"),"Complete","Not done") You can then fill this formula down all of your rows. For a total use COUNTIF(): =COUNTIF(C2:C1000,"Completed") Andy. "redneck joe" wrote in message ... Hello - need help with a formula. I've tried searching, looked through about 30 threads but can't find a match. I need to search a column for 3 different parameters ("RC","NC","RS") and if it finds it in a cell, I need to go to specific cell in another column (same row) and read ("complete" or "not done") then total all those findings into the formula cell. I try to learn this stuff on my own, but my brain is just too tired today... Thanks rdj -- redneck joe ------------------------------------------------------------------------ redneck joe's Profile: http://www.excelforum.com/member.php...o&userid=32570 View this thread: http://www.excelforum.com/showthread...hreadid=523676 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
countif help, please
Can I combine the two into one formula? I've got the countif part for the first parameter (NC,RC,RS) to pull. Then if it sees one of those it needs to then check another specific cell for the complete/not complete and sum those only all those. The complete/not complete The column containing the NC,RC,RS can also contain other (job) types, but I only want to count the three listed, either complete.not complete. Make sense? Hi Try something like this: =IF(OR(A2="RC",A2="NC",A2="RS"),"Complete","Not done") You can then fill this formula down all of your rows. For a total use COUNTIF(): =COUNTIF(C2:C1000,"Completed") Andy. "redneck joe" wrote in message ... Hello - need help with a formula. I've tried searching, looked through about 30 threads but can't find a match. I need to search a column for 3 different parameters ("RC","NC","RS") and if it finds it in a cell, I need to go to specific cell in another column (same row) and read ("complete" or "not done") then total all those findings into the formula cell. I try to learn this stuff on my own, but my brain is just too tired today... Thanks rdj -- redneck joe ------------------------------------------------------------------------ redneck joe's Profile: http://www.excelforum.com/member.php...o&userid=32570 View this thread: http://www.excelforum.com/showthread...hreadid=523676 -- redneck joe ------------------------------------------------------------------------ redneck joe's Profile: http://www.excelforum.com/member.php...o&userid=32570 View this thread: http://www.excelforum.com/showthread...hreadid=523676 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
countif help, please
=COUNTIF(A1:A1000,"NC")+COUNTIF(A1:A1000,"RC")+COU NTIF(A1:A1000,"RS") But then you don't get to have the Complete Not-Completes filled in on the other column -- kraljb ------------------------------------------------------------------------ kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955 View this thread: http://www.excelforum.com/showthread...hreadid=523676 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
countif help, please
Not sure if this is what you want or not: =SUMPRODUCT((A1:A5000={"RC","NC","RS"})*(B1:B5000= "complete")) This gives you the number of times the word "complete" appears in column B and the letters RC, NC or RS appear in Col A on the same row. Is that what you're looking for? -- Cutter ------------------------------------------------------------------------ Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848 View this thread: http://www.excelforum.com/showthread...hreadid=523676 |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
countif help, please
not quite - I tried it and got an N/A. I'm sure I'm not explaining it correctly. in your formula, the A column individual jobs with corresponding job types (of which there are many) I am only concerned with the three listed. Then if it finds one in column A, it needs to look over to column B and read the complete/not complete for this indiviual job. maybe this will help? If job type in column A is X, then read cell X in same row, column B, then if "complete", sum all "completes" of job type X. ?? Cutter Wrote: Not sure if this is what you want or not: =SUMPRODUCT((A1:A5000={"RC","NC","RS"})*(B1:B5000= "complete")) This gives you the number of times the word "complete" appears in column B and the letters RC, NC or RS appear in Col A on the same row. Is that what you're looking for? -- redneck joe ------------------------------------------------------------------------ redneck joe's Profile: http://www.excelforum.com/member.php...o&userid=32570 View this thread: http://www.excelforum.com/showthread...hreadid=523676 |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
countif help, please
That is what the formula I gave you does. It looks at column A and if the value found is either RC, NC or RS it looks at column B. If it finds the word "complete" in column B it counts it. The end result is the total number of times RC and "complete" are on the same row + NC and "complete" are on the same row + RS and "complete" are on the same row. If that isn't what you want then I don't understand what you're looking for. -- Cutter ------------------------------------------------------------------------ Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848 View this thread: http://www.excelforum.com/showthread...hreadid=523676 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Countif Formula /Sort Bug??? | Excel Discussion (Misc queries) | |||
COUNTIF with Logic? | Excel Worksheet Functions | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
Countif - Countif | Excel Worksheet Functions |