PC Review


Reply
Thread Tools Rate Thread

COUNTIF not working w/ cells result of SUM and VLOOKUP

 
 
=?Utf-8?B?VmV0dFJhY2Vy?=
Guest
Posts: n/a
 
      21st Jun 2007
I have a column which I am trying to get the number of occurrances of "9" for
example. The "9" is a formula of two functions 1) VLOOKUP in another column
and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work on either
of these columns. I think it doesn't like SUM because it is a result of
VLOOKUP columns.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      21st Jun 2007
What is (are) your formula(e)?

"VettRacer" wrote:

> I have a column which I am trying to get the number of occurrances of "9" for
> example. The "9" is a formula of two functions 1) VLOOKUP in another column
> and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work on either
> of these columns. I think it doesn't like SUM because it is a result of
> VLOOKUP columns.

 
Reply With Quote
 
=?Utf-8?B?VmV0dFJhY2Vy?=
Guest
Posts: n/a
 
      21st Jun 2007
=SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar formulas

=VLOOKUP(O51,$V$7:$W$18,2)

"Toppers" wrote:

> What is (are) your formula(e)?
>
> "VettRacer" wrote:
>
> > I have a column which I am trying to get the number of occurrances of "9" for
> > example. The "9" is a formula of two functions 1) VLOOKUP in another column
> > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work on either
> > of these columns. I think it doesn't like SUM because it is a result of
> > VLOOKUP columns.

 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      21st Jun 2007
Shouldn't you post the formula that didn't work?


--
Regards,

Peo Sjoblom



"VettRacer" <(E-Mail Removed)> wrote in message
news:F13DAAB2-EFFE-4E3E-944A-(E-Mail Removed)...
> =SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar formulas
>
> =VLOOKUP(O51,$V$7:$W$18,2)
>
> "Toppers" wrote:
>
>> What is (are) your formula(e)?
>>
>> "VettRacer" wrote:
>>
>> > I have a column which I am trying to get the number of occurrances of
>> > "9" for
>> > example. The "9" is a formula of two functions 1) VLOOKUP in another
>> > column
>> > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work on
>> > either
>> > of these columns. I think it doesn't like SUM because it is a result
>> > of
>> > VLOOKUP columns.



 
Reply With Quote
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      21st Jun 2007
When you say COUNTIF doesn't work, what results do you get? And your COUNTIF
formula is ..?

The fact the a value is derived from a formula shouldn't make any
difference? Do you always have valid values in the column(s) you are checking?

"VettRacer" wrote:

> =SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar formulas
>
> =VLOOKUP(O51,$V$7:$W$18,2)
>
> "Toppers" wrote:
>
> > What is (are) your formula(e)?
> >
> > "VettRacer" wrote:
> >
> > > I have a column which I am trying to get the number of occurrances of "9" for
> > > example. The "9" is a formula of two functions 1) VLOOKUP in another column
> > > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work on either
> > > of these columns. I think it doesn't like SUM because it is a result of
> > > VLOOKUP columns.

 
Reply With Quote
 
=?Utf-8?B?VmV0dFJhY2Vy?=
Guest
Posts: n/a
 
      21st Jun 2007
=COUNTIF(Q51:Q56,9)
"Peo Sjoblom" wrote:

> Shouldn't you post the formula that didn't work?
>
>
> --
> Regards,
>
> Peo Sjoblom
>
>
>
> "VettRacer" <(E-Mail Removed)> wrote in message
> news:F13DAAB2-EFFE-4E3E-944A-(E-Mail Removed)...
> > =SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar formulas
> >
> > =VLOOKUP(O51,$V$7:$W$18,2)
> >
> > "Toppers" wrote:
> >
> >> What is (are) your formula(e)?
> >>
> >> "VettRacer" wrote:
> >>
> >> > I have a column which I am trying to get the number of occurrances of
> >> > "9" for
> >> > example. The "9" is a formula of two functions 1) VLOOKUP in another
> >> > column
> >> > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work on
> >> > either
> >> > of these columns. I think it doesn't like SUM because it is a result
> >> > of
> >> > VLOOKUP columns.

>
>
>

 
Reply With Quote
 
