Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default help with formula range

i try to add formula of "count if". the range is not from cell x to cell y,
but it is cell x, cell z & cell M, which are not sequential.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default help with formula range

=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not a range.

"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to cell y,
but it is cell x, cell z & cell M, which are not sequential.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default help with formula range

thanks

"Joel" wrote:

=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not a range.

"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to cell y,
but it is cell x, cell z & cell M, which are not sequential.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default help with formula range

Joel,

Have you tried that formula putting a value of 3 in one or more of the
intervening cells, such as N12 and/or Y12?
Colons are used for ranges.
--
David Biddulph

"Joel" wrote in message
...
=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not a
range.


"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to cell
y,
but it is cell x, cell z & cell M, which are not sequential.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default help with formula range

This is fully tested. I made sure it was not including the cells in between.
I put data in columns A - E and then included only columns A, C, E and it
did not include b and c in the sum. Why don't you try it.

"David Biddulph" wrote:

Joel,

Have you tried that formula putting a value of 3 in one or more of the
intervening cells, such as N12 and/or Y12?
Colons are used for ranges.
--
David Biddulph

"Joel" wrote in message
...
=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not a
range.


"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to cell
y,
but it is cell x, cell z & cell M, which are not sequential.







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default help with formula range

I tried exactly the formula you quoted:
=COUNTIF((x12):(z12):(m12),3)

With X12, Z12, and M12 blank, putting a 3 in N12 gave a result of 1, and
also putting a 3 in Y12 increased the count to 2.

Clicking on the fx button next to the formula bar shows the 3 from N12 among
the long string of zeroes, making it clear that the range includes more than
just the 3 cells..

Hence my question to you.
--
David Biddulph

"Joel" wrote in message
...
This is fully tested. I made sure it was not including the cells in
between.
I put data in columns A - E and then included only columns A, C, E and it
did not include b and c in the sum. Why don't you try it.


"David Biddulph" wrote:

Joel,

Have you tried that formula putting a value of 3 in one or more of the
intervening cells, such as N12 and/or Y12?
Colons are used for ranges.


"Joel" wrote in message
...
=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not a
range.


"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to
cell
y,
but it is cell x, cell z & cell M, which are not sequential.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default help with formula range

I'm working with 2003.

"David Biddulph" wrote:

I tried exactly the formula you quoted:
=COUNTIF((x12):(z12):(m12),3)

With X12, Z12, and M12 blank, putting a 3 in N12 gave a result of 1, and
also putting a 3 in Y12 increased the count to 2.

Clicking on the fx button next to the formula bar shows the 3 from N12 among
the long string of zeroes, making it clear that the range includes more than
just the 3 cells..

Hence my question to you.
--
David Biddulph

"Joel" wrote in message
...
This is fully tested. I made sure it was not including the cells in
between.
I put data in columns A - E and then included only columns A, C, E and it
did not include b and c in the sum. Why don't you try it.


"David Biddulph" wrote:

Joel,

Have you tried that formula putting a value of 3 in one or more of the
intervening cells, such as N12 and/or Y12?
Colons are used for ranges.


"Joel" wrote in message
...
=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not a
range.


"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to
cell
y,
but it is cell x, cell z & cell M, which are not sequential.




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default help with formula range

Joel,

Your formula also works in XL97 plus the fx button shows the whole range
including the intermediate values as David says but it only counts, (or sums
if you use SUMIF()), the referenced cells not the intermediate ones.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Joel" wrote in message
...
I'm working with 2003.

"David Biddulph" wrote:

I tried exactly the formula you quoted:
=COUNTIF((x12):(z12):(m12),3)

With X12, Z12, and M12 blank, putting a 3 in N12 gave a result of 1, and
also putting a 3 in Y12 increased the count to 2.

Clicking on the fx button next to the formula bar shows the 3 from N12
among
the long string of zeroes, making it clear that the range includes more
than
just the 3 cells..

Hence my question to you.
--
David Biddulph

"Joel" wrote in message
...
This is fully tested. I made sure it was not including the cells in
between.
I put data in columns A - E and then included only columns A, C, E and
it
did not include b and c in the sum. Why don't you try it.


"David Biddulph" wrote:

Joel,

Have you tried that formula putting a value of 3 in one or more of the
intervening cells, such as N12 and/or Y12?
Colons are used for ranges.


"Joel" wrote in message
...
=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not
a
range.


"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to
cell
y,
but it is cell x, cell z & cell M, which are not sequential.







  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default help with formula range

Ditto (11.8146.8132).
It'll be interesting to hear whether other folk get the same results as I
do, or the same as yours.

My Windows Regional Settings are English (UK), but I don't know whether
that's likely to have any effect.
--
David Biddulph

"Joel" wrote in message
...
I'm working with 2003.


"David Biddulph" wrote:

I tried exactly the formula you quoted:
=COUNTIF((x12):(z12):(m12),3)

With X12, Z12, and M12 blank, putting a 3 in N12 gave a result of 1, and
also putting a 3 in Y12 increased the count to 2.

Clicking on the fx button next to the formula bar shows the 3 from N12
among
the long string of zeroes, making it clear that the range includes more
than
just the 3 cells..

Hence my question to you.


"Joel" wrote in message
...
This is fully tested. I made sure it was not including the cells in
between.
I put data in columns A - E and then included only columns A, C, E and
it
did not include b and c in the sum. Why don't you try it.


"David Biddulph" wrote:

Joel,

Have you tried that formula putting a value of 3 in one or more of the
intervening cells, such as N12 and/or Y12?
Colons are used for ranges.


"Joel" wrote in message
...
=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not
a
range.


"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to
cell
y,
but it is cell x, cell z & cell M, which are not sequential.



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default help with formula range

Joel,

Your formula doesn't work on my machine with XL97. I get the same answere
with David Biddulph. To me your formula is not a "bullet proof" and won't
work on all machines.


"Joel" wrote:

This is fully tested. I made sure it was not including the cells in between.
I put data in columns A - E and then included only columns A, C, E and it
did not include b and c in the sum. Why don't you try it.

"David Biddulph" wrote:

Joel,

Have you tried that formula putting a value of 3 in one or more of the
intervening cells, such as N12 and/or Y12?
Colons are used for ranges.
--
David Biddulph

"Joel" wrote in message
...
=COUNTIF((x12):(z12):(m12),3)

Adding the parethesis and colons make them individual cells and not a
range.


"Carmit" wrote:

i try to add formula of "count if". the range is not from cell x to cell
y,
but it is cell x, cell z & cell M, which are not sequential.





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
formula range ADK Excel Worksheet Functions 5 June 15th 07 06:46 PM
conditional formula: sum a range if text present in another range NeedAdvice777 Excel Discussion (Misc queries) 10 August 29th 06 04:51 PM
formula to sort a range so that it matches the exact rows of a column that is outside that range? steveo Excel Discussion (Misc queries) 1 June 18th 06 02:05 AM
Formula for a new range..... mrmagoo Excel Discussion (Misc queries) 1 June 8th 06 11:04 PM
Sum Formula that excludes other sum formula in range Andy Excel Worksheet Functions 1 March 1st 06 08:26 PM


All times are GMT +1. The time now is 07:35 AM.

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"