Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ycart88
 
Posts: n/a
Default CountIf Function Help

Hi all,

I'm been trying to figure this out for days... I need to take the following
sales lead information and plug some data from it into the summary page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts Set ("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's how far
I've gotten, and yes, I'm aware it's very flawed as I can only figure out how
to count ALL of the "Y"'s and not just the ones for that builder ("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) - COUNTIF(LEADS!Y2:Y599,"N")


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the

following
sales lead information and plug some data from it into the summary page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts Set

("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's how

far
I've gotten, and yes, I'm aware it's very flawed as I can only figure out

how
to count ALL of the "Y"'s and not just the ones for that builder ("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) - COUNTIF(LEADS!Y2:Y599,"N")




  #3   Report Post  
ycart88
 
Posts: n/a
Default

I'm afraid all this returns is a zero... :(

But thank you!


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the

following
sales lead information and plug some data from it into the summary page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts Set

("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's how

far
I've gotten, and yes, I'm aware it's very flawed as I can only figure out

how
to count ALL of the "Y"'s and not just the ones for that builder ("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) - COUNTIF(LEADS!Y2:Y599,"N")





  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

I assumed that 'BLDR LEAD RPT'!A4 holds the test value, such as ASH. Is that
correct?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ycart88" wrote in message
...
I'm afraid all this returns is a zero... :(

But thank you!


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the

following
sales lead information and plug some data from it into the summary

page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts Set

("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's

how
far
I've gotten, and yes, I'm aware it's very flawed as I can only figure

out
how
to count ALL of the "Y"'s and not just the ones for that builder

("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) -

COUNTIF(LEADS!Y2:Y599,"N")







  #5   Report Post  
ycart88
 
Posts: n/a
Default

Yes, you assumed correctly.


"Bob Phillips" wrote:

I assumed that 'BLDR LEAD RPT'!A4 holds the test value, such as ASH. Is that
correct?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ycart88" wrote in message
...
I'm afraid all this returns is a zero... :(

But thank you!


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the
following
sales lead information and plug some data from it into the summary

page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts Set
("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's

how
far
I've gotten, and yes, I'm aware it's very flawed as I can only figure

out
how
to count ALL of the "Y"'s and not just the ones for that builder

("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) -

COUNTIF(LEADS!Y2:Y599,"N")










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

Maybe just a slight modification to Bob's formula (changes the first range to
column C from column A)

=SUMPRODUCT(--(LEADS!C2:C599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the

following
sales lead information and plug some data from it into the summary page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts Set

("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's how

far
I've gotten, and yes, I'm aware it's very flawed as I can only figure out

how
to count ALL of the "Y"'s and not just the ones for that builder ("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) - COUNTIF(LEADS!Y2:Y599,"N")





  #7   Report Post  
ycart88
 
Posts: n/a
Default

Thanks, Duke and Bob! You guys are the best! Say, if I had a date column
and wanted to narrow down the YTD field to MTD, would you happen to know what
I could add to this formula? :)

THANKS again!!!
Tracy

"Duke Carey" wrote:

Maybe just a slight modification to Bob's formula (changes the first range to
column C from column A)

=SUMPRODUCT(--(LEADS!C2:C599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the

following
sales lead information and plug some data from it into the summary page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts Set

("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's how

far
I've gotten, and yes, I'm aware it's very flawed as I can only figure out

how
to count ALL of the "Y"'s and not just the ones for that builder ("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) - COUNTIF(LEADS!Y2:Y599,"N")





  #8   Report Post  
Bob Phillips
 
Posts: n/a
Default

Do you mean the figures for a certain month? If so then use something like

=SUMPRODUCT(--(TEXT(LEADS!A2:A599,"mmm")="Mar"),(--(LEADS!C2:C599='BLDR LEAD
RPT'!A4),--(LEADS!Y2:Y599="Y"))


--
HTH

Bob Phillips

"ycart88" wrote in message
...
Thanks, Duke and Bob! You guys are the best! Say, if I had a date column
and wanted to narrow down the YTD field to MTD, would you happen to know

what
I could add to this formula? :)

THANKS again!!!
Tracy

"Duke Carey" wrote:

Maybe just a slight modification to Bob's formula (changes the first

range to
column C from column A)

=SUMPRODUCT(--(LEADS!C2:C599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD

RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the
following
sales lead information and plug some data from it into the summary

page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts

Set
("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's

how
far
I've gotten, and yes, I'm aware it's very flawed as I can only

figure out
how
to count ALL of the "Y"'s and not just the ones for that builder

("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) -

COUNTIF(LEADS!Y2:Y599,"N")







  #9   Report Post  
ycart88
 
Posts: n/a
Default

Bob -

You're awesome. I can't tell you how much I appreciate all of your help on
this!! Here's what ended up working for me in the end:

=SUMPRODUCT(--(TEXT(LEADS!A2:A2528,"mmm")="May"),--(LEADS!C2:C2528='BLDR
LEAD RPT'!A3),--(LEADS!Y2:Y2528="Y"))

Thanks again!
Tracy


"Bob Phillips" wrote:

Do you mean the figures for a certain month? If so then use something like

=SUMPRODUCT(--(TEXT(LEADS!A2:A599,"mmm")="Mar"),(--(LEADS!C2:C599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))


--
HTH

Bob Phillips

"ycart88" wrote in message
...
Thanks, Duke and Bob! You guys are the best! Say, if I had a date column
and wanted to narrow down the YTD field to MTD, would you happen to know

what
I could add to this formula? :)

THANKS again!!!
Tracy

"Duke Carey" wrote:

Maybe just a slight modification to Bob's formula (changes the first

range to
column C from column A)

=SUMPRODUCT(--(LEADS!C2:C599='BLDR LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD

RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take the
following
sales lead information and plug some data from it into the summary

page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6 Appts

Set
("Y"),
I'd like to put a count in the corresponding YTD Appts cell. Here's

how
far
I've gotten, and yes, I'm aware it's very flawed as I can only

figure out
how
to count ALL of the "Y"'s and not just the ones for that builder

("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) -

COUNTIF(LEADS!Y2:Y599,"N")








  #10   Report Post  
Bob Phillips
 
Posts: n/a
Default

My pleasure Tracy. Just remember it is short form Month with that formula
(Jan, Feb., etc.), seeing as May is short and long form :-)

Bob

"ycart88" wrote in message
...
Bob -

You're awesome. I can't tell you how much I appreciate all of your help

on
this!! Here's what ended up working for me in the end:

=SUMPRODUCT(--(TEXT(LEADS!A2:A2528,"mmm")="May"),--(LEADS!C2:C2528='BLDR
LEAD RPT'!A3),--(LEADS!Y2:Y2528="Y"))

Thanks again!
Tracy


"Bob Phillips" wrote:

Do you mean the figures for a certain month? If so then use something

like

=SUMPRODUCT(--(TEXT(LEADS!A2:A599,"mmm")="Mar"),(--(LEADS!C2:C599='BLDR

LEAD RPT'!A4),--(LEADS!Y2:Y599="Y"))


--
HTH

Bob Phillips

"ycart88" wrote in message
...
Thanks, Duke and Bob! You guys are the best! Say, if I had a date

column
and wanted to narrow down the YTD field to MTD, would you happen to

know
what
I could add to this formula? :)

THANKS again!!!
Tracy

"Duke Carey" wrote:

Maybe just a slight modification to Bob's formula (changes the first

range to
column C from column A)

=SUMPRODUCT(--(LEADS!C2:C599='BLDR LEAD

RPT'!A4),--(LEADS!Y2:Y599="Y"))


"Bob Phillips" wrote:

=SUMPRODUCT(--(LEADS!A2:A599='BLDR LEAD

RPT'!A4),--(LEADS!Y2:Y599="Y"))

I think :-)

--
HTH

Bob Phillips

"ycart88" wrote in message
...
Hi all,

I'm been trying to figure this out for days... I need to take

the
following
sales lead information and plug some data from it into the

summary
page as
shown below...

DATA EXAMPLE (Sales Leads):

LEAD DATE SOURCE HOMEBUILDER ... APPT SET
(Column A) (Column B) (Column C) ... (Column Y)
3/28/05 Homebuilder ASH N
3/28/05 Homebuilder ASH Y

SUMMARY EXAMPLE:
Builder YTD Leads YTD Appts
ASH 43
CAC 33
CAL 8
COR 0

So basically, if the Homebuilder "ASH" has had a total of 6

Appts
Set
("Y"),
I'd like to put a count in the corresponding YTD Appts cell.

Here's
how
far
I've gotten, and yes, I'm aware it's very flawed as I can only

figure out
how
to count ALL of the "Y"'s and not just the ones for that builder

("ASH").
lol Can you help?

=COUNTIF(LEADS!C2:C599,'BLDR LEAD RPT'!A4) -

COUNTIF(LEADS!Y2:Y599,"N")










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
using countif function to add only a half of a number ryanjh79 Excel Discussion (Misc queries) 9 April 26th 23 04:42 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 01:26 AM
Countif Function -Nested Angi Excel Discussion (Misc queries) 7 May 4th 05 08:04 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 11:31 AM
How do I use COUNTIF in a SUBTOTAL function to differentiate the . Lettie Excel Worksheet Functions 6 March 22nd 05 09:47 AM


All times are GMT +1. The time now is 04:16 AM.

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"