Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Referencing a cell with Countif

Hi. I am trying to reference cell O7 in this countif function.

=COUNTIF(O8:O50000,-"<&O&7")

Can anyone help me with this one? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Referencing a cell with Countif

I guess your criteria is supposed to mean less than O7?

Try it like this:

=COUNTIF(O8:O50000,"<"&O7)


--
Biff
Microsoft Excel MVP


"rhhince" wrote in message
...
Hi. I am trying to reference cell O7 in this countif function.

=COUNTIF(O8:O50000,-"<&O&7")

Can anyone help me with this one? Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Referencing a cell with Countif

=COUNTIF(O8:O50000,"<" & O7)

--
Gary''s Student - gsnu2007k


"rhhince" wrote:

Hi. I am trying to reference cell O7 in this countif function.

=COUNTIF(O8:O50000,-"<&O&7")

Can anyone help me with this one? Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Referencing a cell with Countif

Hi,

I'm not sure what the minus sign was for, try this

=COUNTIF(O8:O50000,"<"&O7)

Mike

"rhhince" wrote:

Hi. I am trying to reference cell O7 in this countif function.

=COUNTIF(O8:O50000,-"<&O&7")

Can anyone help me with this one? Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Referencing a cell with Countif

And if the minus sign was a typo, then perhaps this is what you want...

=COUNTIF(O8:O50000,O7)

Note: It is always useful to include descriptive text as to what you are
trying to do rather than let a non-working formula try to convey it.

--
Rick (MVP - Excel)


"rhhince" wrote in message
...
Hi. I am trying to reference cell O7 in this countif function.

=COUNTIF(O8:O50000,-"<&O&7")

Can anyone help me with this one? Thanks.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Referencing a cell with Countif

What worked was this:
=COUNTIF(O8:O50000,""&O7) and for counting negative numbers
=COUNTIF(O8:O50000,"<"&-O7)

Thanx for the help.



On Jan 14, 2:17*pm, "T. Valko" wrote:
I guess your criteria is supposed to mean less than O7?

Try it like this:

=COUNTIF(O8:O50000,"<"&O7)

--
Biff
Microsoft Excel MVP

"rhhince" wrote in message

...

Hi. I am trying to reference cell O7 in this countif function.


=COUNTIF(O8:O50000,-"<&O&7")


Can anyone help me with this one? Thanks.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Referencing a cell with Countif

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"rhhince" wrote in message
...
What worked was this:
=COUNTIF(O8:O50000,""&O7) and for counting negative numbers
=COUNTIF(O8:O50000,"<"&-O7)

Thanx for the help.



On Jan 14, 2:17 pm, "T. Valko" wrote:
I guess your criteria is supposed to mean less than O7?

Try it like this:

=COUNTIF(O8:O50000,"<"&O7)

--
Biff
Microsoft Excel MVP

"rhhince" wrote in message

...

Hi. I am trying to reference cell O7 in this countif function.


=COUNTIF(O8:O50000,-"<&O&7")


Can anyone help me with this one? Thanks.



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
CountIf cell referencing Chris S. Excel Worksheet Functions 1 August 21st 08 08:02 PM
Countif referencing another WB John Excel Discussion (Misc queries) 1 November 23rd 06 01:23 PM
COUNTIF using # ranges, and referencing 2 other columns crafty_girl Excel Worksheet Functions 0 April 27th 06 07:23 PM
CountIF() in Worksheet B while referencing cells in Worksheet A jfj3rd Excel Worksheet Functions 3 April 14th 06 11:24 PM
Referencing previous column in COUNTIF [email protected] Excel Discussion (Misc queries) 6 March 1st 05 10:27 AM


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