Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ronil Patel
 
Posts: n/a
Default Excel Count Formula

I Have a spread sheet if 10,000 records. In column A, I have a salespersons
initials. In another column(ex. R) the cell is either blank or has a 1. 1
states that the product was sold.

Can someone help me out with a formula which will add up the number if both
fields are True. I have tried many formulas but was unseccessful. How would i
be able to write a formula which would look like the following.

Count=(A:A=AD and R:R=1) i need both columns for that record to match in
order for it to add.

PLEASE HELP!!!

Thank You
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=SUMPRODUCT(--(A2:A1000="AD"),--(R2:R1000=1))

If the 1 is a text 1 enclose it in apostrophes "1"


Regards,

Peo Sjoblom

"Ronil Patel" wrote:

I Have a spread sheet if 10,000 records. In column A, I have a salespersons
initials. In another column(ex. R) the cell is either blank or has a 1. 1
states that the product was sold.

Can someone help me out with a formula which will add up the number if both
fields are True. I have tried many formulas but was unseccessful. How would i
be able to write a formula which would look like the following.

Count=(A:A=AD and R:R=1) i need both columns for that record to match in
order for it to add.

PLEASE HELP!!!

Thank You

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 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 03:38 AM
Formula to make Excel count business days/skip weekends? Inga Excel Worksheet Functions 1 November 17th 04 07:45 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM
How can I use count function in excel where I have several criter. Princess V Excel Worksheet Functions 14 November 3rd 04 10:18 PM


All times are GMT +1. The time now is 06:54 PM.

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"