#1   Report Post  
Posted to microsoft.public.excel.misc
redneck joe
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
redneck joe
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
kraljb
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
redneck joe
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default 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
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
Countif Formula /Sort Bug??? orcfodder Excel Discussion (Misc queries) 2 January 12th 06 10:04 AM
COUNTIF with Logic? Leonhardtk Excel Worksheet Functions 3 January 10th 06 11:09 PM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


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