=?Utf-8?B?VmV0dFJhY2Vy?=
Guest
Posts: n/a
 
      21st Jun 2007
Sorry--here's the formula.
=COUNTIF('OPRS Conv Tracker'!Q51:Q200,9)
Which refers to the SUM formula mentioned which that refers to the VLOOKUP.
Even when I've changed it so it doesn't reference a another worksheet, it
still doesn't work.

"Toppers" wrote:

> When you say COUNTIF doesn't work, what results do you get? And your COUNTIF
> formula is ..?
>
> The fact the a value is derived from a formula shouldn't make any
> difference? Do you always have valid values in the column(s) you are checking?
>
> "VettRacer" wrote:
>
> > =SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar formulas
> >
> > =VLOOKUP(O51,$V$7:$W$18,2)
> >
> > "Toppers" wrote:
> >
> > > What is (are) your formula(e)?
> > >
> > > "VettRacer" wrote:
> > >
> > > > I have a column which I am trying to get the number of occurrances of "9" for
> > > > example. The "9" is a formula of two functions 1) VLOOKUP in another column
> > > > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work on either
> > > > of these columns. I think it doesn't like SUM because it is a result of
> > > > VLOOKUP columns.

 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      21st Jun 2007
When you say it is not working, do you mean you get an unexpected result or
do you get an error message?


--
Regards,

Peo Sjoblom


"VettRacer" <(E-Mail Removed)> wrote in message
news:2CC46E59-D2F9-40C6-B5C1-(E-Mail Removed)...
> Sorry--here's the formula.
> =COUNTIF('OPRS Conv Tracker'!Q51:Q200,9)
> Which refers to the SUM formula mentioned which that refers to the
> VLOOKUP.
> Even when I've changed it so it doesn't reference a another worksheet, it
> still doesn't work.
>
> "Toppers" wrote:
>
>> When you say COUNTIF doesn't work, what results do you get? And your
>> COUNTIF
>> formula is ..?
>>
>> The fact the a value is derived from a formula shouldn't make any
>> difference? Do you always have valid values in the column(s) you are
>> checking?
>>
>> "VettRacer" wrote:
>>
>> > =SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar
>> > formulas
>> >
>> > =VLOOKUP(O51,$V$7:$W$18,2)
>> >
>> > "Toppers" wrote:
>> >
>> > > What is (are) your formula(e)?
>> > >
>> > > "VettRacer" wrote:
>> > >
>> > > > I have a column which I am trying to get the number of occurrances
>> > > > of "9" for
>> > > > example. The "9" is a formula of two functions 1) VLOOKUP in
>> > > > another column
>> > > > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work
>> > > > on either
>> > > > of these columns. I think it doesn't like SUM because it is a
>> > > > result of
>> > > > VLOOKUP columns.



 
Reply With Quote
 
=?Utf-8?B?VmV0dFJhY2Vy?=
Guest
Posts: n/a
 
      21st Jun 2007
I get an unexpected result: an incorrect number.

"Peo Sjoblom" wrote:

> When you say it is not working, do you mean you get an unexpected result or
> do you get an error message?
>
>
> --
> Regards,
>
> Peo Sjoblom
>
>
> "VettRacer" <(E-Mail Removed)> wrote in message
> news:2CC46E59-D2F9-40C6-B5C1-(E-Mail Removed)...
> > Sorry--here's the formula.
> > =COUNTIF('OPRS Conv Tracker'!Q51:Q200,9)
> > Which refers to the SUM formula mentioned which that refers to the
> > VLOOKUP.
> > Even when I've changed it so it doesn't reference a another worksheet, it
> > still doesn't work.
> >
> > "Toppers" wrote:
> >
> >> When you say COUNTIF doesn't work, what results do you get? And your
> >> COUNTIF
> >> formula is ..?
> >>
> >> The fact the a value is derived from a formula shouldn't make any
> >> difference? Do you always have valid values in the column(s) you are
> >> checking?
> >>
> >> "VettRacer" wrote:
> >>
> >> > =SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar
> >> > formulas
> >> >
> >> > =VLOOKUP(O51,$V$7:$W$18,2)
> >> >
> >> > "Toppers" wrote:
> >> >
> >> > > What is (are) your formula(e)?
> >> > >
> >> > > "VettRacer" wrote:
> >> > >
> >> > > > I have a column which I am trying to get the number of occurrances
> >> > > > of "9" for
> >> > > > example. The "9" is a formula of two functions 1) VLOOKUP in
> >> > > > another column
> >> > > > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to work
> >> > > > on either
> >> > > > of these columns. I think it doesn't like SUM because it is a
> >> > > > result of
> >> > > > VLOOKUP columns.

