slapcity

New Member
Joined
Jun 26, 2017
Messages
2
Hi there,

I have a searched through the forums, and may be searching via the wrong words, but am having challenges putting together probably a relatively simple formula.

I need Excel to automatically update a numbered column when a cell may be deleted or changed to alternative text, for example:

2017-129
2017-130
2017-131

If 2017-130 was adjusted Excel would automatically update:

2017-129
blank
2017-130

I believe I have created a formula system to do just this, however, I cannot figure out how to add in the "2017" so it does not change. Here are the formulas I have set up for the dynamic counting:

Formula 1: =IF(B450>0,129,"")
Formula 2: =IF(B451>0,MAX(A$450:A450)+1,"")

Any help or suggestions would be greatly appreciated!
 

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.
You *could* highlight column A, press Ctrl+1, select the Number tab and use a custom format:

"2017-"0

WBD
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,846
Members
449,194
Latest member
HellScout

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