Automatic Serial Number before Text in a Cell

arijitirf

Board Regular
Joined
Aug 11, 2016
Messages
118
Office Version
  1. 2016
Platform
  1. Windows
Hi!
In Column D, data of Column F:O flows through Text Join skipping Blank cell. I want a formula that generates auto incremental serial number (1, 2, 3, 4 and so on).

Let's assume,

Data in Column
F as "Rameshwaram"
G as "Somenath"
H as "Kedarnath"
I as " "
J as "Baidyanath"
K as " "
L as " "
M as "Kashi Viswanath"
N as "Trimbakeshwar"
O as "Mahakaleshwar"

Then data in Column D will be
1. '"Rameshwaram"'
2. "Somenath"
3. "Kedarnath"
4. "Baidyanath"
5. "Kashi Viswanath"
6. "Trimbakeshwar"
7. "Mahakaleshwar"

Is there any way to do that. I have come across a excellent formula in this forum which can do the same for Row however, the same is not useful for me.

Thanks in advance
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi,

Which version of XL are you using?
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using in the future.
 
Upvote 0
I don't see an easy way to do it in 2016. Here's a minisheet for someone that can assist you further.

Book1
BCDEFGHIJKLMNOP
11. RameshwaramRameshwaramSomenathKedarnathBaidyanathKashi ViswanathTrimbakeshwarMahakaleshwar
22. Somenath
33. Kedarnath
44. Baidyanath
55. Kashi Viswanath
66. Trimbakeshwar
77. Mahakaleshwar
8
Sheet2
 
Upvote 0
Are you open to VBA or strictly formula only?
 
Upvote 0
I don't see an easy way to do it in 2016. Here's a minisheet for someone that can assist you further.

Book1
BCDEFGHIJKLMNOP
11. RameshwaramRameshwaramSomenathKedarnathBaidyanathKashi ViswanathTrimbakeshwarMahakaleshwar
22. Somenath
33. Kedarnath
44. Baidyanath
55. Kashi Viswanath
66. Trimbakeshwar
77. Mahakaleshwar
8
Sheet2
Thank you for the Mini Sheet. Only thing is the data will flow in Column D1 for Data in between Column F1:O1.
 
Upvote 0
You mean everything in cell D1? like this?

Book1
BCDEFGHIJKLMNOPQ
11. Rameshwaram 2. Somenath 3. Kedarnath 4. Baidyanath 5. Kashi Viswanath 6. Trimbakeshwar 7. MahakaleshwarRameshwaramSomenathKedarnathBaidyanathKashi ViswanathTrimbakeshwarMahakaleshwar
2
3
4
Sheet2
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,150
Members
453,021
Latest member
Justyna P

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