Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Excel Formula Needed

I would like to know how to make excel check an entire column line by line
for a particular name and if the name exists I want it to go to another row
and count up all the "R" that are there for that name. Does anyone know how
to do this?
--
Barb
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel Formula Needed

Try something like this:

=SUMPRODUCT(--(A1:A10="Barb"),--(B1:B10="R"))

Better to use cells to hold the criteria:

D1 = Barb
E1 = R

=SUMPRODUCT(--(A1:A10=D1),--(B1:B10=E1))

Note that with SUMPRODUCT you *can't* use entire columns as range references
unless you're using Excel 2007.

--
Biff
Microsoft Excel MVP


"Barb Manjarres" wrote in message
...
I would like to know how to make excel check an entire column line by line
for a particular name and if the name exists I want it to go to another
row
and count up all the "R" that are there for that name. Does anyone know
how
to do this?
--
Barb



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 168
Default Excel Formula Needed

Hi Barb,

SUMIF is probably the function you are looking,
or maybe SUMPRODUCT.

Take a look at this site for info on the use of both functions.
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

HTH
Martin



"Barb Manjarres" wrote in message
...
I would like to know how to make excel check an entire column line by line
for a particular name and if the name exists I want it to go to another
row
and count up all the "R" that are there for that name. Does anyone know
how
to do this?
--
Barb



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
Excel Formula needed Coopster8 Excel Discussion (Misc queries) 15 June 5th 07 11:56 PM
Excel formula needed LesLdh Excel Discussion (Misc queries) 4 September 25th 06 02:44 PM
Excel formula - help needed! b1888 Excel Worksheet Functions 7 June 7th 06 01:35 PM
Excel - formula help needed GimmeStars Excel Discussion (Misc queries) 1 January 31st 06 05:12 PM
Excel formula help needed SteveFox Excel Worksheet Functions 2 November 23rd 05 12:52 AM


All times are GMT +1. The time now is 04:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"