Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Watercolor artist
 
Posts: n/a
Default Need formula to count number of books sold

Column D contains the books that were sold during a month. A book can appear
more than once. Column E contains how many of the book were sold.

Example:

Col. D. Col. E
a 5
b 3
b 4
c 1
d 7

I need a formula that will use the value in Cell F1 (Cell F1 will contain
the name of the book I want to count) and then tell me how many copies of
that book were sold. So, for book b it would return 7.

Thanks,
Howard
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

=sumif(D:D,=f1,E:E)
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Watercolor artist" wrote in
message ...
Column D contains the books that were sold during a month. A book can

appear
more than once. Column E contains how many of the book were sold.

Example:

Col. D. Col. E
a 5
b 3
b 4
c 1
d 7

I need a formula that will use the value in Cell F1 (Cell F1 will contain
the name of the book I want to count) and then tell me how many copies of
that book were sold. So, for book b it would return 7.

Thanks,
Howard



  #3   Report Post  
Watercolor artist
 
Posts: n/a
Default


Anne,

If I enter the formula as you have it, I get an error message. I need to
enter it as =sumif(D:D,f1,E:E).

Howard

"Anne Troy" wrote:

=sumif(D:D,=f1,E:E)
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Watercolor artist" wrote in
message ...
Column D contains the books that were sold during a month. A book can

appear
more than once. Column E contains how many of the book were sold.

Example:

Col. D. Col. E
a 5
b 3
b 4
c 1
d 7

I need a formula that will use the value in Cell F1 (Cell F1 will contain
the name of the book I want to count) and then tell me how many copies of
that book were sold. So, for book b it would return 7.

Thanks,
Howard




  #4   Report Post  
tjtjjtjt
 
Posts: n/a
Default

=SUMIF(D:D,F1,E:E)
--
tj


"Watercolor artist" wrote:

Column D contains the books that were sold during a month. A book can appear
more than once. Column E contains how many of the book were sold.

Example:

Col. D. Col. E
a 5
b 3
b 4
c 1
d 7

I need a formula that will use the value in Cell F1 (Cell F1 will contain
the name of the book I want to count) and then tell me how many copies of
that book were sold. So, for book b it would return 7.

Thanks,
Howard

  #5   Report Post  
Watercolor artist
 
Posts: n/a
Default

Thanks, it worked. I assume it means check the values in column D. If any
match what's in F1, sum the matching value in column E. Is that correct?

"tjtjjtjt" wrote:

=SUMIF(D:D,F1,E:E)
--
tj


"Watercolor artist" wrote:

Column D contains the books that were sold during a month. A book can appear
more than once. Column E contains how many of the book were sold.

Example:

Col. D. Col. E
a 5
b 3
b 4
c 1
d 7

I need a formula that will use the value in Cell F1 (Cell F1 will contain
the name of the book I want to count) and then tell me how many copies of
that book were sold. So, for book b it would return 7.

Thanks,
Howard



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
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Count If formula Jo Davis Excel Discussion (Misc queries) 6 May 19th 05 01:59 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Count number of days in given month? Bryan Excel Worksheet Functions 10 February 2nd 05 11:44 PM


All times are GMT +1. The time now is 02:25 PM.

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"