Find Interval Number Based On Adjacent Cell

Well-known Member
hi guys..

i'm looking for excel formula to find the interval number based on adjacent column (in left)
like table below :

data given
data given4
data entrycumulative sumexpected result (interval)
999-13
131314-17
151718-21
232122-25
3425etc..

<tbody>
</tbody>

any help, much appreciated..

m.susanto

Last edited:

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

AliGW

Banned
Explain the results, please - how are you calculating them?

gaz_chops

Well-known Member
Not sure! Try

=B3+1&"-"&B4

Code:
``````[/COLOR][/FONT][/COLOR]
[TABLE="width: 325"]
<colgroup><col span="5"></colgroup><tbody>[TR]
[TD]data entry[/TD]
[TD]cumulative sum[/TD]
[TD="colspan: 2"]expected result (interval)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]Sep-13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]13[/TD]
[TD]14-17[/TD]
[TD][/TD]
[TD]14-17[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]17[/TD]
[TD]18-21[/TD]
[TD][/TD]
[TD]18-21[/TD]
[/TR]
[TR]
[TD="align: right"]23[/TD]
[TD="align: right"]21[/TD]
[TD]22-25[/TD]
[TD][/TD]
[TD]22-25[/TD]
[/TR]
[TR]
[TD="align: right"]34[/TD]
[TD="align: right"]25[/TD]
[TD]etc..[/TD]
[TD][/TD]
[TD]26-[/TD]
[/TR]
</tbody>[/TABLE]
[COLOR=#000000][FONT=Lucida Grande][COLOR=#006107]``````

Well-known Member
Not sure! Try

=B3+1&"-"&B4

Code:
``````[TABLE="width: 325"]
<tbody>[TR]
[TD]data entry[/TD]
[TD]cumulative sum[/TD]
[TD="colspan: 2"]expected result (interval)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]Sep-13
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]13[/TD]
[TD]14-17[/TD]
[TD][/TD]
[TD]14-17[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]17[/TD]
[TD]18-21[/TD]
[TD][/TD]
[TD]18-21[/TD]
[/TR]
[TR]
[TD="align: right"]23[/TD]
[TD="align: right"]21[/TD]
[TD]22-25[/TD]
[TD][/TD]
[TD]22-25[/TD]
[/TR]
[TR]
[TD="align: right"]34[/TD]
[TD="align: right"]25[/TD]
[TD]etc..[/TD]
[TD][/TD]
[TD]26-[/TD]
[/TR]
</tbody>[/TABLE]``````

not fully working in start lowest number the should be still 9-13 the next is ok from 14-17....
sorry i'm typo in 9 number

Last edited:

AliGW

Well-known Member
sorry, my interval is 4 start from 9.
first target should be :
9-13
14-18
19-23
etc....

AliGW

Banned
OK - that makes sense, but to me, your expected results don't. How have you arrived at those, please?

gaz_chops

Well-known Member
Yes, doesn't seem consistant.

Well-known Member
hi Gaz, have you great idea, i need your help...

AliGW

Banned
Gaz and I need your answers to my questions if either of us is going to be able to help. Your data is inconsistent.

Replies
18
Views
769
Replies
12
Views
770
Replies
8
Views
235
Replies
15
Views
544
Replies
9
Views
413

1,195,953
Messages
6,012,511
Members
441,703
Latest member
clivelincoln

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.

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

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