sumproducts but only last 50 data points

dmheller

Board Regular
Joined
May 26, 2017
Messages
156
Office Version
  1. 365
All,
I have a data set were i do a sum product
=SUMPRODUCT(--ISTEXT(F9:F15249))-COUNTBLANK(F9:F15249)
the column has numbers all down it and sometimes it says null
null is what i am looking for here thats what i am counting.
the data set moves abd currently the last number or null value is at 4989
after that from 4989 to 15249 it is #N/A
I am looking to modify this equation to find the last null or number then count the number of nulls in the last 300 data points. So in this case, number of null from 4989 to 4690. Please let me know if this is do able.
thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
The last number ( 0 also being one) can be referenced with INDEX(F:F,MATCH(9.999999e307,F:F,0))
The last 300 would then be referenced as (INDEX(F:F,(MATCH(9.999999e307,F:F,0)-299)):INDEX(F:F,MATCH(9.999999e307,F:F,0)))
 
Last edited:
Upvote 0
Thnaks but i have 2 questions,
With there being a potential 1000 cells below the last "null" or number, will this work.
2nd question, were would this go in the equation so that it counts the nulls in the last 300 good data points?
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top