Apply formula to an entire column

aerybritney

New Member
Joined
Oct 24, 2014
Messages
2
This is the formula list :

PV001/10/14
PV002/10/14
PV003/10/14

<tbody>
</tbody>

The next sequence should be PV004/10/14. Currently, when i drag, the number will turn up PV003/10/15 instead of PV004/10/14.

Is there any specific formula for the above - for me just to drag down the box and fill up the column?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Put your starting value (PV001/10/14) in the first cell (assumed to be A1), then...

If your first two letters will always be "PV" and the last 6 characters will always be "/10/14" whenever and wherever you have need to increment it, then put this formula in A2 and copy down...

=TEXT(MID(A1,3,3)+1,"PV000""/10/14""")

If, on the other hand, in different uses, the first two, and/or the last six, characters might be different in some other location where you need to increment that "shaped" value (for example, maybe the next time you have to increment something like this, starting value is different, like XZ001/99/88 for example, then use this formula instea...

=LEFT(A1,2)&TEXT(MID(A1,3,3)+1,"000")&MID(A1,6,6)
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,607
Members
449,090
Latest member
vivek chauhan

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