Count upcoming value to start value

aqeelnokia99

Board Regular
Joined
Dec 23, 2018
Messages
145
Office Version
  1. 2013
Platform
  1. Windows
hi all i need help i want to count reltve cell to upcoming cell vale how much cell have see result colom
[TABLE="width: 214"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="align: center"]ITEM NO[/TD]
[TD="align: center"]Result I want[/TD]
[/TR]
[TR]
[TD="align: center"]66[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]34[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]22[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]44[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]22[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]66[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]44[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Re: how to count upcoming value to start value

Yes its similar but i try to make another formula above link that u send me becuse i set 2 formula and if both formula give me same result then i send my data to oracel form so thats y i need count result to make second result
 
Upvote 0
Re: how to count upcoming value to start value

Now that you know what an Array Formula is ...

You can have in cell B2 :

Code:
=IF(A2=0,"",MATCH(TRUE,(A3:$A$16)>0,0))

HTH
 
Upvote 0
Re: how to count upcoming value to start value

Hi James006,
this formula is not working in last qty count. could you please tell me any error in it?
in A15 count 2 but not working.
Thanks.
 
Upvote 0
Re: how to count upcoming value to start value

Hello,

The last value is not calculated because there is no integer in cell A17 ...

Below is a quick fix :

Code:
=IFERROR(IF(A2=0,"",MATCH(TRUE,(A3:$A$16)>0,0)),SUMPRODUCT(MAX((ROW($A$1:$A$50))*($A$1:$A$50<>"")))-ROW()+1)

HTH
 
Upvote 0
Re: how to count upcoming value to start value

You are welcome ...
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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