Formula Help ?

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
Office Version
  1. 365
Platform
  1. Windows
Hi

What i am trying to do is type the first number in Column E where the yellow is and drag it down. If the number dupes in Column D like you can see the 3 and 6 and others. I need the number to stay the same before it changes and goes higher. The number in E2 will always be different every time I do it and scroll down.

Was thinking either a formula starting below cell E2 at E3 so it knows the number to start above it at E2 or maybe a small macro pop up box and enter the number 7500 and it scrolls down to do what I am trying to do

Any help

Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
D
[/th][th]
E
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
1
[/td][td]Id[/td][td]number[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
2
[/td][td]
23​
[/td][td=bgcolor:#FFFF00]
7500​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
3
[/td][td]
24​
[/td][td]
7501​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
4
[/td][td]
26​
[/td][td]
7502​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
5
[/td][td]
2​
[/td][td]
7503​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
6
[/td][td]
3​
[/td][td]
7504​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
7
[/td][td]
3​
[/td][td]
7504​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
8
[/td][td]
6​
[/td][td]
7505​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
9
[/td][td]
6​
[/td][td]
7505​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
10
[/td][td]
2​
[/td][td]
7506​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
11
[/td][td]
1​
[/td][td]
7507​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
12
[/td][td]
1​
[/td][td]
7507​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
13
[/td][td]
5​
[/td][td]
7508​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
14
[/td][td]
5​
[/td][td]
7508​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
15
[/td][td]
6​
[/td][td]
7509​
[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
16
[/td][td]
6​
[/td][td]
7509​
[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Sheet1[/td][/tr][/table]
 
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi,

Formula in E2 copied down.


Book1
DE
1Idnumber
2237500
3247501
4267502
527503
637504
737504
867505
967505
1027506
1117507
1217507
1357508
1457508
1567509
1667509
Sheet334
Cell Formulas
RangeFormula
E3=IF(D3=D2,E2,E2+1)
 
Upvote 0
Works thanks for the reply and help. This helps alot
 
Upvote 0
You're welcome, and I guess you realize my typo,
Formula in E2 copied down.

I meant in E3 copied down.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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