>
>
>

 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      21st Jun 2007
Does it work if you use the column/range where the VLOOKUP pulls from?

My guess is that you somehow are not using the correct sheet/range or that
the values are not integers but that they have decimals as well

You can also try


=COUNTIF('OPRS Conv Tracker'!Q51:Q200,"*9*")

Shouldn't really matter and this is just to test if you will get anything at
all..


Try this, select part of the range that you know has a 9, copy it to a new
sheet and paste special as values, wide the column if necessary and if you
see things like

9,000000001

then that is the reason, if so you might want to use round in the
vlookup/sum formulas

You can also try it in the new sheet, if you paste then as values into
A1:A100 or something use

=COUNTIF(A1:A100,9)

--
Regards,

Peo Sjoblom






"VettRacer" <(E-Mail Removed)> wrote in message
news:ED965B92-D8D5-4FE4-9A19-(E-Mail Removed)...
>I get an unexpected result: an incorrect number.
>
> "Peo Sjoblom" wrote:
>
>> When you say it is not working, do you mean you get an unexpected result
>> or
>> do you get an error message?
>>
>>
>> --
>> Regards,
>>
>> Peo Sjoblom
>>
>>
>> "VettRacer" <(E-Mail Removed)> wrote in message
>> news:2CC46E59-D2F9-40C6-B5C1-(E-Mail Removed)...
>> > Sorry--here's the formula.
>> > =COUNTIF('OPRS Conv Tracker'!Q51:Q200,9)
>> > Which refers to the SUM formula mentioned which that refers to the
>> > VLOOKUP.
>> > Even when I've changed it so it doesn't reference a another worksheet,
>> > it
>> > still doesn't work.
>> >
>> > "Toppers" wrote:
>> >
>> >> When you say COUNTIF doesn't work, what results do you get? And your
>> >> COUNTIF
>> >> formula is ..?
>> >>
>> >> The fact the a value is derived from a formula shouldn't make any
>> >> difference? Do you always have valid values in the column(s) you are
>> >> checking?
>> >>
>> >> "VettRacer" wrote:
>> >>
>> >> > =SUM(G51+J51+L51+N51+P51)/5 this is a result of various similar
>> >> > formulas
>> >> >
>> >> > =VLOOKUP(O51,$V$7:$W$18,2)
>> >> >
>> >> > "Toppers" wrote:
>> >> >
>> >> > > What is (are) your formula(e)?
>> >> > >
>> >> > > "VettRacer" wrote:
>> >> > >
>> >> > > > I have a column which I am trying to get the number of
>> >> > > > occurrances
>> >> > > > of "9" for
>> >> > > > example. The "9" is a formula of two functions 1) VLOOKUP in
>> >> > > > another column
>> >> > > > and 2) SUM of various VLOOKUP columns. I can't get COUNTIF to
>> >> > > > work
>> >> > > > on either
>> >> > > > of these columns. I think it doesn't like SUM because it is a
>> >> > > > result of
>> >> > > > VLOOKUP columns.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Countif Not Working! It misses some cells. Kiwi Berg Windows XP 1 23rd Dec 2008 04:37 AM
Vlookup in vlookup - taking the result as array name =?Utf-8?B?U3VwcGVyRHVjaw==?= Microsoft Excel Worksheet Functions 2 2nd Jun 2007 11:05 AM
vlookup shows result one cell above the expected result =?Utf-8?B?bWFyaWU=?= Microsoft Excel Worksheet Functions 7 14th Nov 2006 02:52 AM
Getting the ROW of a COUNTIF result? LR Microsoft Excel Discussion 2 16th Apr 2006 07:45 PM
vlookup based on random result returns incorrect result =?Utf-8?B?cmlja2F0?= Microsoft Excel Worksheet Functions 1 6th Dec 2005 01:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:01 PM.