Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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. |
#9
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
formula range | Excel Worksheet Functions | |||
conditional formula: sum a range if text present in another range | Excel Discussion (Misc queries) | |||
formula to sort a range so that it matches the exact rows of a column that is outside that range? | Excel Discussion (Misc queries) | |||
Formula for a new range..... | Excel Discussion (Misc queries) | |||
Sum Formula that excludes other sum formula in range | Excel Worksheet Functions |