Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Julie
 
Posts: n/a
Default Countif and then some...

hello - I would GREATLY appreciate anyones help here.

I am doing a countif(range, "=AB") however I want to in the next column do
the same countif(range, "=AB") and then countif(newrange, "07/01/2005)

I'm tryiing to count ab's in one column and then in the second count I need
to say ok out of the ab's I counted in the first formula how many are
07/01/2005)


Thank you again for anyones tips\formulas!!!! Julie
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

You'll need to use a sumproduct()

=SUMPRODUCT(--(range="AB"),--(newrangeDATE(2005,7,1)))


"Julie" wrote:

hello - I would GREATLY appreciate anyones help here.

I am doing a countif(range, "=AB") however I want to in the next column do
the same countif(range, "=AB") and then countif(newrange, "07/01/2005)

I'm tryiing to count ab's in one column and then in the second count I need
to say ok out of the ab's I counted in the first formula how many are
07/01/2005)


Thank you again for anyones tips\formulas!!!! Julie

  #3   Report Post  
Julie
 
Posts: n/a
Default

Hi Duke! Thanks so much for you response...

It was a great help - what if I need to do a date range instead say between
7/1/05 and 7/29/05? how would i put that in the formula?

"Duke Carey" wrote:

You'll need to use a sumproduct()

=SUMPRODUCT(--(range="AB"),--(newrangeDATE(2005,7,1)))


"Julie" wrote:

hello - I would GREATLY appreciate anyones help here.

I am doing a countif(range, "=AB") however I want to in the next column do
the same countif(range, "=AB") and then countif(newrange, "07/01/2005)

I'm tryiing to count ab's in one column and then in the second count I need
to say ok out of the ab's I counted in the first formula how many are
07/01/2005)


Thank you again for anyones tips\formulas!!!! Julie

  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

Julie -

You can just add one more condition to the formula:

=SUMPRODUCT(--(range="AB"),--(newrangeDATE(2005,7,1)),--(newrange<DATE(2005,7,29)))


"Julie" wrote:

Hi Duke! Thanks so much for you response...

It was a great help - what if I need to do a date range instead say between
7/1/05 and 7/29/05? how would i put that in the formula?

"Duke Carey" wrote:

You'll need to use a sumproduct()

=SUMPRODUCT(--(range="AB"),--(newrangeDATE(2005,7,1)))


"Julie" wrote:

hello - I would GREATLY appreciate anyones help here.

I am doing a countif(range, "=AB") however I want to in the next column do
the same countif(range, "=AB") and then countif(newrange, "07/01/2005)

I'm tryiing to count ab's in one column and then in the second count I need
to say ok out of the ab's I counted in the first formula how many are
07/01/2005)

Thank you again for anyones tips\formulas!!!! Julie

  #5   Report Post  
Julie
 
Posts: n/a
Default

Hi Duke thank you again!

for some reason this isn't calculating for me...
SUMPRODUCT(--(Sheet2!E2:E77="SK"),--(Sheet2!H2:H77=DATE(2005,7,1)),--(Sheet2!H2:H77<=DATE(2005,7,29)))

it gives me back a 0 where it should be returning 1

"Duke Carey" wrote:

Julie -

You can just add one more condition to the formula:

=SUMPRODUCT(--(range="AB"),--(newrangeDATE(2005,7,1)),--(newrange<DATE(2005,7,29)))


"Julie" wrote:

Hi Duke! Thanks so much for you response...

It was a great help - what if I need to do a date range instead say between
7/1/05 and 7/29/05? how would i put that in the formula?

"Duke Carey" wrote:

You'll need to use a sumproduct()

=SUMPRODUCT(--(range="AB"),--(newrangeDATE(2005,7,1)))


"Julie" wrote:

hello - I would GREATLY appreciate anyones help here.

I am doing a countif(range, "=AB") however I want to in the next column do
the same countif(range, "=AB") and then countif(newrange, "07/01/2005)

I'm tryiing to count ab's in one column and then in the second count I need
to say ok out of the ab's I counted in the first formula how many are
07/01/2005)

Thank you again for anyones tips\formulas!!!! Julie

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



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