The whole problem is discribed in the file along with an example.
Omit certain cells.xlsx
The whole problem is discribed in the file along with an example.
Omit certain cells.xlsx
Last edited by Steffen_DK; 02-07-2012 at 06:46 PM.
Bump no response
Not to clear as to what you are aiming for.
Try this in M3
Drag Across to Column Q, then down as required.![]()
=COUNTIF(INDEX(A:A,$J$2,1):INDEX(INDEX(A:A,$J$2,1):INDEX(A:A,$J$3,1),MATCH(99^99,INDEX(A:A,$J$2,1):INDEX(A:A,$J$3,1),1)-1,1),$L3)
Does that do as you wish?
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
It's almost perfect.
Except, when choosing Endrow=40, the last numbers in each column should be included: 8, 2, 9, 10 and 4. As long as Endrow is on or beyond an #N/A, the number preceeding that cell should be included.
Or if Endrow= 38, then 8, 2 and 9 (from A, B, C) should be included, but not 10 and 4 (from D, E)
Though if this is much complicated, I think it will be possible to change all my #N/A to 0s, that seems to do the trick too. However I'll have to change the function that creates the "Source" values.
Or maybe try this
[Edit]![]()
=COUNTIF(INDEX(A:A,$J$2,1):INDEX(INDEX(A:A,$J$2,1):INDEX(A:A,$J$3,1),MAX(MATCH(99^99,INDEX(A:A,$J$2,1):INDEX(A:A,$J$3,1),1),MATCH(REPT("z",255),INDEX(A:A,$J$2,1):INDEX(A:A,$J$3,1),1))-1,1),$L3)
On second thoughts, that won't work.
Easiest to return 0 (zero) instead of #N/A if you can.
Last edited by Marcol; 02-07-2012 at 11:17 AM.
Ok, I added
to all the source formulas. Took my pc 8 minutes for the 41000 cells, but it was well worth it, and getting rid of the N/A also helped on some other formulas that had trouble with those![]()
IFERROR(... ;0)
Thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks