If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > compare

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-07, 21:33
OCM OCM is offline
Registered User
 
Join Date: Sep 2002
Location: USA
Posts: 63
compare

Greetings,

In the attached file, I like to compare the LIST in cell A against cell C and if there is a match, I want to take the number from COUNT column (cell D), copy into column B, and add them to get one total. What is the best way to accomplish this?
Attached Files
File Type: zip sample.zip (2.1 KB, 24 views)
Reply With Quote
  #2 (permalink)  
Old 03-14-07, 12:55
michaeldavid michaeldavid is offline
Registered User
 
Join Date: Dec 2004
Posts: 35
Try This

Paste this into cell B2 and drag it down to B12

{=SUM(IF($C$2:$C$12=A2,$D$2:$D$12),0)}

Hope this is what you wanted
Mike
Reply With Quote
  #3 (permalink)  
Old 03-14-07, 13:16
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy. What about near matches? I.e. in column A you have "A & T " (which has two spaces at the end, as well as spaces between characters) and in Column C you have "A&T " (one space at the end, and no spaces between characters).

This will affect your data integrity and results.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On