Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Anthony
 
Posts: n/a
Default A Formula required - please!

Hi,

I want to count the number of items ordered each month from my 'data'
worksheet.

in cell C3 is the month of the year, and in cells D3:H3 are spaces for 5
items.
I need a formula that will count up the number of items ordered (with data
present in cells D3:H3) each time the month 'JULY' is entered into cells
C3:C100.
eg

C3 D3 E3 F3 G3 H3
July Apple Pear Banana Apple Orange

result would be 5 as july is shown in cell C3 and 5 items were ordered

or

C3 D3 E3 F3 G3 H3
May Apple Pear Banana Apple Orange

result would be 0 as July is not shown in cell C3

Hope that is clear, and any help apreciated


  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT((C3:C100="JULY")*(D3:H100<""))

Biff

"Anthony" wrote in message
...
Hi,

I want to count the number of items ordered each month from my 'data'
worksheet.

in cell C3 is the month of the year, and in cells D3:H3 are spaces for 5
items.
I need a formula that will count up the number of items ordered (with data
present in cells D3:H3) each time the month 'JULY' is entered into cells
C3:C100.
eg

C3 D3 E3 F3 G3 H3
July Apple Pear Banana Apple Orange

result would be 5 as july is shown in cell C3 and 5 items were ordered

or

C3 D3 E3 F3 G3 H3
May Apple Pear Banana Apple Orange

result would be 0 as July is not shown in cell C3

Hope that is clear, and any help apreciated




  #3   Report Post  
Anthony
 
Posts: n/a
Default

Biff
thanks - works great !

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT((C3:C100="JULY")*(D3:H100<""))

Biff

"Anthony" wrote in message
...
Hi,

I want to count the number of items ordered each month from my 'data'
worksheet.

in cell C3 is the month of the year, and in cells D3:H3 are spaces for 5
items.
I need a formula that will count up the number of items ordered (with data
present in cells D3:H3) each time the month 'JULY' is entered into cells
C3:C100.
eg

C3 D3 E3 F3 G3 H3
July Apple Pear Banana Apple Orange

result would be 5 as july is shown in cell C3 and 5 items were ordered

or

C3 D3 E3 F3 G3 H3
May Apple Pear Banana Apple Orange

result would be 0 as July is not shown in cell C3

Hope that is clear, and any help apreciated





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
Again-revealing the contents of formula srinivasan Excel Worksheet Functions 0 July 5th 05 06:25 AM
Frequency formula Curious Excel Worksheet Functions 1 April 12th 05 09:49 PM
addition to my date formula...required Juco Excel Worksheet Functions 5 January 30th 05 11:48 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Rate of return required formula Alorasdad Excel Worksheet Functions 1 November 18th 04 03:14 AM


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